Re: Compiling rdesktop 1.8 on Solaris

Roland Soderstrom <[email protected]> Tue, 10 Jun 2014 23:29:56 +0000
Newsgroups gmane.network.rdesktop.user
Message-ID <281A66F6E46847489D285FE6CE8147E303FD31000F@CSS0031.logicaltech.local>
Hi,

I ended up installing Rdesktop 1.8.0 from OpenCSW.

This are my notes on compiling, don't know if they are changed to the lates=
t though.
sunws1 % export CC=3Dgcc
sunws1 % export cc=3Dgcc
sunws1 % export PKG_CONFIG_PATH=3D/usr/local/lib/pkgconfig
# Setting LIBS seems to be ESSENTIAL to get things working.
sunws1 % export LIBS=3D"-lkrb5 -lkrb5support -lgssapi_krb5"
sunws1 % unset LD_LIBRARY_PATH
sunws1 % which gcc
/usr/local/bin/gcc
# check for /usr/local/lib libpath.
sunws1 % crle

Configuration file [version 4]: /var/ld/ld.config
  Platform:     32-bit LSB 80386
  Default Library Path (ELF):   /lib:/usr/lib:/usr/local/lib
  Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system defaul=
t)
sunws1 % cd libgssglue-0.4
sunws1 % vi src/Makefile
CFLAGS =3D -O2 -DUSE_SOLARIS_SHARED_LIBRARIES
sunws1 % ./configure
sunws1 % /usr/local/bin/make
# /usr/local/bin/make install

sunws1 % cd ../rdesktop-1.8.0
sunws1 % ./configure -disable-smartcard
sunws1 % /usr/local/bin/make
# /usr/local/bin/make install


Good luck.

- Roland

-----Original Message-----
From: S=F8ren Schimkat [mailto:[email protected]] =

Sent: Friday, 6 June 2014 10:23 PM
To: [email protected]
Subject: Re: [rdesktop-users] Compiling rdesktop 1.8 on Solaris

Hi guys .. and Roland. :-)


> Hi,
>
> I managed to get further by compiling libgssglue.
> But now I fail here:
> gcc -O2 -Wall -I/usr/local/ssl/include  -I/usr/X11/include =

> -DPACKAGE_NAME=3D\"rdesktop\" -DPACKAGE_TARNAME=3D\"rdesktop\"
> -DPACKAGE_VERSION=3D\"1.8.0\" -DPACKAGE_STRING=3D\"rdesktop\ 1.8.0\" =

> -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE_URL=3D\"\" -DSTDC_HEADERS=3D1
> -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1
> -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1
> -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DL_ENDIAN=
=3D1
> -DHAVE_SYS_SELECT_H=3D1 -DHAVE_SYS_FILIO_H=3D1 -DHAVE_LOCALE_H=3D1
> -DHAVE_LANGINFO_H=3D1 -DHAVE_SYSEXITS_H=3D1 -Dssldir=3D\"/usr/local/ssl\" =

> -DWITH_CREDSSP=3D1 -DHAVE_XRANDR=3D1 -DNEED_ALIGN=3D1 =

> -DEGD_SOCKET=3D\"/var/run/egd-pool\" -DWITH_RDPSND=3D1 -DRDPSND_SUN=3D1
> -DHAVE_DIRENT_H=3D1 -DHAVE_DECL_DIRFD=3D0 -DDIR_FD_MEMBER_NAME=3Ddd_fd
> -DHAVE_ICONV_H=3D1 -DHAVE_SYS_VFS_H=3D1 -DHAVE_SYS_STATVFS_H=3D1
> -DHAVE_SYS_STATFS_H=3D1 -DHAVE_SYS_PARAM_H=3D1 -DHAVE_SYS_MOUNT_H=3D1
> -DHAVE_STRUCT_STATVFS_F_NAMEMAX=3D1 -D_FILE_OFFSET_BITS=3D64 =

> -DKEYMAP_PATH=3D\"/usr/local/share/rdesktop/keymaps/\" -o cssp.o -c =

