This shows you the differences between two versions of the page.
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 12:06] neverpanic typo |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | ===== Build X2Go Client using Mac Ports ===== | + | ===== Build/ |
- | As X2Go Client | + | As X2Go Client |
- | **Steps:** | + | We assume you've already installed Homebrew. |
+ | If not please invoke:< | ||
+ | For more information regarding Homebrew head to http:// | ||
+ | |||
+ | It is possible to install X2goClient in one command: < | ||
+ | |||
+ | ===== Build X2Go Client using MacPorts ===== | ||
+ | |||
+ | X2Go Client is available from MacPorts, maintained by Clemens Lang, who currently also builds the official X2Go Client DMGs. | ||
+ | |||
+ | If you just want to get a working version of X2Go Client you can run '' | ||
+ | |||
+ | If you want to build a re-distributable DMG image such as the one available from the website, follow these steps (assuming you already have MacPorts installed): | ||
+ | |||
+ | **Steps | ||
+ | |||
+ | - Install the dependencies for X2Go Client | ||
+ | - Install the build-time dependency dylibbundler | ||
+ | - Get X2Go Client from X2Go Git | ||
+ | - Build X2Go Client DMG image | ||
+ | |||
+ | So, first install the X2Go Client dependencies and dylibbundler: | ||
- | - Install Mac Ports on your Mac OS system | ||
- | - Take a look at the dependency list (in a terminal shell) | ||
- | - And install those dependencies | ||
< | < | ||
- | $ port echo depof: | + | $ sudo port install depof: |
- | $ sudo port install depof: | + | |
</ | </ | ||
- | Once the dependencies are installed, | + | Once the dependencies are installed, tweak some file permissions: |
< | < | ||
- | $ sudo port install dylibbundler | ||
$ sudo chmod u+w / | $ sudo chmod u+w / | ||
</ | </ | ||
- | If you omit the file permission tweak, dylibbundler will fail. | + | If you omit the file permission tweak, dylibbundler will fail to bundle OpenSSL with X2Go Client. |
At last, checkout X2Go Client from Git: | At last, checkout X2Go Client from Git: | ||
Line 30: | Line 46: | ||
If you want to build a specific version of X2Go Client, select that version with '' | If you want to build a specific version of X2Go Client, select that version with '' | ||
- | | + | |
- | In the X2Go Client source directory, simply run the '' | + | In the X2Go Client source directory, simply run the '' |
< | < | ||
Line 37: | Line 53: | ||
</ | </ | ||
+ | to generate '' | ||
===== Build X2Go Client from Scratch (w/o Mac Ports) ===== | ===== Build X2Go Client from Scratch (w/o Mac Ports) ===== | ||
- | + | ||
==== Variables ==== | ==== Variables ==== | ||
Line 50: | Line 67: | ||
| $X2GO_DIST_INST | Installation directory of x2goclient dependencies | $X2GO_DIST_SRC/ | | $X2GO_DIST_INST | Installation directory of x2goclient dependencies | $X2GO_DIST_SRC/ | ||
| $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_SRC | Directory containing the NX libs source tree | $NX_BASE_DIR/ |
| $NX_DIST_SRC | Directory containing NX libs dependencies source trees | $NX_BASE_DIR/ | | $NX_DIST_SRC | Directory containing NX libs dependencies source trees | $NX_BASE_DIR/ | ||
| $NX_DIST_INST | Installation directory of NX libs dependencies | $NX_DIST_SRC/ | | $NX_DIST_INST | Installation directory of NX libs dependencies | $NX_DIST_SRC/ | ||
Line 91: | Line 108: | ||
< | < | ||
- | # git clone git:// | + | $ wget http:// |
+ | $ tar xzf nx-libs-< | ||
+ | $ mv nx-libs-< | ||
</ | </ | ||
Line 224: | Line 243: | ||
**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 | + | **1. |
- | Install nxproxy from git** | + | Install |
< | < | ||
- | $ git clone git:// | + | $ wget http:// |
- | $ cd nxproxy | + | $ tar xzf nx-libs-< |
- | $ autoconf | + | $ cd nx-libs-< |
- | $ ./ | + | $ PREFIX=/usr make |
- | $ make | + | |
$ su -c "make install" | $ su -c "make install" | ||
</ | </ |