[MacPorts] #23522: py-sip @4.7.9 build error
#23522: py-sip @4.7.9 build error ------------------------------------+--------------------------------------- Reporter: lo.knut@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: py-sip ------------------------------------+--------------------------------------- c++ -F/opt/local/Library/Frameworks -L/opt/local/lib -bundle -framework Python -o sip.so siplib.o qtlib.o threads.o objmap.o bool.o Undefined symbols: "_Py_InitModule4", referenced from: _initsip in siplib.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [sip.so] Error 1 make: *** [all] Error 2 -- Ticket URL: <http://trac.macports.org/ticket/23522> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23522: py-sip @4.7.9 build error ------------------------------------+--------------------------------------- Reporter: lo.knut@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: py-sip ------------------------------------+--------------------------------------- Comment(by blair@…): Try using py25-sip or py26-sip, py-sip is pretty old and is only for Python 2.4. -- Ticket URL: <http://trac.macports.org/ticket/23522#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23522: py-sip @4.7.9 build error ------------------------------------+--------------------------------------- Reporter: lo.knut@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: py-sip ------------------------------------+--------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => blair@… * cc: blair@… (removed) Old description:
c++ -F/opt/local/Library/Frameworks -L/opt/local/lib -bundle -framework Python -o sip.so siplib.o qtlib.o threads.o objmap.o bool.o Undefined symbols: "_Py_InitModule4", referenced from: _initsip in siplib.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [sip.so] Error 1 make: *** [all] Error 2
New description: {{{ c++ -F/opt/local/Library/Frameworks -L/opt/local/lib -bundle -framework Python -o sip.so siplib.o qtlib.o threads.o objmap.o bool.o Undefined symbols: "_Py_InitModule4", referenced from: _initsip in siplib.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [sip.so] Error 1 make: *** [all] Error 2 }}} -- Comment: I'm guessing you're on 10.6 (which is important information that should be included in all bug reports), which means python24 isn't built as a framework and thus `-framework Python` doesn't work (not that it would necessarily pick up the right python version in any case). -- Ticket URL: <http://trac.macports.org/ticket/23522#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23522: py-sip @4.7.9 build error -------------------------------------+-------------------------------------- Reporter: lo.knut@… | Owner: blair@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: py-sip | -------------------------------------+-------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: 4.11.1 builds fine for me. -- Ticket URL: <https://trac.macports.org/ticket/23522#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts