[MacPorts] #14923: python25 +universal fails to compile Mac OS 10.4

MacPorts trac at macosforge.org
Mon Apr 7 09:03:58 PDT 2008

#14923: python25 +universal fails to compile Mac OS 10.4
  Reporter:  wjb at byu.edu  |       Owner:  mww at macports.org  
      Type:  defect       |      Status:  new               
  Priority:  Normal       |   Milestone:  Port Bugs         
 Component:  ports        |     Version:  1.5.2             
Resolution:               |    Keywords:  python25 universal
Comment (by rigahial at bugmenot.com):

 I had the same error message building python25 +universal on Mac OS X
 10.5.2 with MacPorts 1.6.0. I was able to work around it and build a
 universal Python by modifying patch-Makefile.pre.in.diff.

 The distributed path-Makefile.pre.in.diff calls /usr/bin/libtool with
 $(LDFLAGS) in its argument list. But /usr/bin/libtool doesn't understand
 "-arch", or the other options that appeared in $(LDFLAGS) it appears. So I
 just removed the $(LDFLAGS) part. I don't know if that's the right thing,
 but it worked for me.

Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14923#comment:3>
MacPorts </projects/macports>
Ports system for Mac OS

More information about the macports-tickets mailing list