On 10-Oct-07, at 2:16 AM, Ryan Schmidt wrote:


On Oct 9, 2007, at 13:49, Igor Foox wrote:

On 9-Oct-07, at 2:26 PM, Igor Foox wrote:

I've tried installing python25 using macports and am having some difficulties. I've created a bug report at https:// svn.macosforge.org/projects/macports/ticket/12887 which has all the build errors that I'm getting.

Has anyone else encountered this?

Since the Trac install at svn.macosforge.org requires one to authenticate to even view the ticket

I believe servers are currently being moved/changed so perhaps there's weirdness because of that. However, I believe https access has always required authentication for everything. If you just want people to look at a ticket, post an http (not https) URL.

Whoops, my bad. I was just copy/pasting the URL and I didn't notice that it was https. :-)


I'll repost my errors here as well.

If I try to issue 'sudo port install python25' I get the following:

[snip]

libtool -o libpython2.5.dylib -dynamic  \
        -all_load libpython2.5.a -single_module \
        -install_name /opt/local/lib/libpython2.5.dylib \
        -compatibility_version 2.5 \
        -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib
ld64 failed: in libpython2.5.a(__.SYMDEF), not a valid ppc64 mach- o file
libtool: internal link edit command failed
make: *** [libpython2.5.dylib] Error 1

Error: Status 1 encountered during processing.
treason:~/Documents/Programming/schedulator igorfoox$
-----------------------





If I try running 'sudo port install python25 +universal', I get the following:

[snip]
590.23.2
libtool -o libpython2.5.dylib -dynamic  \
        -all_load libpython2.5.a -single_module \
        -install_name /opt/local/lib/libpython2.5.dylib \
        -compatibility_version 2.5 \
-current_version 2.5 -lSystem -lSystemStubs -arch i386 - arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -L/opt/local/lib
libtool: unknown option character `r' in: -arch

[snip]

It's suspicious that your libtool does not recognize "-arch". Do you have a weird libtool installed? What does "which libtool" show? It should show "/usr/bin/libtool". What does "libtool -V" show? On Mac OS X 10.4.10 with Xcode 2.4.1, it should show "Apple Computer, Inc. version cctools-622.5".

Ah! Seems like you've hit the nail on the head. I had XCode 2.2.1 installed with libtool version 590.23.2. When I upgraded to XCode 2.4.1 with libtool version 622.5 I managed to install python25 correctly.

Thanks for the help!
Igor
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to