C++ preprocessor fails sanity check




I am trying to install software (tetex) using Fink on a G4 PowerBook (1 GHz). I get an error message when it checks the C++ preprocessor (see below). I had this exact error when I attempted to install on my G3, and I got around it by reinstalling the Developer Tools (or anyway, that's what I did between it not working and working). But that hasn't worked this time.

Thanks for any help


Error message:

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
### execution of /var/tmp/tmp.2.CDsLG6 failed, exit code 1
Failed: compiling ncurses-5.3-20031018-2 failed


Question: Do you have more than one version of gcc installed on your machine? Run the following commands and tell us what it says.

sudo /usr/libexec/locate.updatedb
locate gcc | grep bin/

The first line might be optional, but I didn't want to make any assumptions about how up to date your locatedb was. However, if you know that your locatedb is regularly updated, just run the second line.

Shop Amazon

Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.