Debian-Überprüfung führt zu Nr

1443
Paul Peelen

Ich habe einen Heimserver unter Debian Lenny. Ich versuche, iStat Server darauf zu installieren, aber es will einfach nicht funktionieren. Ich habe es auf einem anderen Server laufen lassen, auch mit Lenny ... es funktionierte direkt "out of the box".

Wenn ich das configure-Skript starte, bekomme ich Folgendes:

~/istatd-0.5.7# ./configure  checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... no checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for ranlib... ranlib checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether the C++ compiler works... no configure: error: in `/root/istatd-0.5.7': configure: error: C++ compiler cannot create executables See `config.log' for more details. 

Was ist falsch?

-1

2 Antworten auf die Frage

1
CodeGnome

Möglicherweise fehlen auch andere Entwicklungspakete, aber Sie müssen das build-essentialPaket und seine Abhängigkeiten mindestens installieren .

sudo aptitude install build-essential 

Je nachdem, was Sie erstellen möchten, benötigen Sie möglicherweise andere Entwicklungsbibliotheken, Kopfzeilen usw. Zum Beispiel wird die readme.txt Ihres Projekts eindeutig libxml2-devals Abhängigkeit aufgelistet. Sie müssen diese also ebenfalls angeben .

0
MTilsted

You are missing your c++ compiler. Try to install gcc and g++ (Not sure exactly how the packages are named in debian, it might be gcc-c++).