trouble compiling on linux....

These are old archives. They are kept for historic purposes only.
Post Reply
doh7
Posts: 2
Joined: Fri Apr 08, 2005 8:36 pm

trouble compiling on linux....

Post by doh7 »

I have the ircd working fine on windows... I am trying to install it on Fedora Core 3 now...

I get this error when it tries to compile Config:
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking if gcc has a working -pipe... yes
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for touch... /bin/touch
checking for openssl... /usr/bin/openssl
checking for install... /usr/bin/install
checking for gmake... gmake
checking for gmake... /usr/bin/gmake
checking for gunzip... /usr/bin/gunzip
checking for pkg-config... /usr/bin/pkg-config
checking for crypt in -ldescrypt... no
checking for crypt in -lcrypt... yes
checking for socket in -lsocket... no
checking for inet_ntoa in -lnsl... yes
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
| |
| UnrealIRCd Compile-Time Config |
|_______________________________________________________________________|
|_______________________________________________________________________|
| |
| Now all you have to do is type 'make' and let it compile. When that's |
| done, you will receive other instructions on what to do next. |
| |
|_______________________________________________________________________|
|_______________________________________________________________________|
| - The UnrealIRCd Team - |
| |
| * Stskeeps [email protected] |
| * codemastr [email protected] |
| * Syzop [email protected] |
|_______________________________________________________________________|
also, which file do I make?
# make
make: *** No targets specified and no makefile found. Stop.
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

Looks like your gcc (well specifically, the preprocessor) is broken. Try reinstalling it.
-- codemastr
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

Additionally, you can't do 'make' until ./Config finishes without errors. That script is what generates the 'Makefile' for you, which is needed by 'make'.
doh7
Posts: 2
Joined: Fri Apr 08, 2005 8:36 pm

Post by doh7 »

I reinstalled gcc, and still no luck.
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

Then I'd suggest contacting the gcc support team and asking them why your preprocessor does not work.
-- codemastr
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

Oh, I think I've got an idea: see config.log, it should provide you with some details about the error. Possibly helps. (That's all we can do, because what is supported here is strictly UnrealIRCd, not operating systems and other kind of things unrelated to it.)
Post Reply