User Tools

Site Tools


wiki:development:build-howto-macos:x2goclient

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:development:build-howto-macos:x2goclient [2013/09/26 08:45]
sunweaver
wiki:development:build-howto-macos:x2goclient [2013/09/26 10:01]
eugenesan
Line 1: Line 1:
-====== Build X2GoClient on MacOS ======+====== Building X2Go Client on Mac OS ====== 
 + 
 +===== Build/Install X2Go Client using Homebrew ===== 
 + 
 +As X2Go Client and it's dependencies are already in Homebrew (thanks to Clemens Lang and Eugene San). 
 + 
 +We assume you've already installed Homebrew. 
 +If not please invoke:<code>$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"</code> 
 +For more information regarding Homebrew head to http://brew.sh 
 + 
 +It is possible to install X2goClient in one command: <code>$ brew install x2goclient</code>
  
 ===== Build X2Go Client using Mac Ports ===== ===== Build X2Go Client using Mac Ports =====
Line 5: Line 15:
 As X2Go Client is already in Mac Ports (thanks to Clemens Lang) it is possible to install all dependencies via Mac Ports. As X2Go Client is already in Mac Ports (thanks to Clemens Lang) it is possible to install all dependencies via Mac Ports.
  
-**Steps:**+**Steps summarized:**
  
   - Install Mac Ports on your Mac OS system   - Install Mac Ports on your Mac OS system
   - Take a look at the dependency list (in a terminal shell)   - Take a look at the dependency list (in a terminal shell)
   - And install those dependencies   - And install those dependencies
 +  - Install dylibbundler
 +  - Get X2Go Client from X2Go Git
 +  - Build X2Go Client
 +
 +So, first install the X2Go Client dependencies:
 +
 <code> <code>
 $ port echo depof:x2goclient $ port echo depof:x2goclient
Line 15: Line 31:
 </code> </code>
  
-Once the dependencies are installed, you need to install dylibbundler and tweak its file permissions:+Then install dylibbundler:
  
 <code> <code>
 $ sudo port install dylibbundler $ sudo port install dylibbundler
 +</code>
 +
 +Once the dependencies are installed, tweak some file permissions:
 +
 +<code>
 $ sudo chmod u+w /opt/local/lib/libcrypto.1.0.0.dylib /opt/local/lib/libssl.1.0.0.dylib $ sudo chmod u+w /opt/local/lib/libcrypto.1.0.0.dylib /opt/local/lib/libssl.1.0.0.dylib
 </code> </code>
  
-If you omit the file permission tweak, dylibbundler will fail.+If you omit the file permission tweak, dylibbundler will fail to build/bundle X2Go Client.
  
 At last, checkout X2Go Client from Git: At last, checkout X2Go Client from Git:
Line 50: Line 71:
 | $X2GO_DIST_INST | Installation directory of x2goclient dependencies | $X2GO_DIST_SRC/inst | | $X2GO_DIST_INST | Installation directory of x2goclient dependencies | $X2GO_DIST_SRC/inst |
 | $NX_BASE_DIR | Common NX directory | /usr/src/NX | | $NX_BASE_DIR | Common NX directory | /usr/src/NX |
-| $NX_LIBS_SRC | Directory containing the NX libs source tree | $NX_BASE_DIR/nx-libs-git |+| $NX_LIBS_SRC | Directory containing the NX libs source tree | $NX_BASE_DIR/nx-libs-src |
 | $NX_DIST_SRC | Directory containing NX libs dependencies source trees | $NX_BASE_DIR/dist | | $NX_DIST_SRC | Directory containing NX libs dependencies source trees | $NX_BASE_DIR/dist |
 | $NX_DIST_INST | Installation directory of NX libs dependencies | $NX_DIST_SRC/inst | | $NX_DIST_INST | Installation directory of NX libs dependencies | $NX_DIST_SRC/inst |
Line 91: Line 112:
  
 <code> <code>
-# git clone git://code.x2go.org/nx-libs.git nx-libs-git+$ wget http://code.x2go.org/releases/source/nx-libs/nx-libs-<version>-lite.tar.gz 
 +$ tar xzf nx-libs-<version>-lite.tar.gz 
 +$ mv nx-libs-<version> nx-libs-src
 </code> </code>
  
Line 224: Line 247:
 **Run the following commands as a regular, non-root user.  You'll need the root password to install them.** **Run the following commands as a regular, non-root user.  You'll need the root password to install them.**
  
-**1. FIXME -> nxproxy has to be installed from nx-libs.git +**1.  
-Install nxproxy from git**+Install nxproxy from the nx-libs-lite tarball**
  
 <code> <code>
-git clone git://code.x2go.org/nxproxy +wget http://code.x2go.org/releases/source/nx-libs/nx-libs-<version>-lite.tar.gz 
-cd nxproxy +tar xzf nx-libs-<version>-lite.tar.gz 
-autoconf  +cd nx-libs-<version> 
-$ ./configure --prefix=/usr +$ PREFIX=/usr make
-make+
 $ su -c "make install" $ su -c "make install"
 </code> </code>
wiki/development/build-howto-macos/x2goclient.txt · Last modified: 2015/08/27 01:43 by ionic