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