os x make install dies when compiling zipfile.py on 2.5 and 2.4.4

M

metaperl

I've tried both Python 2.4.4 and Python 2.5. I'm trying to build from
source and install under a local directory Swarm since OpenSwarm
requires builds of Postgres and Python under it's control.

Ok, so I did

../configure --prefix=/Users/tbrannon/Documents/Python/Swarm/Python-2.5

but during make install I get this:

Compiling
/Users/tbrannon/Documents/Python/Swarm/Python-2.5/lib/python2.5/xmlrpclib.py
....
Compiling
/Users/tbrannon/Documents/Python/Swarm/Python-2.5/lib/python2.5/zipfile.py
....
make: *** [libinstall] Error 1
<!-- ~/Downloads/Python-2.5 tbrannon -->

and the same thing happens for Python 2.4.4 leaving me without a
platform-depedent install directory in my build.. any ideas?
 
S

stephen.ayotte

I've experienced the exact same with 2.4.4.

uname -a on the machine I built it on (SunOS 5.7, binaries should be
forwards-compatible with 5.7-5.10):
SunOS hostname-here 5.7 Generic_106541-19 sun4u sparc SUNW,Ultra-4

And the machine on which it was being installed (because it has write
access to the NFS mount I want it installed on):
SunOS hostname-here 5.10 Generic_118822-25 sun4u sparc
SUNW,Sun-Fire-V210

I only *just* hit this and haven't dug further for a solution. If
anyone knows about this please respond, otherwise I'll post any
progress I make.
 
S

stephen.ayotte

Sorry about the top-post earlier.

I just tested installing 2.4.4 on the same machine that built it--- it
ran without a complaint. The line that follows the "Compiling
zipfile.py" line (possibly the one that is failing for us) is as
follows:

Compiling /Home/admin/sayotte/python-test/lib/python2.4/zipfile.py ...
PYTHONPATH=/Home/admin/sayotte/python-test/lib/python2.4 \
./python -Wi -t
/Home/admin/sayotte/python-test/lib/python2.4/compileall.py \
-d /Home/admin/sayotte/python-test/lib/python2.4/site-packages
-f \
-x badsyntax
/Home/admin/sayotte/python-test/lib/python2.4/site-packages
Listing /Home/admin/sayotte/python-test/lib/python2.4/site-packages ...

Were you by chance also executing the build and install steps on
different platforms?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top