Hi all, Thank you for your responses. I see that autotools are very eager to look into /usr/local no matter what, so I have built gcc by temporarily renaming /usr/local this time. I will try the other workaround next time.
Incidentally, Mac Ports seems to have found a solution: "Note that starting with 2.3.0, MacPorts can automatically hide /usr/local (and all other files a port does not depend on) from ports' build systems. This feature is called trace mode and is activated by providing the -t flag to port". This seems to work in almost all cases. I wonder if it is possible to implement this for fink? (I don't know how the "trace mode" works, but having this option would be helpful if it is known to work well.) On Tue, Mar 24, 2015 at 4:07 AM, Alexander Hansen <alexanderk.han...@gmail.com> wrote: > >> On Mar 23, 2015, at 1: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 >> > > If it were that easy we’d do it. /usr/local is a special location to the > build tools, so it is essentially impossible to mask it. Don’t expect an > update that resolves this issue anytime soon. > > -- > Alexander Hansen, Ph.D. > Fink User Liaison > -- 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