When posting to this list it's always important when you are having a compiler problem to answer the two questions below:

1) What OS version are you using?

2) What version of the Developer Tools are you using?

Now, there's a suspicious thing in your config.log: the lack of stdio.h, types.h, and stat.h. This suggest that you are missing the DevSDK package from your Developer Tools installation.

http://article.gmane.org/gmane.os.apple.fink.beginners/10418/ match=+types
--
Alexander K. Hansen
Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX


On Feb 1, 2004, at 4:50 PM, Douglas McKinney wrote:

When compiling ANY software with the ./configure command I always get the
following message towards the end of the file:


checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

What does this mean? I've searched all over the place and found nothing.
Here is the config file from libsndfile:




<snip>
configure:2271: checking for C compiler version
configure:2274: gcc --version </dev/null >&5
2.95.2
configure:2277: $? = 0
configure:2279: gcc -v </dev/null >&5
Reading specs from /usr/libexec/gcc/darwin/ppc/2.95.2/specs
Apple Computer, Inc. version gcc-937.2, based on gcc version 2.95.2 19991024
(release)
configure:2282: $? = 0
configure:2284: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2287: $? = 1
configure:2311: checking for C compiler default output
configure:2314: gcc conftest.c >&5
configure:2317: $? = 0
configure:2363: result: a.out
configure:2368: checking whether the C compiler works
configure:2374: ./a.out
configure:2377: $? = 0
configure:2394: result: yes
configure:2401: checking whether we are cross compiling
configure:2403: result: no
configure:2406: checking for suffix of executables
configure:2408: gcc -o conftest conftest.c >&5
configure:2411: $? = 0
configure:2436: result:
configure:2442: checking for suffix of object files
configure:2464: gcc -c conftest.c >&5
configure:2467: $? = 0
configure:2489: result: o
configure:2493: checking whether we are using the GNU C compiler
configure:2518: gcc -c conftest.c >&5
configure:2521: $? = 0
configure:2524: test -s conftest.o
configure:2527: $? = 0
configure:2540: result: yes
configure:2546: checking whether gcc accepts -g
configure:2568: gcc -c -g conftest.c >&5
configure:2571: $? = 0
configure:2574: test -s conftest.o
configure:2577: $? = 0
configure:2588: result: yes
configure:2605: checking for gcc option to accept ANSI C
configure:2666: gcc -c -g -O2 conftest.c >&5
configure:2623: header file 'stdio.h' not found
configure:2624: header file 'sys/types.h' not found
configure:2625: header file 'sys/stat.h' not found


<snip>
configure: exit 1

If anyone has any clues, I'd appreciate it.

Doug






------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to