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': execvp: No such file or directory > > though the file is there : > > bin>ll /sw/lib/gcc4.7/libexec/gcc/x86_64-apple-darwin11.4.0/4.7.1/f951 > -rwxr-xr-x 1 root admin 16M Aug 16 14:07 > /sw/lib/gcc4.7/libexec/gcc/x86_64-apple-darwin11.4.0/4.7.1/f951 > > > I updated XCODE from 4.2.1 to 4.4.1, reinstalled fink, rebuilt gcc4.7 but the > result is the same. > > LP>fink --version > Package manager version: 0.34.2 > Distribution version: selfupdate-rsync Tue Aug 14 12:49:19 2012, 10.7, x86_64 > Trees: local/main stable/main > > Copyright (c) 2001 Christoph Pfisterer > Copyright (c) 2001-2012 The Fink Package Manager Team > This program is distributed in the hope that it will be useful, > but WITHOUT ANY WARRANTY; without even the implied warranty of > MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > GNU General Public License for more details. > > LP>fink list xcode > Information about 5789 packages read in 5 seconds. > i xcode 4.4.0.0.1.1 [virtual package representing the > develop... > i xcode.app 4.4.1-1 [virtual package representing Xcode] > > I have tried to relink /sw/bin/gfortran to its previous version under gcc4.6 > but the result is the same. Something has changed in the /sw environment > which prevents gfortran to work ? > > I have a gfortran version under /usr/local which does work. I, of course, > moved /usr/local to /usr/mylocal before doing any of these things above. > > What is wrong with /sw/bin/gfortran ? > > Laurent > PS : I am not a guru. Don't hesitate to give *uncoded* explanations. Thanks > > Laurent Pagani > LERMA, UMR8112 du CNRS > Observatoire de Paris > 75014 Paris > France > Tel: (33) 1 40 51 20 13 > Fax: (33) 1 40 51 20 02 > e-mail: laurent.pag...@obspm.fr > http://aramis.obspm.fr/~pagani > > "Falling leaves are a good sign. It's when you see them jumping back onto the > trees that you're in trouble" Lucy van Pelt (C. Schulz) > >
So, just so that we're all clear: You renamed /usr/local before reinstalling Fink, correct? How were you relinking /sw/bin/gfortran for gcc46? Are you just using "fink install gcc46" or are you manually changing the symlink? -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel