[MacPorts] #19406: rox-filer 2.8 won't build, missing X dev lib
#19406: rox-filer 2.8 won't build, missing X dev lib ------------------------------------------+--------------------------------- Reporter: manul.pallas@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: rox-filer, x11, file manager | Port: ------------------------------------------+--------------------------------- It's impossible to build rox-filer 2.8, it's missing the X development libraries, which aren't there as dependancies. (can't figure out which one to install in the x11 category either) {{{ checking for X... no configure: error: X development libraries not found Compile failed Press Return... Error: Target org.macports.build returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_rox-filer/work/rox-filer-2.8; ./ROX-Filer/AppRun --compile" returned error 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/19406> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19406: rox-filer 2.8 won't build, missing X dev lib ------------------------------------------+--------------------------------- Reporter: manul.pallas@… | Owner: afb@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: rox-filer, x11, file manager | Port: rox-filer ------------------------------------------+--------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => afb@… * port: => rox-filer -- Ticket URL: <http://trac.macports.org/ticket/19406#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19406: rox-filer 2.8 won't build, missing X dev lib -------------------------------------+-------------------------------------- Reporter: manul.pallas@… | Owner: afb@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: rox-filer, x11, file manager Port: rox-filer | -------------------------------------+-------------------------------------- Changes (by afb@…): * status: new => closed * resolution: => fixed Comment: Fixed, r50047. gtk2 used to imply x11, guess the category would also be an indicator -- Ticket URL: <http://trac.macports.org/ticket/19406#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19406: rox-filer 2.8 won't build, missing X dev lib -------------------------------------+-------------------------------------- Reporter: manul.pallas@… | Owner: afb@… Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: | Keywords: rox-filer, x11, file manager Port: rox-filer | -------------------------------------+-------------------------------------- Changes (by jeremyhu@…): * status: closed => reopened * resolution: fixed => Comment: gtk2 does imply x11. If you build gtk2 with the +quartz or +no_x11 variant, you're equally screwed and it won't build. The fix isn't adding redundant dependencies. The fix is figuring out why it didn't build in the first place. -- Ticket URL: <http://trac.macports.org/ticket/19406#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19406: rox-filer 2.8 won't build, missing X dev lib -------------------------------------+-------------------------------------- Reporter: manul.pallas@… | Owner: afb@… Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: | Keywords: rox-filer, x11, file manager Port: rox-filer | -------------------------------------+-------------------------------------- Comment(by afb@…): Well, rox-filer does link with -lX11 and -lSM {{{ dnl Find the X libraries AC_PATH_XTRA if test x$no_x = xyes ; then AC_MSG_ERROR([X development libraries not found]) fi LIBS="$LIBS $X_LIBS -lX11 $X_EXTRA_LIBS" CFLAGS="$CFLAGS $X_CFLAGS" }}} {{{ AC_CHECK_HEADER([X11/SM/SMlib.h], [], [AC_MSG_ERROR([Session management library (libsm) missing. It is part of the X server distribution. Try installing the libsm-dev package.])] ) }}} So you do need X11 installed to use it... -- Ticket URL: <http://trac.macports.org/ticket/19406#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19406: rox-filer 2.8 won't build, missing X dev lib -------------------------------------+-------------------------------------- Reporter: manul.pallas@… | Owner: afb@… Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: | Keywords: rox-filer, x11, file manager Port: rox-filer | -------------------------------------+-------------------------------------- Comment(by manul.pallas@…): x11 is installed, as well as xorg-libsm, and X11 works (for example, I can build and launch fluxbox) -- Ticket URL: <http://trac.macports.org/ticket/19406#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19406: rox-filer 2.8 won't build, missing X dev lib -------------------------------------+-------------------------------------- Reporter: manul.pallas@… | Owner: afb@… Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: | Keywords: rox-filer, x11, file manager Port: rox-filer | -------------------------------------+-------------------------------------- Comment(by afb@…): okay, then we're at the "look in config.log" stage. it should be under the work directory. -- Ticket URL: <http://trac.macports.org/ticket/19406#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19406: rox-filer 2.8 won't build, missing X dev lib -------------------------------------+-------------------------------------- Reporter: manul.pallas@… | Owner: afb@… Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: | Keywords: rox-filer, x11, file manager Port: rox-filer | -------------------------------------+-------------------------------------- Comment(by afb@…): wonder if it is related to the huge chunk of boilerplate jeremyhu added to the other ports... {{{ # AC_X_PATH blindly asks xmkmf where X11 is, and it always uses /usr/X11R6. # This block helps us link correctly and setup our pc files correctly when we # are +system_x11 and x11prefix is somewhere non-standard and should cause # AC_X_PATH to let us setup our CPPFLAGS and LDFLAGS without interference configure.args-append --x-include=${prefix}/include --x-lib=${prefix}/lib if { ![file exists ${prefix}/lib/pkgconfig/x11.pc] } { pre-configure { configure.cppflags-append -I${x11prefix}/include configure.ldflags-append -L${x11prefix}/lib } # And this will similarly get ports that use pkgconfig to find our pkgconfig-less libX11 post-destroot { if {![file exists ${x11prefix}/lib/pkgconfig/x11.pc]} { foreach pc [glob ${destroot}${prefix}/lib/pkgconfig/*.pc] { reinplace "s:-lX11:-L${prefix}/lib -L${x11prefix}/lib -lX11:g" ${pc} } } } } }}} I'm using +system_x11 myself, so wouldn't notice any /usr/X11R6 bias (versus ${prefix}). -- Ticket URL: <http://trac.macports.org/ticket/19406#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19406: rox-filer 2.8 won't build, missing X dev lib -------------------------------------+-------------------------------------- Reporter: manul.pallas@… | Owner: afb@… Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: | Keywords: rox-filer, x11, file manager Port: rox-filer | -------------------------------------+-------------------------------------- Comment(by afb@…): `ld: library not found for -lX11` seems straightforward enough. What was it supposed to find, i.e. were is your libX11.dylib ? -- Ticket URL: <http://trac.macports.org/ticket/19406#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19406: rox-filer 2.8 won't build, missing X dev lib -------------------------------------+-------------------------------------- Reporter: manul.pallas@… | Owner: afb@… Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: | Keywords: rox-filer, x11, file manager Port: rox-filer | -------------------------------------+-------------------------------------- Comment(by manul.pallas@…): In /opt/local/lib/libX11.dylib, it's a symbolic link, the orginal file is /opt/local/lib/libX11.6.2.0.dylib -- Ticket URL: <http://trac.macports.org/ticket/19406#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19406: rox-filer 2.8 won't build, missing X dev lib -------------------------------------+-------------------------------------- Reporter: manul.pallas@… | Owner: afb@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: rox-filer, x11, file manager Port: rox-filer | -------------------------------------+-------------------------------------- Changes (by afb@…): * status: reopened => closed * resolution: => fixed Comment: Fixed, r50057. -- Ticket URL: <http://trac.macports.org/ticket/19406#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19406: rox-filer 2.8 won't build, missing X dev lib -------------------------------------+-------------------------------------- Reporter: manul.pallas@… | Owner: afb@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: rox-filer, x11, file manager Port: rox-filer | -------------------------------------+-------------------------------------- Comment(by manul.pallas@…): works like a charm, thanks! -- Ticket URL: <http://trac.macports.org/ticket/19406#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19406: rox-filer 2.8 won't build, missing X dev lib -------------------------------------+-------------------------------------- Reporter: manul.pallas@… | Owner: afb@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: rox-filer, x11, file manager Port: rox-filer | -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Replying to [comment:10 afb@…]:
Fixed, r50057. Does that work with the +system_x11 variant? Should you use Jeremy's boilerplate from above instead?
-- Ticket URL: <http://trac.macports.org/ticket/19406#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19406: rox-filer 2.8 won't build, missing X dev lib -------------------------------------+-------------------------------------- Reporter: manul.pallas@… | Owner: afb@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: rox-filer, x11, file manager Port: rox-filer | -------------------------------------+-------------------------------------- Comment(by afb@…): Replying to [comment:12 ryandesign@…]:
Does that work with the +system_x11 variant? It does, since that's the one I'm using myself.
-- Ticket URL: <http://trac.macports.org/ticket/19406#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19406: rox-filer 2.8 won't build, missing X dev lib -------------------------------------+-------------------------------------- Reporter: manul.pallas@… | Owner: afb@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: rox-filer, x11, file manager Port: rox-filer | -------------------------------------+-------------------------------------- Comment(by afb@…): Actually it built just by accident, it's all wrong when using +system_x11. build.env seems to be broken, so will have to do some workaround for it... -- Ticket URL: <http://trac.macports.org/ticket/19406#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19406: rox-filer 2.8 won't build, missing X dev lib -------------------------------------+-------------------------------------- Reporter: manul.pallas@… | Owner: afb@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: rox-filer, x11, file manager Port: rox-filer | -------------------------------------+-------------------------------------- Comment(by afb@…): "Fixed" in r50070 and r50072. The Portfile is very very ugly now though. :-( Maybe MacPorts should grow some `use_x11 yes` to avoid having to see it. -- Ticket URL: <http://trac.macports.org/ticket/19406#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts