Re: port install gcc40 or gcc41 fails

Erick Tryzelaar <[email protected]> Sat, 02 Sep 2006 10:59:21 -0700
Newsgroups gmane.os.opendarwin.darwinports
Message-ID <[email protected]>
Thats me. First off, scipy 0.5.0 came out, along with numpy 1.0.b4, so=20
I'll try to update the packages this weekend. Second, I'm a little=20
hesitant to have py-scipy depend on a beta version of gcc. Third, even=20
if gcc42 was fine, I can't get gcc42 to build on my machine :( I=20
submitted a bug for that though. Markus, you're the owner of gcc41. Is=20
there any chance of getting it to run on the intel macs?

-e

Nathan Nutter wrote:
> gcc40 and gcc41 don't work on Intel Macs but gcc42 does. Try=20
> installing it, and if the port still tries to install gcc40 or gcc41=20
> then request the maintainer to make the deps >=3D gcc40 instead of just=
=20
> gcc40 or gcc41.
>
> -Nathan
>
> On Aug 31, 2006, at 2:49 PM, Ren=E9 Donner wrote:
>
>> hi everybody!
>>
>> I am trying to install py-scipy04, which depends on gcc40. trying to=20
>> install either of the two results in the first output shown below=20
>> (internal compiler error). i am using the stock=20
>> i686-apple-darwin8-gcc-4.0.1 on a macbook pro und just ran selfupdate.
>>
>> i then tried changing the scipy Portfile to depend on gcc41, but=20
>> installing gcc41 doesn't work either, resulting in output #2   (no=20
>> direct compiler error message apparent to me)
>>
>> i even tried to reinstall the xcode tools, which made no difference.
>>
>> any hints on what i could try would be highly appreciated! thanks a lo=
t!
>>
>> rene
>>
>> -------------------
>> output #1, trying gcc40
>>
>>
>> mia:~ rene$ sudo port install gcc40
>> Password:
>> --->  Building gcc40 with target profiledbootstrap
>> Error: Target com.apple.build returned: shell command "cd=20
>> "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync=
.rsync.darwinports.org_dpupdate_dports_lang_gcc40/work/build"=20
>> && make profiledbootstrap -j 2" returned error 2
>> Command output: make[2]: Nothing to be done for `all'.
>> make[1]: Nothing to be done for `all'.
>> true "AR_FLAGS=3Drc" "CC_FOR_BUILD=3D/usr/bin/gcc-4.0" "CFLAGS=3D-g -O=
2"=20
>> "CXXFLAGS=3D-g -O2" "CFLAGS_FOR_BUILD=3D" "CFLAGS_FOR_TARGET=3D-O2 -g =
-O2"=20
>> "INSTALL=3D/usr/bin/install -c" "INSTALL_DATA=3D/usr/bin/install -c -m=
=20
>> 644" "INSTALL_PROGRAM=3D/usr/bin/install -c"=20
>> "INSTALL_SCRIPT=3D/usr/bin/install -c" "LDFLAGS=3D" "LIBCFLAGS=3D-g -O=
2"=20
>> "LIBCFLAGS_FOR_TARGET=3D-O2 -g -O2" "MAKE=3Dmake" "MAKEINFO=3Dmakeinfo=
=20
>> --split-size=3D5000000 " "PICFLAG=3D" "PICFLAG_FOR_TARGET=3D"=20
>> "SHELL=3D/bin/sh" "EXPECT=3Dexpect" "RUNTEST=3Druntest" "RUNTESTFLAGS=3D=
"=20
>> "exec_prefix=3D/opt/local" "infodir=3D/opt/local/share/info"=20
>> "libdir=3D/opt/local/lib/gcc40" "prefix=3D/opt/local"=20
>> "tooldir=3D/opt/local/i386-apple-darwin8.7.1" "AR=3Dar" "AS=3Das"=20
>> "CC=3D/usr/bin/gcc-4.0" "CXX=3D/usr/bin/g++-4.0" "LD=3Dld" "LIBCFLAGS=3D=
-g=20
>> -O2" "NM=3Dnm" "PICFLAG=3D" "RANLIB=3Dranlib" "DESTDIR=3D" DO=3Dall mu=
lti-do #=20
>> make
>> make[2]: Nothing to be done for `all'.
>> make[1]: Nothing to be done for `all'.
>> make[1]: Nothing to be done for `all'.
>> Bootstrapping training compiler
>> make CC=3D" stage1/xgcc -Bstage1/=20
>> -B/opt/local/i386-apple-darwin8.7.1/bin/" CC_FOR_BUILD=3D" stage1/xgcc=
=20
>> -Bstage1/ -B/opt/local/i386-apple-darwin8.7.1/bin/" \
>>          STAGE_PREFIX=3Dstage1/ \
>>          ADAFLAGS=3D"" CFLAGS=3D"-O2 -g -fomit-frame-pointer" LDFLAGS=3D=
""=20
>> WARN_CFLAGS=3D"\$(GCC_WARN_CFLAGS)" STRICT_WARN=3D"-pedantic=20
>> -Wno-long-long -Wno-variadic-macros -Wold-style-definition "=20
>> libdir=3D/opt/local/lib/gcc40 LANGUAGES=3D"c gcov gcov-dump c++ f95 ja=
va=20
>> objc" MAKEINFO=3D"makeinfo --split-size=3D5000000"=20
>> MAKEINFOFLAGS=3D"--no-split" MAKEOVERRIDES=3D OUTPUT_OPTION=3D"-o \$@"=
 \
>>          CFLAGS=3D"-O2 -g -fomit-frame-pointer -fprofile-generate"
>> stage1/xgcc -Bstage1/ -B/opt/local/i386-apple-darwin8.7.1/bin/ -c  =20
>> -O2 -g -fomit-frame-pointer -fprofile-generate -DIN_GCC   -W -Wall=20
>> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic=20
>> -Wno-long-long -Wno-variadic-macros -Wold-style-definition    =20
>> -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild=20
>> -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsyn=
c.rsync.darwinports.org_dpupdate_dports_lang_gcc40/work/gcc-4.0.3/gcc=20
>> -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsyn=
c.rsync.darwinports.org_dpupdate_dports_lang_gcc40/work/gcc-4.0.3/gcc/bui=
ld=20
>> -I/opt/local/v
>>
>> _______________________________________________
>> Darwinports mailing list
>> [email protected]
>> http://www.opendarwin.org/mailman/listinfo/darwinports
>
> -----------------------------------------------------------------------=
-
>
> _______________________________________________
> Darwinports mailing list
> [email protected]
> http://www.opendarwin.org/mailman/listinfo/darwinports
>  =20