Re: [Fink-users] GMP in /usr/local

2015-03-23 Thread Jack Howarth
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

[Fink-users] GMP in /usr/local

2015-03-23 Thread Cyrille Artho
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 re

Re: [Fink-users] GMP in /usr/local

2015-03-23 Thread Alexander Hansen
> On Mar 23, 2015, at 1:43 AM, Cyrille Artho 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 sched

Re: [Fink-users] GMP in /usr/local

2015-03-23 Thread Alexander Hansen
> On Mar 23, 2015, at 4:26 PM, Cyrille Artho wrote: > > 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. > > Inc

Re: [Fink-users] GMP in /usr/local

2015-03-23 Thread Jack Howarth
Alexander, Attached is the current MacPorts portsandbox.tcl which just seems to setup a profile to send to /usr/bin/sandbox-exec. Jack On Mon, Mar 23, 2015 at 7:33 PM, Alexander Hansen wrote: > > >> On Mar 23, 2015, at 4:26 PM, Cyrille Artho wrote: >> >> Hi all, >> Th

Re: [Fink-users] GMP in /usr/local

2015-03-23 Thread Alexander Hansen
I don’t do TCL, so that’s just absolute gibberish to me. > On Mar 23, 2015, at 5:27 PM, Jack Howarth wrote: > > Alexander, >Attached is the current MacPorts portsandbox.tcl which just > seems to setup a profile to send to /usr/bin/sandbox-exec. >Jack > > On Mon, Mar

Re: [Fink-users] GMP in /usr/local

2015-03-23 Thread Cyrille Artho
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 startin

Re: [Fink-users] GMP in /usr/local

2015-03-23 Thread Cyrille Artho
It's been over 15 years since I last used tcl... :-) It's an interesting programming language and probably the first widely used one that allows for "dictionary-style" parameters like in Python, so you can set parameters by name. This file (portsandbox.tcl) does not seem to use this feature, thou

Re: [Fink-users] GMP in /usr/local

2015-03-23 Thread Jack Howarth
Actually, the FAQ item for "So with MacPorts under /opt/local I can use /usr/local freely?" at https://trac.macports.org/wiki/FAQ clarifies that trace mode must be used to hide /usr/local. That code is in porttrace.tcl. Note that this isn't the default behavior for port. On Mon, Mar 23, 2015 at 9: