473,378 Members | 1,510 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

failure building python 2.5 on mac os x 10.3.9

Hello,

I followed the instructions in the Mac/README file.

I ran ./configure --enable-framework

But when I try to build from source with gcc 4.0.2, following happens:
[snip]
libtool: can't locate file for: -lSystemStubs
libtool: file: -lSystemStubs is not an object file (not allowed in a
library)
make: *** [Python.framework/Versions/2.5/Python] Error 1

What does that mean?

Thanks,
Thomas
Nov 19 '06 #1
2 1568
On 2006-11-19 15:50:14 +0100, Thomas Ploch <Th**********@gmx.netsaid:
Hello,

I followed the instructions in the Mac/README file.

I ran ./configure --enable-framework

But when I try to build from source with gcc 4.0.2, following happens:
[snip]
libtool: can't locate file for: -lSystemStubs
libtool: file: -lSystemStubs is not an object file (not allowed in a
library)
make: *** [Python.framework/Versions/2.5/Python] Error 1

What does that mean?

Thanks,
Thomas
I had the same problem (why do you have gcc-4.0.2?).

-lSystemStubs is in Tiger
First of all, try to install the 10.4 SDK as it will keep you away of a
lot of linking problems and such stuff. (yes, it will install on 10.3.9
and since then i had no compile problems, i found this as an answer in
a post in the apple discussions)

Then try to compile it again after you have deleted the python source
tree (or "make clean").
If that is still not working you have to edit the Makefile from Python
and remove the -lSystemStubs
(i think both ways work, but i am not sure)

Make sure you have either a patched readline 5.1 or better a readline
5.2. Otherwise you will get segmentation faults when you are using
ipython.
If it is still not working,
Good luck!
Nov 30 '06 #2
Markus Rosenstihl schrieb:
On 2006-11-19 15:50:14 +0100, Thomas Ploch <Th**********@gmx.netsaid:
>Hello,

I followed the instructions in the Mac/README file.

I ran ./configure --enable-framework

But when I try to build from source with gcc 4.0.2, following happens:
[snip]
libtool: can't locate file for: -lSystemStubs
libtool: file: -lSystemStubs is not an object file (not allowed in a
library)
make: *** [Python.framework/Versions/2.5/Python] Error 1

What does that mean?

Thanks,
Thomas

I had the same problem (why do you have gcc-4.0.2?).

-lSystemStubs is in Tiger
First of all, try to install the 10.4 SDK as it will keep you away of a
lot of linking problems and such stuff. (yes, it will install on 10.3.9
and since then i had no compile problems, i found this as an answer in
a post in the apple discussions)

Then try to compile it again after you have deleted the python source
tree (or "make clean").
If that is still not working you have to edit the Makefile from Python
and remove the -lSystemStubs
(i think both ways work, but i am not sure)

Make sure you have either a patched readline 5.1 or better a readline
5.2. Otherwise you will get segmentation faults when you are using
ipython.
If it is still not working,
Good luck!

Thank you,
has been quite a while since I asked, almost forgot about that one. :-)

I have been using static python for a while, because I couldn't get
around the problem. But after a while I needed the dynamic linker for
some extensions so I thought about what it could be.

I ran into the Mac OS 10.3.9 Python (the shipped one) Bug, and
remembered not having fixed it with the fixmacpython.py (or whatever
it's called) script. So I tried building python framework again, and
whoohoo, it worked. I dunno if it was that or that I updated libtool,
gettext and all that stuff, but hey, I have to admint, I don't care
anymore. :-)

But it's nice to know that the Tiger Dev Tools run on Panther as well.

Thomas
Nov 30 '06 #3

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

Similar topics

7
by: Carl Waldbieser | last post by:
I tried to adapt the instructions for building the M2Crypto module (http://sandbox.rulemaker.net/ngps/m2/INSTALL.html) to build a version compatible with Python2.3, but I've had some mixed results....
9
by: Dan Cescato | last post by:
When I try to build Python 2.3 on HP-UX 10.20 using their cc compiler, I get a compile failure. It comes down to Python/thread_pthread.h deciding that my machine is an unsupported system, as...
3
by: Todd Miller | last post by:
Hi, I recently discovered an assertion failure in the Python garbage collection system when scripts using our C extension (numarray) exit. The assertion is activated for Pythons configured using...
0
by: Jeff Epler | last post by:
I tried building the documentation with "make pdf", and got a long list of warnings on "lib" (hbox, vbox, and reference warnings), ending with a TeX error: LaTeX Warning: Reference...
0
by: Michael Ströder | last post by:
HI! I'm trying to build Python2.4 on a rather old Debian machine. I only have a shell account there. That's why I'm very limited in my actions. Building _socket fails (see below) although I...
10
by: x2164 | last post by:
hi all, Linux 2.4.28 Glibc 2.2.5 gcc 2.95.3 I'm new to Python. I've compiled Python 2.4 from tar file.
20
by: Ilias Lazaridis | last post by:
" A cooperation between Sun Microsystems and IBM&Co. in conjunction with liberal & high evolutive communities would result in an nearly unbeatable programming platform. My evaluation has shown:...
3
by: skip | last post by:
I'm having no success building the curses module on Solaris 8 (yes, I know it's ancient - advancing the state-of-the-art is not yet an option) for Python 2.4. Sun provides an apparently ancient...
20
by: Thorsten Kampe | last post by:
Hi, I've already sent this to the Komodo mailing list (which seemed to me the more appropriate place) but unfortunately I got no response. I'd like to build a Python GUI app. Neither Tkinter...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.