This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

"/lib/cpp" fails sanity check

Old posts that have not been replied to for several years.
Locked
L
LanEvo
Voice
Posts: 18
Joined: Sun May 30, 2004 11:17 pm

"/lib/cpp" fails sanity check

Post by LanEvo »

ok, i got a new linux box and i got this when compiling eggdrop

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

anyone know what that means? (maybe install glibc-devel)?
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Re: "/lib/cpp" fails sanity check

Post by YooHoo »

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

anyone know what that means? (maybe install glibc-devel)?
Certainly. It means you should read the log created in your eggdrop's log directory named 'config.log'. After that, may I suggest reading the README text file from your eggdrop. :mrgreen:
User avatar
KrzychuG
Master
Posts: 306
Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:

Post by KrzychuG »

Probably kernel-headers or kernel sources are not installed.
Que?
2
22hosting
Voice
Posts: 1
Joined: Fri Jul 08, 2005 12:13 am

Post by 22hosting »

Right, I ran into this and found the following worked. I believe KrzychuG is correct in his thinking. It is relevant to all the C modules that linux utilises. If you have redhat 9 (which i do) do the following:

rpm -e gcc cpp
rpm -e glibc-kernheaders glibc-devel

up2date -u gcc cpp glibc-kernheaders glibc-devel

Basically the above 3 commands will remove the C libraries and the integrated glibc libraries and replace them again with fresh ones from up2date :-)

Jim
Eggs
Locked