Results 1 to 2 of 2
  1. #1
    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

  2. #2
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ical - trying to keep my sanity
    By carpoolqueen in forum Switcher Hangout
    Replies: 5
    Last Post: 03-29-2013, 01:54 PM
  2. Sanity Check $400 to $800 Budget
    By RavingMac in forum Images, Graphic Design, and Digital Photography
    Replies: 20
    Last Post: 01-21-2012, 05:37 PM
  3. OpenGL ES1 perspective with depth buffer fails. Square fails to render
    By god0fgod in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 08-20-2010, 12:46 PM
  4. iMac Sanity Check
    By RavingMac in forum Apple Desktops
    Replies: 9
    Last Post: 05-20-2010, 08:49 PM
  5. Unlocked 2G, upgrade and keep my sanity?
    By diacono in forum iPhone Hardware and Accessories
    Replies: 1
    Last Post: 04-03-2009, 05:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts