[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Compiling fails on Mac OS X 10.5

mc

1/12/2008 2:42:00 PM

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/bra...
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.
3 Answers

Mark Dickinson

1/12/2008 4:34:00 PM

0

On Jan 12, 9:41 am, mc <m.ottene...@gmail.com> wrote:
> 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/bra...
> 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

mc

1/12/2008 5:06:00 PM

0

On Jan 12, 5:34 pm, Mark Dickinson <dicki...@gmail.com> wrote:
> On Jan 12, 9:41 am, mc <m.ottene...@gmail.com> wrote:
>
>
>
> > 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/bra...
> > 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/NqS...
and make output here: http://rafb.net/p/kze...

Mark Dickinson

1/12/2008 7:28:00 PM

0

On Jan 12, 12:05 pm, mc <m.ottene...@gmail.com> wrote:
> Alright!
> ./configure output is here:http://rafb.net/p/NqS...
> and make output here:http://rafb.net/p/kze...

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