Opened 14 years ago

Closed 14 years ago

#23109 closed defect (duplicate)

gcc43 won't build as 32 bit

Reported by: ndoc2@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: motya@…, probono@…, gchaynes@…
Port: gcc43

Description

Just started over with a new install of 1.8.2, hoping to build everything in 32 bit mode on Snow Leopard and a MacBook Pro (intel).

Unfortunately, I am not able to install gcc43, with build_arch i386 in the /opt/local/etc/macports/macports.conf file. Not quite understanding why this shouldn't be possible.

Complaint is the the mpfr.h file is not the correct version, though it is 2.4.2.

Change History (8)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to mww@…
Port: gcc43 added

Please remember to fill in the Port field and cc the maintainer.

comment:2 Changed 14 years ago by motya@…

Cc: motya@… added

Cc Me!

comment:3 Changed 14 years ago by motya@…

checking for correct version of mpfr.h... no
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
Try the --with-gmp and/or --with-mpfr options to specify their locations.
Copies of these libraries' source code can be found at their respective
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
See also http://gcc.gnu.org/install/prerequisites.html for additional info.
If you obtained GMP and/or MPFR from a vendor distribution package, make
sure that you have installed both the libraries and the header files.
They may be located in separate packages.
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_gcc43/work/build" && ../gcc-4.3.4/configure --prefix=/opt/local --build=i386-apple-darwin10 --enable-languages=c,c++,objc,obj-c++,java,fortran --libdir=/opt/local/lib/gcc43 --includedir=/opt/local/include/gcc43 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.3 --with-gxx-include-dir=/opt/local/include/gcc43/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local " returned error 1
DEBUG: Backtrace: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build" && ../gcc-4.3.4/configure --prefix=/opt/local --build=i386-apple-darwin10 --enable-languages=c,c++,objc,obj-c++,java,fortran --libdir=/opt/local/lib/gcc43 --includedir=/opt/local/include/gcc43 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.3 --with-gxx-include-dir=/opt/local/include/gcc43/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local " returned error 1
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for gcc43): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

comment:4 Changed 14 years ago by probono@…

Cc: probono@… added

Cc Me!

comment:5 Changed 14 years ago by probono@…

Same here, also with build_arch i386 in the /opt/local/etc/macports/macports.conf file on a Snow Leopard machine.

comment:6 Changed 14 years ago by gchaynes@…

Cc: gchaynes@… added

Cc Me!

comment:7 in reply to:  6 Changed 14 years ago by gchaynes@…

Adding my two cents. I'm attempting to rebuild all of MacPorts in 32 bit mode due to ongoing delays in getting wxWidgets and wxPython working on 64-bit. Unfortunately, this failure of GCC means I now can't do anything. Ack.

comment:8 Changed 14 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.