[MacPorts] #20969: gtk+-1.2.10 Build error - can't find X libs/inc on Snow Leopard
#20969: gtk+-1.2.10 Build error - can't find X libs/inc on Snow Leopard ----------------------------------------------+----------------------------- Reporter: mike@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: x11 gtk snowleopard snow leopard | Port: gtk1 ----------------------------------------------+----------------------------- I'm guessing there's something I've done wrong, but while trying to build gtk1 I'm getting the following error message on my newly upgraded Snow Leopard system. I did wipe out my /opt/local dir and reinstall MacPorts 1.8 from scratch after upgrading to Snow Leopard: {{{ checking for X... no configure: error: *** X libraries or include files not found. Check 'config.log' for *** more details. }}} Output from gcc -v: {{{ [mburkett@intruder ~]# gcc -v Using built-in specs. Target: i686-apple-darwin10 Configured with: /var/tmp/gcc/gcc-5646~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable- languages=c,objc,c++,obj-c++ --program-transform- name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple- darwin10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686 -apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 Thread model: posix gcc version 4.2.1 (Apple Inc. build 5646) }}} Config.log attached... -- Ticket URL: <http://trac.macports.org/ticket/20969> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20969: gtk+-1.2.10 Build error - can't find X libs/inc on Snow Leopard ---------------------------------+------------------------------------------ Reporter: mike@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: x11 gtk snowleopard | Port: gtk1 ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * keywords: x11 gtk snowleopard snow leopard => x11 gtk snowleopard Comment: Did you install X11 from the Snow leopard install disk? -- Ticket URL: <http://trac.macports.org/ticket/20969#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20969: gtk+-1.2.10 Build error - can't find X libs/inc on Snow Leopard ---------------------------------+------------------------------------------ Reporter: mike@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: x11 gtk snowleopard | Port: gtk1 ---------------------------------+------------------------------------------ Comment(by mike@…): I thought I did, and X is working and the /usr/X11/include and /usr/X11/lib files are all in place, but maybe that's all from the previous version. -- Ticket URL: <http://trac.macports.org/ticket/20969#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20969: gtk+-1.2.10 Build error - can't find X libs/inc on Snow Leopard ---------------------------------+------------------------------------------ Reporter: mike@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: x11 gtk snowleopard | Port: gtk1 ---------------------------------+------------------------------------------ Comment(by jmr@…): We're not using Apple's X11 client libs any more. This probably needs either a build dependency on pkgconfig, or --x-includes/--x-libraries configure args. -- Ticket URL: <http://trac.macports.org/ticket/20969#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20969: gtk+-1.2.10 Build error - can't find X libs/inc on Snow Leopard ---------------------------------+------------------------------------------ Reporter: mike@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: x11 gtk snowleopard | Port: gtk1 ---------------------------------+------------------------------------------ Comment(by elb@…): I had this build failure earlier today, and resolved it by simply running 'port install xorg-libXt' and then reinstalling the port which required gtk1. (I may have had to 'port clean gtk1', I cannot recall.) I'm not sure if simply adding xorg-libXt to the gtk1 dependencies is the right fix or not, I didn't look closely. Too many broken ports and too much work to do at the moment. :-) -- Ticket URL: <http://trac.macports.org/ticket/20969#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20969: gtk+-1.2.10 Build error - can't find X libs/inc on Snow Leopard -------------------------------+-------------------------------------------- Reporter: mike@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: x11 gtk snowleopard Port: gtk1 | -------------------------------+-------------------------------------------- Changes (by blb@…): * status: new => closed * resolution: => fixed Comment: Toby added xorg-libXt as a dependency in r57171 and builds fine here. -- Ticket URL: <http://trac.macports.org/ticket/20969#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts