while port install gcc34...
Michael Brian Bentley
bentley at crenelle.com
Thu Mar 22 11:25:15 PDT 2007
Hi,
I just tried to install gcc 3.4.6 on a relatively clean Mac Intel OS
X 10.4.8 system with a few port installed packages, with the results
below. I have XCode Tools 2.4 installed.
Do I need a later version of XCode Tools (2.4.1?) for this to work?
Thanks,
-Mike
bentley-mbp-osx:~ bentley$ sudo port install gcc34
Password:
---> Fetching gcc34
---> Attempting to fetch gcc-3.4.6.tar.bz2 from
ftp://ftp.gnu.org/gnu//gcc/gcc-3.4.6
---> 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/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc34/work/build"
&& CC=/usr/bin/gcc-3.3
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc34/work/gcc-3.4.6/configure
--prefix=/opt/local --enable-languages=c,c++,f77,objc,java
--libdir=/opt/local/lib/gcc-3.4 --infodir=/opt/local/share/info
--mandir=/opt/local/share/man --with-system-zlib --disable-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.8.2
checking target system type... i686-apple-darwin8.8.2
checking build system type... i686-apple-darwin8.8.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
(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: Status 1 encountered during processing.
bentley-mbp-osx:~ bentley$ /usr/bin/gcc-3.3 -v
Using built-in specs.
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1819)
More information about the macports-users
mailing list