473,769 Members | 6,305 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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?

Nov 6 '06 #1
2 2296
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.

On Nov 6, 4:20 pm, "metaperl" <metap...@gmail .comwrote:
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?
Nov 20 '06 #2
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?

Nov 20 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2071
by: Chris Hadley | last post by:
I am installing Python 2.3.2 on AIX 4.3.3 I get to the point where I'm ready to "make install" and I get an error, with no idea how to get around it. Here's the tail end of the output: Compiling /usr/local/lib/python2.3/xml/sax/saxutils.py ... Compiling /usr/local/lib/python2.3/xml/sax/xmlreader.py ... Compiling /usr/local/lib/python2.3/xmllib.py ...
0
1447
by: Craig D | last post by:
I got really tired of unpacking a distutils package, installing then cleaning up. So I wrote distinstall.py - it reads a zip file, unpacks it, installs the bits and cleans up. I've only used it on windows and Linux and for pure Python packages. Windows: distinstall.py Photronics.zip Linux: python distinstall.py Photronics.zip Hopefully somebody else will find it useful. #======================== distinstall.py =====================
1
4215
by: Waitman Gobble | last post by:
Hello, I am new to Python. I am having trouble with zipfile.py. On a Linux machine with python 2.4.2 I have trouble opening a zipfile. Python is complaining about the bit where it does a seek(-22,2). Looks to me like zipfile.py is trying to come back 22 bytes from the end of file. # python
4
3181
by: kkt49 | last post by:
# vim: et sw=4 ts=8 sts from wxPython.wx import * import sys, os, time import pywintypes import win32serviceutil import win32service import win32event import win32process
3
4891
bvdet
by: bvdet | last post by:
Following is an example that may provide a solution to you: """ Function makeArchive is a wrapper for the Python class zipfile.ZipFile 'fileList' is a list of file names - full path each name 'archive' is the file name for the archive with a full path """ import zipfile, os def makeArchive(fileList, archive):
0
852
by: Schnizalfritz | last post by:
When I built python 2.5 for linux I did the normal: configure make make install Everything went fine til the "make install" part. It dies with no error. just says "install failed" after this:
2
17914
by: fartknuckle | last post by:
When I try to build and install python from source It configures and makes fine but upon 'make install' I always get to this point: Listing /usr/local/lib/python2.5/xml/sax ... Compiling /usr/local/lib/python2.5/xml/sax/__init__.py ... Compiling /usr/local/lib/python2.5/xml/sax/_exceptions.py ... Compiling /usr/local/lib/python2.5/xml/sax/expatreader.py ...
3
4223
by: towers | last post by:
Hi I'm probably doing something stupid but I've run into a problem whereby I'm trying to add a csv file to a zip archive - see example code below. The csv just has several rows with carriage return line feeds (CRLF). However after adding it to an archive and then decompressing the line endings have been converted to just line feeds (LF).
1
2192
by: John Machin | last post by:
On Jun 4, 8:06 pm, jwesonga <crazylun...@gmail.comwrote: Nothing is ever as it seems. Let's try to work backwards from the error message ... and we don't need your magnificent script, just the traceback will do for now, so: The error says that you are trying to seek 22 bytes backwards from the
0
9587
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10211
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10045
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9993
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7406
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3958
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.