[MacPorts] #13376: rdesktop fails to compile

MacPorts trac at macosforge.org
Thu Nov 22 06:05:32 PST 2007


#13376: rdesktop fails to compile
----------------------------------+-----------------------------------------
 Reporter:  zach at tu-clausthal.de  |       Owner:  macports-dev at lists.macosforge.org
     Type:  defect                |      Status:  new                              
 Priority:  Normal                |   Milestone:                                   
Component:  ports                 |     Version:  1.5.2                            
 Keywords:                        |  
----------------------------------+-----------------------------------------
 I've just tried to install rdesktop using this command:
 {{{
 % sudo port install rdesktop
 }}}
 Then, I get this:
 {{{
 --->  Building rdesktop with target rdesktop
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_rdesktop/work/rdesktop-1.5.0"
 && make rdesktop " returned error 2
 [...]
 gcc -O2 -Wall -I/usr/include  -DPACKAGE_NAME=\"rdesktop\"
 -DPACKAGE_TARNAME=\"rdesktop\" -DPACKAGE_VERSION=\"1.5.0\"
 -DPACKAGE_STRING=\"rdesktop\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\"
 -DSTDC_HEADERS=1 -DL_ENDIAN=1 -DX_DISPLAY_MISSING=1 -DHAVE_SYS_TYPES_H=1
 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_LOCALE_H=1
 -DHAVE_LANGINFO_H=1 -Dssldir=\"/usr\" -DEGD_SOCKET=\"/var/run/egd-pool\"
 -DHAVE_DIRENT_H=1 -DHAVE_DECL_DIRFD=1 -DHAVE_ICONV_H=1 -DHAVE_ICONV=1
 -DICONV_CONST=const -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_PARAM_H=1
 -DHAVE_SYS_MOUNT_H=1 -DSTAT_STATVFS=1 -DHAVE_STRUCT_STATVFS_F_NAMEMAX=1
 -DKEYMAP_PATH=\"/opt/local/share/rdesktop/keymaps/\" -o rdesktop
 rdesktop.o xwin.o xkeymap.o ewmhints.o xclip.o cliprdr.o  tcp.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 -L/opt/local/lib  -L/usr/lib -lcrypto
 -liconv   -lX11
 /usr/bin/ld: can't locate file for: -lX11
 }}}

 But X11 is definitely there. I have installed X11 from the CD, and the lib
 is there, too:

 {{{
 % locate X11.dylib
 /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libX11.dylib
 /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libX11.dylib
 /usr/X11R6/lib/libX11.dylib
 }}}

 Best regards,
 Gabriel.

-- 
Ticket URL: <http://trac.macports.org/projects/macports/ticket/13376>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list