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:46] sunweaver |
wiki:development:build-howto-macos:x2goclient [2013/09/26 10:01] eugenesan |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
+ | |||
+ | ===== Build/ | ||
+ | |||
+ | 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:< | ||
+ | For more information regarding Homebrew head to http:// | ||
+ | |||
+ | It is possible to install X2goClient in one command: < | ||
===== Build X2Go Client using Mac Ports ===== | ===== Build X2Go Client using Mac Ports ===== | ||
Line 10: | Line 20: | ||
- 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 | - Get X2Go Client from X2Go Git | ||
- Build X2Go Client | - Build X2Go Client | ||
Line 20: | Line 31: | ||
</ | </ | ||
- | Once the dependencies are installed, you need to install dylibbundler | + | Then install dylibbundler: |
< | < | ||
$ sudo port install dylibbundler | $ sudo port install dylibbundler | ||
+ | </ | ||
+ | |||
+ | Once the dependencies are installed, tweak some file permissions: | ||
+ | |||
+ | < | ||
$ 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 build/ |
At last, checkout X2Go Client from Git: | At last, checkout X2Go Client from Git: | ||
Line 55: | Line 71: | ||
| $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 96: | Line 112: | ||
< | < | ||
- | # git clone git:// | + | $ wget http:// |
+ | $ tar xzf nx-libs-< | ||
+ | $ mv nx-libs-< | ||
</ | </ | ||
Line 229: | 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 | + | **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" | ||
</ | </ |