Project

General

Profile

Support #819

Updated by Daniel Curtis over 8 years ago

I recently put Debian 8 on an old G4, and the currently packaged owncloud-client (version 1.7) does not work with my more up to date version of ownCloud 9. 

 Unfortunately the package repository used by owncloud to distribute more up to date versions of the owncloud-client does not include a powerpc binary. 

 So my solution was to build the up to date client from source. 

 h2. Install ownCloud Client From Source 

 * Install a few build dependencies: 
 <pre> 
 sudo apt-get build-dep owncloud-client 
 sudo apt-get install git libqt5webkit5-dev qttools-dev qttools5-dev-tools 
 </pre> 

 * Make a git directory: 
 <pre> 
 mkdir ~/git && cd ~/git 
 </pre> 

 * Clone the latest versions of the client: 
 <pre> 
 git clone git://github.com/owncloud/client.git 
 cd client 
 git submodule init 
 git submodule update 
 </pre> 

 * Create the build directory: 
 <pre> 
 mkdir client-build && cd client-build 
 </pre> 

 * Configure the client build: 
 <pre> 
 cmake -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_INSTALL_PREFIX=/usr .. ../client 
 </pre> 

 * Make the binary package: binary: 
 <pre> 
 cpack -G DEB .. make 
 </pre> 

 * Install the client to the /usr/local/bin directory: 
 <pre> 
 make install 
 </pre> 

 h2. Resources 

 * https://doc.owncloud.org/desktop/2.1/building.html#generic-build-instructions 
 * https://github.com/owncloud/client

Back