Page 1 of 1

Unreal 3.2.4 compile error!

Posted: Mon Feb 06, 2006 4:46 am
by Mr.Cheetah
Ok for some reason everytime I try to do a ./Config make install it exits out and creates an error log regarding my Compiler on a Fedora 4 core... hopefully one of you pros can help me out being not quite a pro myself when it comes to linux... I always get an error that states this... error: c++ preprocessor"/lib/cpp" fails sanity check .... anyone have any suggestions... I have allready checked the log file and havent noticed the problem as of yet....

Posted: Mon Feb 06, 2006 5:00 am
by Stealth
In short, it means your compiler is broken

Posted: Mon Feb 06, 2006 5:01 am
by Mr.Cheetah
any recommendations on a new one?

Posted: Mon Feb 06, 2006 5:08 am
by Stealth
I think you can just reinstall it, not sure. Someone should know how, and might even be able to give you simple steps for doing so.

Posted: Mon Feb 06, 2006 6:06 am
by Mr.Cheetah
well I reinstalled my c compiler and now it compiles but on running it gives a ./unreal: line 10: /unreal/unreal3.2/src/ircd no such file or directory.

then It gives - tail: cannot open 'unreal/unreal3.2/ircd.log' for reading: Not a Directory

Posted: Mon Feb 06, 2006 7:00 am
by Mr.Cheetah
ok well deleted everything and started fresh with the new compiler and everything is peaches now thanks for help!

Re install UnrealIRCD 3.2.4

Posted: Tue Feb 07, 2006 1:44 am
by gerardoirc
hi i have the some problem in two box i can't compile the new version, what do u do it for install it?

greetins.!

checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

how can i reinstall the compilers if the problems is it.?
:(

Posted: Tue Feb 07, 2006 9:40 am
by mexx3k
install g++ ... on debian, it's a simple "aptitude install g++" ... on other machines ... ask google :)

Posted: Fri Feb 10, 2006 9:55 pm
by WilliamWIkked
Cheetah (or anyone that wishes to be nice) - I got the same error on fedora core2, how do you upgrade the compiler? :/

Posted: Sat Feb 11, 2006 12:04 am
by Syzop
FYI, I added a FAQ item a few days ago:
Compiling - configure: error: C++ preprocessor "/lib/cpp" fails sanity check

As mentioned there, the package you are looking for is probably 'gcc-c++' (in short, run: 'yum install gcc-c++')

EDIT: Oh and as you can see.. This is about installing a C++ compiler, so it's not like something is actually broken on your system, no.. you are missing something :P.

Posted: Tue Mar 07, 2006 11:17 pm
by leatherface
Hello I have the same problem like those guys upthere.

I ran the ./Config command and it stop with the C++ preprocessor error.

So I tried installing gcc-c++ (yum instal gcc-c++) and then it tells me it needs "Error: Missing Dependency: libstdc++-devel = 4.0.2-8.fc4 is needed by package gcc-c++"

So when I downloaded the "libstdc++-4.0.2-8.fc4.i386.rpm" package and run the rpm it tells me this:

Code: Select all

[root@savor ~]# rpm -ivh libstdc++-4.0.2-8.fc4.i386.rpm

Preparing...                ########################################### [100%]
        package libstdc++-4.0.2-8.fc4 is already installed
I don't understaind this. Could someone help me out please.


Thanks


/EDIT: my mistake: didnt see it was libstdc++-devel i needed instead of libstdc++