PDA

View Full Version : I can't compile anything on knoppix 3.3



rex64
04-23-2004, 03:34 PM
Hi!

When i do ./configure the console says:

root@nerv:/home/rex# cd /home/rex/aMule-2.0.0rc2/aMule-2.0.0rc2/
root@nerv:/home/rex/aMule-2.0.0rc2/aMule-2.0.0rc2# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
root@nerv:/home/rex/aMule-2.0.0rc2/aMule-2.0.0rc2#

Why this error? :(

rex64
04-24-2004, 01:07 PM
no one had this problem? :shock:

Markus
04-24-2004, 06:17 PM
Don't know about your .configure problem, but you can get amule with apt.
If you have a debian style hd-install, start with typing "dselect update" to update your database, then type "apt-cache search amule" to find something installable, "apt-cache show amule" to check the version if you're interested, "apt-get -s -t unstable install amule" to see if it would install ok and leave out the -s for simulation to actually install if the output looked ok.

rex64
04-24-2004, 10:14 PM
You are right, but aMule is only an example!
I have to compile a lot of other things, like many themes for KDE 3.2 :(

Thanks anyway

Markus
04-24-2004, 10:32 PM
Try "COLUMNS=150 dpkg -l|grep cpp" to see which you have installed, and then "apt-get -s install --reinstall packagename" for each one of them or just one if you find it in the config.log you got with the error message. If it works remove the -s for simulation.