[MacPorts] #24194: gcc42, gcc43, gcc44 won't compile with non-default build_arch
MacPorts
noreply at macports.org
Wed Dec 29 22:53:10 PST 2010
#24194: gcc42, gcc43, gcc44 won't compile with non-default build_arch
-------------------------------+--------------------------------------------
Reporter: gvibe06@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: gcc44 gcc43 gcc42
-------------------------------+--------------------------------------------
Comment(by macports@…):
Here is a potential solution/workaround:
I think this is a bug in the configure script for gcc44 (or whatever auto-
generates the configure script):
In
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/gcc-4.4.5/configure"
Line 4607:
if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
have_gmp=yes
If I understand shell language properly (and I do have a passing
familiarity), I think the line should be:
if test -d ${srcdir}/gcc && test "x$have_gmp" = xyes; then
have_gmp=yes
I tried making that change in my local installation, and now my gcc44
build is chugging along.
I am going to sleep now, but I'll see in the morning if it succeeded.
WARNING: I am by no means an expert in macports, but I have worked with
shell over the years, and I have compiled a lot of code from fink and
macports.
--
Ticket URL: <https://trac.macports.org/ticket/24194#comment:20>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list