473,394 Members | 1,841 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,394 software developers and data experts.

Compiling fails on Mac OS X 10.5

mc
Hi!
I'm trying to compile on my Macbook with OS X 10.5. I have all updates
and Xcode 3.0 installed.

I checked python out with: svn checkout http://svn.python.org/projects/python/branches/py3k
After that I did "./configure" in the created "py3k" dir. Everything
went fine. But make fails with the following error message:
ranlib libpython3.0.a
gcc -u _PyMac_Error -o python.exe \
Modules/python.o \
libpython3.0.a -ldl
make: *** [sharedmods] Error 1

I tried checking out many times. I also tried de 3.0a2 release,gives
me the same error. I've heard others have compiled it successfully on
Leopard so I wonder what causes the problems on my system.
Jan 12 '08 #1
3 1389
On Jan 12, 9:41*am, mc <m.ottene...@gmail.comwrote:
Hi!
I'm trying to compile on my Macbook with OS X 10.5. I have all updates
and Xcode 3.0 installed.

I checked python out with: svn checkouthttp://svn.python.org/projects/python/branches/py3k
After that I did "./configure" in the *created "py3k" dir. Everything
went fine. But make fails with the following error message:
ranlib libpython3.0.a
gcc *-u _PyMac_Error -o python.exe \
* * * * * * * * * * * * Modules/python.o \
* * * * * * * * * * * * libpython3.0.a -ldl
make: *** [sharedmods] Error 1

I tried checking out many times. I also tried de 3.0a2 release,gives
me the same error. I've heard others have compiled it successfully on
Leopard so I wonder what causes the problems on my system.
Could you post the rest of the ./configure and compilation output?
make might be rereporting an error that occurred further up.

I don't see anything related on the Python bug tracker. It might be
worth posting a bug report at bugs.python.org

Mark
Jan 12 '08 #2
mc
On Jan 12, 5:34 pm, Mark Dickinson <dicki...@gmail.comwrote:
On Jan 12, 9:41 am, mc <m.ottene...@gmail.comwrote:
Hi!
I'm trying to compile on my Macbook with OS X 10.5. I have all updates
and Xcode 3.0 installed.
I checked python out with: svn checkouthttp://svn.python.org/projects/python/branches/py3k
After that I did "./configure" in the created "py3k" dir. Everything
went fine. But make fails with the following error message:
ranlib libpython3.0.a
gcc -u _PyMac_Error -o python.exe \
Modules/python.o \
libpython3.0.a -ldl
make: *** [sharedmods] Error 1
I tried checking out many times. I also tried de 3.0a2 release,gives
me the same error. I've heard others have compiled it successfully on
Leopard so I wonder what causes the problems on my system.

Could you post the rest of the ./configure and compilation output?
make might be rereporting an error that occurred further up.

I don't see anything related on the Python bug tracker. It might be
worth posting a bug report at bugs.python.org

Mark

Alright!
../configure output is here: http://rafb.net/p/NqSmqc25.html
and make output here: http://rafb.net/p/kzeb2e29.html
Jan 12 '08 #3
On Jan 12, 12:05*pm, mc <m.ottene...@gmail.comwrote:
Alright!
./configure output is here:http://rafb.net/p/NqSmqc25.html
and make output here:http://rafb.net/p/kzeb2e29.html
Hmm. Doesn't seem to be anything unusual here. I was expecting to see
some more informative error message somewhere. Does this output
definitely include everything sent to stderr and to stdout, or did it
come from just redirecting stdout?

I don't understand where all the

rm: conftest.dSYM: is a directory

lines in the configure output are coming from. Can this possibly be
related?

Anyone else here have any ideas how to proceed?

Mark
Jan 12 '08 #4

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

Similar topics

1
by: A. B., Khalid | last post by:
Hello all. After a search on Google it would seem that the users of Mingw have not had good results in compiling the python sources natively. See at least: ...
1
by: Berthold Höllmann | last post by:
I am trying to compile Python on an Opteron machine using the PGI C compiler under Linux. I use: CC=pgcc ./configure --prefix=/usr/local/gltools/python/Python-2.2.1 \...
5
by: Gernot Frisch | last post by:
class Q { public: template<class T>void foo(){} }; main() { Q q; q.foo<int>(); // error
0
by: stefvienna | last post by:
Hi group, I'm trying compiling Python-2.4.1 and it fails builing the _socket extension with the following message: building '_socket' extension gcc -pthread -DNDEBUG -g -O3 -Wall...
9
by: Martin Petzold | last post by:
Hello, i have got a small problem while compiling my helloworld.c where i include a driver class (comm.c). i compile under winXP with minGW and have got this error: ...
2
by: etienne | last post by:
Hello, I'm trying to compile this C++ code with gcc 3.4.5 under Solaris/SPARC (from a complete application, the file is : FullLinkedList.hh) but the make fails (no problem when compiling under...
8
by: rays | last post by:
Hi, I am trying to port a C++ program which is supposed to be standards compliant. It works fine on Linux with GCC (4.x). But as I try to compile it on Windows, all hell breaks loose. I have been...
0
by: winkatl1213 | last post by:
I was wondering if anyone could help me with cross-compiling Python 2.5.1 to a MIPS target. The approach I'm using is based off the suggestion in the README file that comes with the python...
10
by: Tomás Ó hÉilidhe | last post by:
I'd post this on a gcc newsgroup but I'd be more productive talking to the wall. Anyway, let's say someone throws some source code at you for a particular program and says, "Just compile it, it...
4
by: Colin J. Williams | last post by:
1.I have both 2.5 and 2.6 but both appear, under Recent Projects, as pcbuild. It would be helpful if the Python Version could be indicated. 2.With 2.6, Python compiles and executes OK but...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
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...
0
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.