[MacPorts] #13701: python25 +universal, not compiling
MacPorts
trac at macosforge.org
Sun Dec 23 14:28:35 PST 2007
#13701: python25 +universal, not compiling
-----------------------------------+----------------------------------------
Reporter: andre.david at gmail.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.5.2
Keywords: crt1.10.5, universal |
-----------------------------------+----------------------------------------
Hi,
I was trying to get a x86_64 binary of python, so I decided to install
python25 +universal, which stops with:
{{{
checking size of wchar_t... configure: error: cannot compute sizeof
(wchar_t), 77
See `config.log' for more details.
Error: Target org.macports.configure returned: configure failure: shell
command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.1"
&& ./configure --prefix=/opt/local --enable-shared
--mandir=/opt/local/share/man --disable-framework --enable-universalsdk "
returned error 1
}}}
The log indicates:
{{{
configure:19754: checking size of wchar_t
configure:20079: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/include
-D__DARWIN_UNIX03 -arch i386 -arch ppc -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -L/opt/local/lib
conftest.c >&5
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
}}}
so I looked around and found
http://trac.macports.org/projects/macports/ticket/13475 . I applied the
patch to both files I found (gotta brush up on the organization...)
{{{
$ grep "10\.4" `locate portconfigure.tcl`
/opt/local/share/macports/Tcl/port1.0/portconfigure.tcl: set sysroot
"/Developer/SDKs/MacOSX10.4u.sdk"
/opt/local/share/macports/Tcl/port1.0/portconfigure.tcl:default
configure.universal_cflags {"-isysroot $sysroot -arch i386 -arch ppc
-mmacosx-version-min=10.4"}
/opt/local/share/macports/Tcl/port1.0/portconfigure.tcl:default
configure.universal_cxxflags {"-isysroot $sysroot -arch i386 -arch ppc
-mmacosx-version-min=10.4"}
/opt/local/var/macports/sources/rsync.macports.org/release/base/src/port1.0/portconfigure.tcl:
set sysroot "/Developer/SDKs/MacOSX10.4u.sdk"
/opt/local/var/macports/sources/rsync.macports.org/release/base/src/port1.0/portconfigure.tcl:default
configure.universal_cflags {"-isysroot $sysroot -arch i386 -arch ppc
-mmacosx-version-min=10.4"}
/opt/local/var/macports/sources/rsync.macports.org/release/base/src/port1.0/portconfigure.tcl:default
configure.universal_cxxflags {"-isysroot $sysroot -arch i386 -arch ppc
-mmacosx-version-min=10.4"}
}}}
and the error persists.
Any ideas?
Thanks,
Andre
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13701>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list