-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/20/11 3:20 AM, Peter Baumgärtel wrote:
> Dear all,
> 
> I get exactly the same error as Terence while installing gcc46.

Where this error is something like:

/sw/src/fink.build/gcc46-4.6.1-1000/darwin_objdir/./prev-gcc/xgcc
- -B/sw/src/fink.build/gcc46-4.6.1-1000/darwin_objdir/./prev-gcc/
- -B/sw/lib/gcc4.6/x86_64-apple-darwin10.8.0/bin/
- -B/sw/lib/gcc4.6/x86_64-apple-darwin10.8.0/bin/
- -B/sw/lib/gcc4.6/x86_64-apple-darwin10.8.0/lib/ -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.8.0/include -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.8.0/sys-include    -c
- -DIN_GCC_FRONTEND -g -O2 -mdynamic-no-pic -gtoggle -DIN_GCC   -W -Wall
- -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
- -Wmissing-format-attribute -pedantic -Wno-long-long
- -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition
- -Wc++-compat   -DHAVE_CONFIG_H -I. -Ifortran -I../../gcc-4.6.1/gcc
- -I../../gcc-4.6.1/gcc/fortran -I../../gcc-4.6.1/gcc/../include
- -I../../gcc-4.6.1/gcc/../libcpp/include -I/sw/include -I/sw/include
- -I../../gcc-4.6.1/gcc/../libdecnumber
- -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber
- -I/sw/include  -I/sw/include -DCLOOG_INT_GMP -DCLOOG_ORG -I/sw/include
../../gcc-4.6.1/gcc/fortran/module.c -o fortran/module.o
../../gcc-4.6.1/gcc/fortran/module.c:110:1: error: conflicting types
for 'pointer_t'
/usr/include/mach/vm_types.h:40:26: note: previous declaration of
'pointer_t' was here
make[3]: *** [fortran/module.o] Error 1



I already tried
> the suggestion of Alexander (renaming /usr/local/), as I have
> installed a view things with MacPort before.

Macports uses /opt/local rather than /usr/local.

Please do you have any other ideas for fixing my
> installation of gcc46 on 10.6?
> 
> Thanks Peter
> 
> Information: fink -V | head -n 3: Package manager version: 0.31.3 
> Distribution version: selfupdate-rsync Wed Oct 19 23:02:57 2011,
> 10.6, i386 Trees: local/main local/bootstrap stable/main
> 
> 
> 
> 

It's not impossible that you're still getting interference from
Macports, especially if you installed a compiler.  Try renaming
/opt/local temporarily, too.

- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6ggF8ACgkQB8UpO3rKjQ8L6gCfdmC9mii2vYX/nifbN14K7wh6
gV4An2KoWEw5Nbpaq5ZPZUv5YorM8MY9
=XG4z
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to