[MacPorts] #13376: rdesktop fails to compile
#13376: rdesktop fails to compile ----------------------------------+----------------------------------------- Reporter: zach@tu-clausthal.de | Owner: macports-dev@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
#13376: rdesktop fails to compile -----------------------------------+---------------------------------------- Reporter: zach@tu-clausthal.de | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by zach@tu-clausthal.de): PS: My system is Mac OS X 10.4.10 and MacPorts version 1.520 -- Ticket URL: <http://trac.macports.org/projects/macports/ticket/13376#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13376: rdesktop fails to compile -----------------------------------+---------------------------------------- Reporter: zach@tu-clausthal.de | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Changes (by ryandesign@macports.org): * cc: cshbell@gmail.com, noses@noses.com (added) * milestone: => Port Bugs Comment: Cc'ing maintainers. -- Ticket URL: <https://trac.macports.org/projects/macports/ticket/13376#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13376: rdesktop fails to compile -----------------------------------+---------------------------------------- Reporter: zach@tu-clausthal.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by cshbell@gmail.com): I can't confirm this bug; I'm building under 10.5.1 with Xcode 3, and the build runs fine. Off the top of my head, I'm guessing that the compiler can't find the X11 library, even though it's on the machine; try symlinking it to /usr/lib (sudo ln -s /usr/X11R6/lib/libX11.dylib /usr/lib) and run it again. Post back here with what you get. -- Ticket URL: <https://trac.macports.org/projects/macports/ticket/13376#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13376: rdesktop fails to compile -----------------------------------+---------------------------------------- Reporter: zach@tu-clausthal.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by zach@tu-clausthal.de): Well, the symlink makes it compile fine, of course. The question is: whose bug is it? Is my setup buggy, or is the macports' build system missing a library path? Regards, Gabriel. -- Ticket URL: <https://trac.macports.org/projects/macports/ticket/13376#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13376: rdesktop fails to compile -----------------------------------+---------------------------------------- Reporter: zach@tu-clausthal.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by cshbell@gmail.com): I'm pretty confident that it's something in your setup. I've built this port (rdesktop) on a number of systems and versions of OS X and never seen that library problem, nor have we had it reported here before. Sorry :-( I'm marking this closed. -- Ticket URL: <https://trac.macports.org/projects/macports/ticket/13376#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13376: rdesktop fails to compile -----------------------------------+---------------------------------------- Reporter: zach@tu-clausthal.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: worksforme | Keywords: -----------------------------------+---------------------------------------- Changes (by jmr@macports.org): * status: new => closed * resolution: => worksforme Comment: Resolving WFM as per comment:5. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13376#comment:6> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts