Greetings! I am trying to build the client from source tarballs. I am following the steps outlined at http://wiki.x2go.org/doku.php/wiki:development:build-howto-linux:x2goclient I have downloaded and untarred the nx-libs_3.5.0.13 full tarball.
after I cd nx-libs_3.5.0.13/nxproxy autoconf ./configure --prefix=/custom make
I get the following:
if [ -x makedepend ] ; then
makedepend -I. -I../nxcomp -I. -I../nxcomp
-I/usr/include/g++ -I/usr/include/g++-3 -f Makefile Main.c 2>/dev/null;
fi
touch depend.status
gcc -c -O3 -DVERSION=\"3.5.0\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DX_DISPLAY_MISSING=1 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -I. -I../nxcomp Main.c
g++ -O3 -DVERSION=\"3.5.0\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DX_DISPLAY_MISSING=1 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -o nxproxy Main.o -L../nxcomp -lXcomp
/usr/bin/ld: cannot find -lXcomp
collect2: error: ld returned 1 exit status
make: *** [nxproxy] Error 1
Do I have to compile/install anything in the nx-libs parent directory beforehand? Thanks!
-- Kermit Short, RHCE, RHCVA Sr. Solutions Architect
On the hunch that I need to compile nxcomp first, I'm trying to work through that. Unfortunately, when I try to compile nxcomp, I get the following: installadm@igel-bld:/local/working/nx-libs_3.5.0.13/nxcomp$ make g++ -c -O3 -fno-rtti -fno-exceptions -I../nx-X11/exports/include -Wmissing-declarations -fPIC -DIN_ADDR_T=in_addr_t -DVERSION=\"3.5.0\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DX_DISPLAY_MISSING=1 -Wall -Wpointer-arith Loop.cpp In file included from Agent.h:28:0, from Loop.cpp:86: Transport.h:21:18: fatal error: zlib.h: No such file or directory #include <zlib.h> ^ compilation terminated. make: *** [Loop.o] Error 1
However, when I try to find zlib.h, I find it both in the kernel headers directory, and in nx-x11: installadm@igel-bld:/local/working/nx-libs_3.5.0.13/nxcomp$ sudo locate zlib.h /local/working/nx-libs_3.5.0.13/nx-X11/extras/freetype2/src/gzip/zlib.h /local/working/nx-libs_3.5.0.13/nx-X11/extras/zlib/zlib.h /local/working/nx-libs_3.5.0.13/nx-X11/extras/zlib/zlib.html /local/working/nx-libs_3.5.0.13/nx-X11/include/extensions/lbxzlib.h /local/working/nx-libs_3.5.0.13/nx-X11/lib/lbxutil/lbx_zlib/lbx_zlib.h /usr/src/linux-headers-3.13.0-44/include/linux/zlib.h /usr/src/linux-headers-3.13.0-44-generic/include/config/crypto/zlib.h /usr/src/linux-headers-3.13.0-44-generic/include/config/jffs2/zlib.h /usr/src/linux-headers-3.13.0-44-generic/include/config/squashfs/zlib.h /usr/src/linux-headers-3.13.0-44-generic/include/config/ubifs/fs/zlib.h /usr/src/linux-headers-3.13.0-44-generic/include/linux/zlib.h
So is there something I change in the makefile to allow the compiler to find the zlib.h file?
Kermit Short, RHCE, RHCVA Sr. Solutions Architect
From: x2go-user-bounces@lists.x2go.org [x2go-user-bounces@lists.x2go.org] on behalf of Short, Kermit [k_short@lanl.gov] Sent: Monday, January 26, 2015 10:48 AM To: x2go-user@lists.x2go.org Subject: [X2Go-User] Building x2goclient from sources
Greetings! I am trying to build the client from source tarballs. I am following the steps outlined at http://wiki.x2go.org/doku.php/wiki:development:build-howto-linux:x2goclient I have downloaded and untarred the nx-libs_3.5.0.13 full tarball.
after I cd nx-libs_3.5.0.13/nxproxy autoconf ./configure --prefix=/custom make
I get the following:
if [ -x makedepend ] ; then
makedepend -I. -I../nxcomp -I. -I../nxcomp
-I/usr/include/g++ -I/usr/include/g++-3 -f Makefile Main.c 2>/dev/null;
fi
touch depend.status
gcc -c -O3 -DVERSION=\"3.5.0\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DX_DISPLAY_MISSING=1 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -I. -I../nxcomp Main.c
g++ -O3 -DVERSION=\"3.5.0\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DX_DISPLAY_MISSING=1 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -o nxproxy Main.o -L../nxcomp -lXcomp
/usr/bin/ld: cannot find -lXcomp
collect2: error: ld returned 1 exit status
make: *** [nxproxy] Error 1
Do I have to compile/install anything in the nx-libs parent directory beforehand? Thanks!
-- Kermit Short, RHCE, RHCVA Sr. Solutions Architect
x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 26.01.2015 um 19:49 schrieb Short, Kermit:
[lots of trouble compiling]
Kermit, I'm not too sure if you can expect that many qualified replies to a compile question on x2go-_user_. Not saying it's off-topic here, but you might have better luck over on x2go-_dev_, where the diehard coders hang out. ;-)
To subscribe there, go to
http://lists.x2go.org/listinfo/x2go-dev
BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32)
iQEcBAEBAgAGBQJUxpKtAAoJEG7d9BjNvlEZMeYIAJc+m29+JZgpDt/pgA/aFnQP Lb1+p3AxeqRgwp/jleMk5pFRgyTBlhm9+PAalKek7C8czX+RO70h1wkz6muyEDNb H/egI/wJOiOeCp0erca4uvAAOWU1NpFjT1JClkfPTp6S5DiJCSaKzcNO5A4wNOJ6 9uZO1HAo6FvCknyszTWO4PWMvyxqVFywCqRWQ6oOkDUIez4cw368gSbHFYCBbpPG IV4k8mZFtHuaTYWJqylxipBGdlSOSlvy1JW1RS0ifJGt9wPFT/Eghy3HABJtNP5Q zQE26leBMHrYt0U9meHhaZcDdLbMZ1iZ5dqbWZ5TKnWndxMDu85afzfD28mKdok= =5qID -----END PGP SIGNATURE-----
Hi Stefan, Between some notes I'd taken last year when I worked on this, and some blind luck in guessing, I was able to get the client to build.
Kermit Short, RHCE, RHCVA Sr. Solutions Architect
From: x2go-user-bounces@lists.x2go.org [x2go-user-bounces@lists.x2go.org] on behalf of Stefan Baur [X2Go-ML-1@baur-itcs.de] Sent: Monday, January 26, 2015 12:17 PM To: x2go-user@lists.x2go.org Subject: Re: [X2Go-User] Building x2goclient from sources
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 26.01.2015 um 19:49 schrieb Short, Kermit:
[lots of trouble compiling]
Kermit, I'm not too sure if you can expect that many qualified replies to a compile question on x2go-_user_. Not saying it's off-topic here, but you might have better luck over on x2go-_dev_, where the diehard coders hang out. ;-)
To subscribe there, go to
http://lists.x2go.org/listinfo/x2go-dev
BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32)
iQEcBAEBAgAGBQJUxpKtAAoJEG7d9BjNvlEZMeYIAJc+m29+JZgpDt/pgA/aFnQP Lb1+p3AxeqRgwp/jleMk5pFRgyTBlhm9+PAalKek7C8czX+RO70h1wkz6muyEDNb H/egI/wJOiOeCp0erca4uvAAOWU1NpFjT1JClkfPTp6S5DiJCSaKzcNO5A4wNOJ6 9uZO1HAo6FvCknyszTWO4PWMvyxqVFywCqRWQ6oOkDUIez4cw368gSbHFYCBbpPG IV4k8mZFtHuaTYWJqylxipBGdlSOSlvy1JW1RS0ifJGt9wPFT/Eghy3HABJtNP5Q zQE26leBMHrYt0U9meHhaZcDdLbMZ1iZ5dqbWZ5TKnWndxMDu85afzfD28mKdok= =5qID -----END PGP SIGNATURE-----
x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
Hi Kermit,
On Mo 26 Jan 2015 18:48:42 CET, Short, Kermit wrote:
Greetings! I am trying to build the client from source tarballs. I am
following the steps outlined at http://wiki.x2go.org/doku.php/wiki:development:build-howto-linux:x2goclient I have downloaded and untarred the nx-libs_3.5.0.13 full tarball.
That tarball is rather old. We are at 3.5.0.28 at the moment. You only
need the nx-libs-lite tarball for X2Go's client-side software
components (X2Go Client, PyHoca-*). [1]
after I cd nx-libs_3.5.0.13/nxproxy autoconf ./configure --prefix=/custom make
Extract that tarball and run
make && sudo make install
That should be it. See the shipped-with Makefile for details.
Mike
[1] http://code.x2go.org/releases/source/nx-libs/nx-libs-3.5.0.28-lite.tar.gz
--
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...