Thanks for the tips. I do have a good reason for manually compiling
gcc-4.6.0 (and the gcc46 installation failed -- I'm sending a separate
error report for that) so I'd like to go forward with that rather than
pursuing a different version.

When I tried the suggestion from the FAQ, I got the same error message.

The
$ fink dumpinfo -fconfigureparams gcc46
gives the following result:
Information about 3981 packages read in 1 seconds.
configureparams: --prefix=/sw  --prefix=/sw/lib/gcc4.6
--mandir=/sw/share/man --infodir=/sw/lib/gcc4.6/info \
--enable-languages=c,c++,fortran,lto,objc,obj-c++,java \
--with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw
--with-cloog=/sw --with-mpc=/sw --with-system-zlib \
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--program-suffix=-fsf-4.6 --enable-cloog-backend=isl

And thank you for the information about what goes into $PATH. I''m
really lost as to how to tell my configuration script where to look
for the Fink-installed packages.

Thanks for any further suggestions!




On Mon, Jan 9, 2012 at 3:11 PM, Alexander Hansen
<alexanderk.han...@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 1/9/12 2:37 PM, E. H. Smith wrote:
>
> one further note:
> <snip>
>
>> $ sudo ../gcc-4.6.0/configure --target=$TARGET --prefix=$PREFIX
>> --disable-nls --enable-languages=c,c++ --without-headers
>> --with-gmp=/sw/include/gmp.h --with-mpfc=/sw/include/mpfr.h
>> --with-mpc=/sw/include/mpc.h
>
> Typically --with-foo options aren't looking for a header file, but for
> the path that contains include/ and lib/ .  In this case, /sw should
> suffice.  But check "fink dumpinfo -fconfigureparams gcc46" to see
> what our package uses--this dumps out the arguments given to ./configure.
>
> - --
> 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/
>
> iEYEARECAAYFAk8LSdsACgkQB8UpO3rKjQ88jgCeKWF164JOXbYIIsV4SrVkChzK
> hHwAnRO0+bSmOY4CRjzosBG0w7c1Tty4
> =qfbB
> -----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to