Opened 19 years ago

Closed 19 years ago

#8380 closed defect (fixed)

BUG: gcc34 fails to install (on Intel MacBook, while trying to install octave)

Reported by: gdegrez@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port:

Description

---> Fetching gcc34 ---> Attempting to fetch gcc-3.4.5.tar.bz2 from ftp://ftp.gnu.org/gnu//gcc/gcc-3.4.5 ---> Attempting to fetch gcc-3.4.5.tar.bz2 from ftp://ftp.uu.net/archive/systems/gnu//gcc/gcc-3.4.5 ---> Attempting to fetch gcc-3.4.5.tar.bz2 from ftp://ftp.de.uu.net/pub/gnu//gcc/gcc-3.4.5 ---> Attempting to fetch gcc-3.4.5.tar.bz2 from ftp://ftp.funet.fi/pub/gnu/prep//gcc/gcc-3.4.5 ---> Verifying checksum(s) for gcc34 ---> Extracting gcc34 ---> Applying patches to gcc34 ---> Configuring gcc34 Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/buil d/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc34/work/build" && CC=/us r/bin/gcc-3.3 /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupd ate_dports_lang_gcc34/work/gcc-3.4.5/configure --prefix=/opt/local --enable-languages=c,c++,f77,objc --libdir=/ opt/local/lib/gcc-3.4 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --with-system-zlib --disabl e-nls --program-suffix=-dp-3.4 --with-local-prefix=/opt/local --with-gxx-include-dir=/opt/local/include/gcc-3.4 /c++/" returned error 1 Command output: creating cache ./config.cache checking host system type... i686-apple-darwin8.5.2 checking target system type... i686-apple-darwin8.5.2 checking build system type... i686-apple-darwin8.5.2 checking for a BSD compatible install... /usr/bin/install -c * This configuration is not supported in the following subdirectories:

target-libobjc target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar

(Any other directories should still work fine.)

gcc-3.3: installation problem, cannot exec `cc1': No such file or directory gcc-3.3: installation problem, cannot exec `cc1': No such file or directory * The command '/usr/bin/gcc-3.3 -o conftest -g conftest.c' failed. * You must set the environment variable CC to a working compiler.

Error: The following dependencies failed to build: gcc34 gnuplot gd2 readline hdf5 teTeX gawk gsed texi2html te xinfo Error: /opt/local/bin/port: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 19 years ago by rhwood@…

Cc: gwright@… removed
Owner: changed from darwinports-bugs@… to gwright@…

Reassigned to maintainer.

Reporter: In future, include maintainer in CC if you can not initally assign the bug. This will ensure that maintainer gets your bug by email.

comment:2 Changed 19 years ago by mww@…

op_sys: Mac OS X 10.0Mac OS X 10.4
Summary: gcc34 fails to install (on Intel MacBook, while trying to install octave)BUG: gcc34 fails to install (on Intel MacBook, while trying to install octave)

comment:3 Changed 19 years ago by gwright@…

Status: newassigned

I'll take a look. There is likely no way to solve this problem in for gcc34 on macintel: building a earlier gcc with a later gcc is "unsupported" according the gcc documentation. This is true for any platform, although sometimes we get lucky.

The latest octave (not yet in DP) builds using gcc40, which should work on macintel, but at the moment has some library issue that causes hundreds of test failures.

-Greg

comment:4 Changed 19 years ago by mww@…

Resolution: fixed
Status: assignedclosed

fortunately version 3.4.6 seems to build just fine with gcc-4.0 on 10.4! :) (just updated)

Note: See TracTickets for help on using tickets.