Hello again, Apologies if this has been answered: I searched and couldn't find a fix.
I recently found, after a very happy year of using fink, that all of my fink package updates and new builds were crashing for a range of reasons which seemed to be linked to fink looking for libraries in the wrong locations (this may have been related to some jury-rigging that had been necessary to install a different program without fink). I then decided to attempt a complete reinstall of fink, deleting /Applications/Fink/* and moving /sw to /sw2 as a backup. When trying to install fink I receive the following error message: %%%%%%%%%%%%%%%%%%%%%%%%% checking whether /sw/var/lib/fink/path-prefix-libcxx/g++ understands -c and -o together... no checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check ### execution of ./configure failed, exit code 1 phase compiling: ncurses-5.9-20110507-1 failed Package manager version: 0.38.2 Distribution version: selfupdate-point (bootstrap), 10.9, x86_64 Trees: local/main stable/main Xcode.app: 6.1 Xcode command-line tools: 6.1.0.0.1.1413057044 Max. Fink build jobs: 1 ERROR: Bootstrap phase 2 failed! %%%%%%%%%%%%%%%%%%%%%%%%% For reference: ls -l /usr/bin/gcc /usr/bin/g++ /usr/bin/cpp /usr/bin/c++ lrwxr-xr-x 1 root wheel 7 23 Sep 2013 /usr/bin/c++ -> clang++ -rwxr-xr-x 1 root wheel 14224 23 Sep 2013 /usr/bin/cpp lrwxr-xr-x 1 root wheel 8 31 Oct 14:34 /usr/bin/g++ -> llvn-g++ -rwxr-xr-x 1 root wheel 14224 23 Sep 2013 /usr/bin/gcc and which cpp c++ /usr/bin/cpp /usr/bin/c++ gcc, c++ and g++ successfully compile a hello world. One concern is that fink seems to be looking for cpp in /lib/cpp and not /usr/bin/cpp: is this the problem? If so, should it just be fixed with a symlink? Many thanks, -- View this message in context: http://fink.9193.n7.nabble.com/Fink-install-fail-cpp-fails-sanity-check-tp47031.html Sent from the fink-beginners mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ 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