New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

C++ preprocessor fails sanity check

Post Reply New Thread Subscribe

Thread Tools
Posts: n/a


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
QUOTE Thanks
Posts: n/a

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.
QUOTE Thanks

Post Reply New Thread Subscribe

« De-Compiler | MySQL password retardation »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
Can somebody check my site on MAC? kitakobi Web Design and Hosting 3 02-28-2004 09:42 PM
Is there any way to check for bad sectors? ganz Apple Notebooks 4 02-10-2004 03:33 PM

All times are GMT -4. The time now is 09:55 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?