#16212 closed defect (fixed)
Python21 doesn't compile on Leopard Intel
Reported by: | lucadex@… | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | python21 | Cc: | |
Port: |
Description
Hi I've tried to install the python21 port on a new Mac Book Pro with Mac OS X 10.5.4 and Xcode 3.0. At first I got en error since apparently the Python FTP site (ftp.python.org) is unreachable. I don't know if this is a temporary problem or not. Anyway I downloaded the Portfile and changed the master_sites variable as stated below: master_sites http://ftp.python.org/ftp/python/${version}/
I put the Portfile in my local portfiles repository, run the portindex utility and launched a "sudo port install python21" command.
Everything starts nicely (the python package gets downloaded) but the build process ends with the following error: /usr/bin/gcc-4.0 -L/opt/local/lib -u dummy -framework System -framework Foundation -o python.exe \
Modules/python.o \ libpython2.1.a -lpthread -ldl
Undefined symbols:
"dummy", referenced from:
ld: symbol(s) not found collect2: ld returned 1 exit status
Any hint?
TIA Ciao, Luca De Santis Pisa, Italy
Change History (4)
comment:1 Changed 16 years ago by blb@…
comment:2 Changed 16 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to jmr@… |
---|---|
Status: | new → assigned |
comment:3 Changed 16 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Python 2.1 was last updated upstream in April 2002, so it isn't too surprising that it fails to build with a newer OS and newer compiler. In fact, any Python prior to 2.3 will probably have similar issues.