Re: [Fink-devel] gcc47 bug

2012-08-16 Thread Jack Howarth
On Thu, Aug 16, 2012 at 02:57:50PM +0200, laurent pagani wrote: > Dear Fink lovers, > > I installed gcc4.7 via fink on my MacBook Pro, OSX 10.7.4 and > /sw/bin/gfortran does not work anymore. > When I try to compile I get this message : > > Monte-Carlo>gfortran -o prov prov.f > gfortran: error t

[Fink-devel] gcc47 bug

2012-08-16 Thread laurent pagani
Dear Fink lovers, I installed gcc4.7 via fink on my MacBook Pro, OSX 10.7.4 and /sw/bin/gfortran does not work anymore. When I try to compile I get this message : Monte-Carlo>gfortran -o prov prov.f gfortran: error trying to exec 'f951': execvp: No such file or directory though the file is ther

Re: [Fink-devel] gcc47 bug

2012-08-16 Thread laurent pagani
Jack, > Did you try executing... > > which gfortran Yes. > ...to make sure you really are using the one from fink as well as trying to > compile with an explicit path... > > /sw/bin/gfortran -o prov prov.f too! Monte-Carlo>which gfortran /sw/bin/gfortran Monte-Carlo>ls -l `which gfortran`

Re: [Fink-devel] gcc47 bug

2012-08-16 Thread Jack Howarth
On Thu, Aug 16, 2012 at 04:02:17PM +0200, laurent pagani wrote: > Jack, > > > Did you try executing... > > > > which gfortran > > Yes. > > > ...to make sure you really are using the one from fink as well as trying to > > compile with an explicit path... > > > > /sw/bin/gfortran -o prov prov

Re: [Fink-devel] gcc47 bug

2012-08-16 Thread Alexander Hansen
On 8/16/12 5:57 AM, laurent pagani wrote: > Dear Fink lovers, > > I installed gcc4.7 via fink on my MacBook Pro, OSX 10.7.4 and > /sw/bin/gfortran does not work anymore. > When I try to compile I get this message : > > Monte-Carlo>gfortran -o prov prov.f > gfortran: error trying to exec 'f951':

Re: [Fink-devel] gcc47 bug

2012-08-16 Thread laurent pagani
> > So, just so that we're all clear: > > You renamed /usr/local before reinstalling Fink, correct? Yes. > > How were you relinking /sw/bin/gfortran for gcc46? Are you just using > "fink install gcc46" or are you manually changing the symlink? Manually. The install is too long to make "quick

Re: [Fink-devel] gcc47 bug

2012-08-16 Thread laurent pagani
> What do you get for... > > howarth% /sw/bin/gfortran -v > Using built-in specs. > COLLECT_GCC=/sw/bin/gfortran > COLLECT_LTO_WRAPPER=/sw/lib/gcc4.7/libexec/gcc/x86_64-apple-darwin12.0.0/4.7.2/lto-wrapper > Target: x86_64-apple-darwin12.0.0 > Configured with: ../gcc-4.7-20120710/configure --prefi

Re: [Fink-devel] gcc47 bug

2012-08-16 Thread Jack Howarth
On Thu, Aug 16, 2012 at 05:36:21PM +0200, laurent pagani wrote: > > What do you get for... > > > > howarth% /sw/bin/gfortran -v > > Using built-in specs. > > COLLECT_GCC=/sw/bin/gfortran > > COLLECT_LTO_WRAPPER=/sw/lib/gcc4.7/libexec/gcc/x86_64-apple-darwin12.0.0/4.7.2/lto-wrapper > > Target: x86_

Re: [Fink-devel] gcc47 bug

2012-08-16 Thread laurent pagani
>>> /sw/lib/gcc4.7/bin/gfortran-fsf-4.7 -o prov prov.f >> >> This one works!!! > > Please keep in mind that the gcc4x split-off packages all conflict and > you can't go in and just randomly change the symlinks that they contain. > Unless you purged your built debs, you should have been able to si

Re: [Fink-devel] gcc47 bug

2012-08-16 Thread laurent pagani
Hum, Looks like there has been a double confusion. You meant fink reinstall gcc46 and not 47 to indeed return to the 46 version (which answers part of my question). So I am now trying to reinstall gcc46 to see if it works anew. Laurent Le 16 août 2012 à 17:57, Jack Howarth a écrit : > On Thu,

Re: [Fink-devel] gcc47 bug

2012-08-16 Thread Jack Howarth
On Thu, Aug 16, 2012 at 06:30:41PM +0200, laurent pagani wrote: > Hum, > > Looks like there has been a double confusion. You meant fink reinstall gcc46 > and not 47 to indeed return to the 46 version (which answers part of my > question). > So I am now trying to reinstall gcc46 to see if it work

Re: [Fink-devel] gcc47 bug

2012-08-16 Thread laurent pagani
Jack, 1) I am not sure to understand what "a clean bootstrap of fink" is and how to do it. Going to fink….org, it says there is no binary to install fink for 10.7 and it looks painful to restart from older versions and do some upgrade. So there is something I don't understand here. I am no guru

Re: [Fink-devel] gcc47 bug (solved)

2012-08-16 Thread laurent pagani
Jack, Sounds like I found the problem : I had some problems migrating from snow leopard to lion and kept two versions of /sw one /sw_old, one /sw_OK and /sw was a symlink on the second one. Renaming /sw_OK to /sw cured the gfortran compiler bug… I don't understand why but the most important is

Re: [Fink-devel] gcc47 bug

2012-08-16 Thread Jack Howarth
On Thu, Aug 16, 2012 at 07:57:09PM +0200, laurent pagani wrote: > Jack, > > 1) I am not sure to understand what "a clean bootstrap of fink" is and how to > do it. Going to fink….org, it says there is no binary to install fink for > 10.7 and it looks painful to restart from older versions and do

Re: [Fink-devel] gcc47 bug (solved)

2012-08-16 Thread Jack Howarth
On Thu, Aug 16, 2012 at 08:22:24PM +0200, laurent pagani wrote: > Jack, > > Sounds like I found the problem : > > I had some problems migrating from snow leopard to lion and kept two versions > of /sw one /sw_old, one /sw_OK and /sw was a symlink on the second one. > Renaming /sw_OK to /sw cure

Re: [Fink-devel] gcc47 bug (solved)

2012-08-16 Thread laurent pagani
Jack, Thanks for all the tips and step by step instructions. The /sw_old was useful indeed to get the list of fink packages and also when I moved to Lion, xemacs was not available in fink for 10.7 and I had to launch the one in /sw_old for a while. Now that xemacs is back (almost, some issues I

Re: [Fink-devel] gcc47 bug (solved)

2012-08-16 Thread Jack Howarth
On Thu, Aug 16, 2012 at 10:06:25PM +0200, laurent pagani wrote: > Jack, > > Thanks for all the tips and step by step instructions. > The /sw_old was useful indeed to get the list of fink packages and also when > I moved to Lion, xemacs was not available in fink for 10.7 and I had to > launch th