On 4/11/12 11:59 AM, Dan Richman wrote: > Sorry for the ambiguity in the subject line. My fink installation > seemed to go smoothly, but since I met an error during my first > installation process (of relax-py27 version 1.3.10-1) I figured this > message was appropriate for the beginner list. > > I was installing from source using the command > fink install relax-py27 > > The installation proceeded until a section called Compiling the C > modules and stopped here: > > gcc -o maths_fns/c_chi2.os -c -m64 -I/sw/include/python2.7 > -I/sw/lib/python2.7/site-packages/numpy/core/include -fPIC > maths_fns/c_chi2.c > gcc: error trying to exec 'cc1': execvp: No such file or directory > scons: *** [maths_fns/c_chi2.os] Error 1 > scons: building terminated because of errors. > ### execution of /sw/bin/python2.7 failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-relax-py27-1.3.10-1 > (Reading database ... 52433 files and directories currently installed.) > Removing fink-buildlock-relax-py27-1.3.10-1 ... > Failed: phase compiling: relax-py27-1.3.10-1 failed > > A Google search for the "gcc: error trying to exec 'cc1'" line has > yielded some information that has only seemed partially relevant. I've > found locations of cc1 and tried putting them in my path using setenv > lines in my .cshrc, but this hasn't made a difference. > > Here's more of my information: > > Package manager version: 0.32.5.5 > Distribution version: selfupdate-rsync Wed Apr 11 11:24:42 2012, 10.7, > x86_64 > Trees: local/main stable/main > Xcode: 4.2.1 > Max. Fink build jobs: 1 > > Any specific help or general lessons in Unix, fink, or gcc would be > appreciated. > Thanks, --Dan > The 'fink' command deliberately doesn't use your PATH. You can see what 'fink' is using for its PATH by running
fink dumpinfo -ePATH relax-py27 And "cc1" is normally not in the PATH. The relax-py27 package appears to be using the llvm-gcc-4.2 compiler, and so you should have: /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/cc1 /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/cc1obj /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/cc1objplus /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/cc1plus Are those present? -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/2012/02/21/got-job/ ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners