[MacPorts] #23522: py-sip @4.7.9 build error
MacPorts
noreply at macports.org
Tue Feb 2 16:00:55 PST 2010
#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
More information about the macports-tickets
mailing list