Carol Kankelborg wrote:
[]
OK, I found the "new" and "cassert" lines. Looks like I'm missing
/usr/include/gcc/darwin/3.3/machine/ansi.h.  I tried reinstalling
gcc 3.3 from the Xcode Tools installer. Still no ansi.h.  How do I get
an ansi.h file?  I found a few references on the web to people missing
ansi.h, but no explanation as to why or how to get it back other than
manually hacking it.

There is good news and bad news; first the good news: On Tiger, there is no ansi.h header file, so you are not missing it.


The bad news is that there is also no file /usr/include/gcc/darwin/3.3/inttypes.h on Tiger which you do have. There is now a file /usr/include/inttypes.h, but this does not contain any reference to machine/ansi.h any more. So you have a file that was not installed by the upgrade to OSX 10.4, but is most likely a leftover from your previous system, courtesy of Apple's installer and its occasionally buggy behavior. This may be bad news, because there is no easy way of purging your system, short of a complete archive-and-reinstall. An indication might be given by running

  ls -R /usr/include | wc -l

which should return a count of 2837. If you find much more, this would confirm my suspicion. Someone else reported recently a count of more than 3300, and he had weird compilation problems, too.

In the Xcode tools packages on the Tiger installer disk, there is the MacOSX10.4.pkg which installs basically into /Developer/SDKs/MacOSX10.4.0.sdk/. Inside that directory, it installs a complete copy of /usr/include which you could use to compare with your current /usr/include and to repair it eventually.

configure:12896: result: no
configure:12932: checking for osfcn.h
configure:12939: result: no
configure:12975: checking new usability
configure:12988: g++-3.3 -c -g -O2 -I/sw/include conftest.cc >&5
In file included from configure:13076:
/usr/include/gcc/darwin/3.3/inttypes.h:34:56: machine/ansi.h: No such file or directory

-- Martin



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to