Can't install python25

Ryan Schmidt ryandesign at macports.org
Tue Oct 9 23:16:41 PDT 2007


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.

> 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]

> 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".



More information about the macports-users mailing list