Re: port install gcc40 or gcc41 fails

Nathan Nutter <[email protected]> Fri, 1 Sep 2006 11:21:41 -0700
Newsgroups gmane.os.opendarwin.darwinports
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--===============0217607204==
Content-Type: multipart/signed; protocol="application/pgp-signature";
	micalg=pgp-sha1; boundary="Apple-Mail-2-586559354"
Content-Transfer-Encoding: 7bit

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-2-586559354
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed

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 =20
> to install either of the two results in the first output shown =20
> below (internal compiler error). i am using the stock i686-apple-=20
> 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 =20=

> lot!
>
> 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 "/opt/=20
> local/var/db/dports/build/=20
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_=20=

> dports_lang_gcc40/work/build" && make profiledbootstrap -j 2" =20
> 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 =
-O2" =20
> "CXXFLAGS=3D-g -O2" "CFLAGS_FOR_BUILD=3D" "CFLAGS_FOR_TARGET=3D-O2 -g =
-=20
> O2" "INSTALL=3D/usr/bin/install -c" "INSTALL_DATA=3D/usr/bin/install =
-c =20
> -m 644" "INSTALL_PROGRAM=3D/usr/bin/install -c" "INSTALL_SCRIPT=3D/usr/=20=

> bin/install -c" "LDFLAGS=3D" "LIBCFLAGS=3D-g -O2" =20
> "LIBCFLAGS_FOR_TARGET=3D-O2 -g -O2" "MAKE=3Dmake" "MAKEINFO=3Dmakeinfo =
--=20
> split-size=3D5000000 " "PICFLAG=3D" "PICFLAG_FOR_TARGET=3D" =
"SHELL=3D/bin/=20
> sh" "EXPECT=3Dexpect" "RUNTEST=3Druntest" "RUNTESTFLAGS=3D" =
"exec_prefix=3D/=20
> opt/local" "infodir=3D/opt/local/share/info" "libdir=3D/opt/local/lib/=20=

> gcc40" "prefix=3D/opt/local" "tooldir=3D/opt/local/i386-apple-=20
> darwin8.7.1" "AR=3Dar" "AS=3Das" "CC=3D/usr/bin/gcc-4.0" =
"CXX=3D/usr/bin/g+=20
> +-4.0" "LD=3Dld" "LIBCFLAGS=3D-g -O2" "NM=3Dnm" "PICFLAG=3D" =20
> "RANLIB=3Dranlib" "DESTDIR=3D" DO=3Dall multi-do # 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/ -B/opt/local/i386-apple-darwin8.7.1/=20=

> bin/" CC_FOR_BUILD=3D" stage1/xgcc -Bstage1/ -B/opt/local/i386-apple-=20=

> darwin8.7.1/bin/" \
>          STAGE_PREFIX=3Dstage1/ \
>          ADAFLAGS=3D"" CFLAGS=3D"-O2 -g -fomit-frame-pointer" =20
> LDFLAGS=3D"" 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 =20=

> java 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 -I/opt/local/var/db/=20
> dports/build/=20
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_=20=

> dports_lang_gcc40/work/gcc-4.0.3/gcc -I/opt/local/var/db/dports/=20
> build/=20
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_=20=

> dports_lang_gcc40/work/gcc-4.0.3/gcc/build -I/opt/local/v
>
> _______________________________________________
> Darwinports mailing list
> [email protected]
> http://www.opendarwin.org/mailman/listinfo/darwinports


--Apple-Mail-2-586559354
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFE+Ho2/i8lVbthirgRAgUwAKDfSwW8lC0TQDCr1Ki3BHfYuVHbAACfRE3Y
do1i+uXlC07QtbYA7A5aAeE=
=59iO
-----END PGP SIGNATURE-----

--Apple-Mail-2-586559354--

--===============0217607204==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Darwinports mailing list
[email protected]
http://www.opendarwin.org/mailman/listinfo/darwinports

--===============0217607204==--