> cssp.c
> cssp.c: In function `cssp_gss_wrap':
> cssp.c:187: warning: passing arg 2 of `gss_wrap' from incompatible =

> pointer type
> cssp.c: In function `cssp_gss_unwrap':
> cssp.c:225: warning: passing arg 2 of `gss_unwrap' from incompatible =

> pointer type
> cssp.c: In function `cssp_connect':
> cssp.c:874: warning: passing arg 1 of `cssp_gss_wrap' from =

> incompatible pointer type
> cssp.c:892: warning: passing arg 1 of `cssp_gss_unwrap' from =

> incompatible pointer type
> cssp.c:908: warning: passing arg 1 of `cssp_gss_wrap' from =

> incompatible pointer type gcc -O2 -Wall -I/usr/local/ssl/include  =

> -I/usr/X11/include -DPACKAGE_NAME=3D\"rdesktop\" =

> -DPACKAGE_TARNAME=3D\"rdesktop\"
> -DPACKAGE_VERSION=3D\"1.8.0\" -DPACKAGE_STRING=3D\"rdesktop\ 1.8.0\" =

> -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE_URL=3D\"\" -DSTDC_HEADERS=3D1
> -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1
> -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1
> -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DL_ENDIAN=
=3D1
> -DHAVE_SYS_SELECT_H=3D1 -DHAVE_SYS_FILIO_H=3D1 -DHAVE_LOCALE_H=3D1
> -DHAVE_LANGINFO_H=3D1 -DHAVE_SYSEXITS_H=3D1 -Dssldir=3D\"/usr/local/ssl\" =

> -DWITH_CREDSSP=3D1 -DHAVE_XRANDR=3D1 -DNEED_ALIGN=3D1 =

> -DEGD_SOCKET=3D\"/var/run/egd-pool\" -DWITH_RDPSND=3D1 -DRDPSND_SUN=3D1
> -DHAVE_DIRENT_H=3D1 -DHAVE_DECL_DIRFD=3D0 -DDIR_FD_MEMBER_NAME=3Ddd_fd
> -DHAVE_ICONV_H=3D1 -DHAVE_SYS_VFS_H=3D1 -DHAVE_SYS_STATVFS_H=3D1
> -DHAVE_SYS_STATFS_H=3D1 -DHAVE_SYS_PARAM_H=3D1 -DHAVE_SYS_MOUNT_H=3D1
> -DHAVE_STRUCT_STATVFS_F_NAMEMAX=3D1 -D_FILE_OFFSET_BITS=3D64 =

> -DKEYMAP_PATH=3D\"/usr/local/share/rdesktop/keymaps/\" -o rdesktop =

> rdesktop.o xwin.o xkeymap.o ewmhints.o xclip.o cliprdr.o ctrl.o =

> rdpsnd.o rdpsnd_dsp.o rdpsnd_sun.o tcp.o asn.o iso.o mcs.o secure.o =

> licence.o rdp.o orders.o bitmap.o cache.o rdp5.o channels.o rdpdr.o =

> serial.o printer.o disk.o parallel.o printercache.o mppc.o pstcache.o =

> lspci.o seamless.o ssl.o utils.o cssp.o -R/usr/local/ssl/lib =

> -L/usr/local/ssl/lib -L/usr/local/ssl/lib64 -lssl -lcrypto -lresolv
> -lsocket  -lgssglue -R/usr/X11/lib -L/usr/X11/lib -lXrandr      =

> -lsocket  -lnsl -lX11
> /usr/local/lib/libgssglue.so: undefined reference to `krb5_gss_initialize'
> collect2: ld returned 1 exit status
> gmake: *** [rdesktop] Error 1
>
>
> -          Roland


Did you ever manage to fix this problem? - cuz' i'm having the exact same p=
roblem on Cygwin with gssglue. :-o Please let me know if someone else has m=
anaged to fix this problem.

Kind Regards S=F8ren

---------------------------------------------------------------------------=
---
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is th=
e definitive new guide to graph databases and their applications. Written b=
y three acclaimed leaders in the field, this first edition is now available=
. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
rdesktop-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdesktop-users

---------------------------------------------------------------------------=
---
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems