You might try commenting out the "exit 1" in the gcc4x info files and
replaceing it with...

/usr/bin/find . -type f -name "configure" -exec perl -pi -e
's|ac_default_prefix=/usr/local|ac_default_prefix=%p|g' {} \;

and see if that is sufficient to allow the gcc4x packages to build for
you with gmp in /usr/local.
          Jack
ps In general, having development libraries in /usr/local is a really
bad idea in fink as that option isn't supported and you may end up
with odd bugs if the headers and libs used in the builds get out of
sync (i.e. the header from one release of a library is used with the
shared library itself from a different release). This has the
possibility to really destabilize the code.

On Mon, Mar 23, 2015 at 4:43 AM, Cyrille Artho <cyrille.ar...@gmail.com> wrote:
> Hi all,
> With a recent update, gcc refuses to build if GMP is in /usr/local.
>
> However, I need GMP there for other purposes so I can't really "move
> aside /usr/local". Having to do this temporarily would require me to
> carefully schedule my activities for the rather long time gcc takes to
> build, and remember to move things back, every time gcc is updated.
>
> Is there no way how fink's gcc can set its PATH, LD_LIBRARY_PATH,
> etc., so this problem does not occur anymore? I hope the package will
> soon be updated so this issue no longer appears.
>
> --
> Regards,
> Cyrille Artho

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
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