Unreal 3.2.4 compile error!

These are old archives. They are kept for historic purposes only.
Post Reply
Mr.Cheetah
Posts: 4
Joined: Mon Feb 06, 2006 4:20 am

Unreal 3.2.4 compile error!

Post 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....
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

In short, it means your compiler is broken
Mr.Cheetah
Posts: 4
Joined: Mon Feb 06, 2006 4:20 am

Post by Mr.Cheetah »

any recommendations on a new one?
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post 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.
Mr.Cheetah
Posts: 4
Joined: Mon Feb 06, 2006 4:20 am

Post 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
Mr.Cheetah
Posts: 4
Joined: Mon Feb 06, 2006 4:20 am

Post by Mr.Cheetah »

ok well deleted everything and started fresh with the new compiler and everything is peaches now thanks for help!
gerardoirc

Re install UnrealIRCD 3.2.4

Post 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.?
:(
mexx3k
Posts: 17
Joined: Sun Apr 10, 2005 8:54 pm
Location: Chaoz-IRC
Contact:

Post by mexx3k »

install g++ ... on debian, it's a simple "aptitude install g++" ... on other machines ... ask google :)
WilliamWIkked
Posts: 59
Joined: Sun Jun 20, 2004 3:30 am
Contact:

Post by WilliamWIkked »

Cheetah (or anyone that wishes to be nice) - I got the same error on fedora core2, how do you upgrade the compiler? :/
[insert another cliche sig here.]
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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.
leatherface
Posts: 9
Joined: Fri Mar 03, 2006 7:31 pm

Post 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++
Post Reply