chyba pri ./configure projektu k9copy
Miroslav Benes
miroslav_benes na zdas.cz
Čtvrtek Říjen 12 08:45:40 CEST 2006
Přeji krásný den !
Obrátil se na mě kolega s problémem, se kterým si bohužel nevím rady.
Proto prosím o nakopnutí někoho zkušenějšího.
Pokouším se zkompilovat projekt k9copy (mělo by jít o program, který
rip-uje DVD). Zkoušel jsem k9copy-1.0.4-2.tar.gz a
k9copy-1.1.0-beta1.tar.gz, ale v obou případech ohlásí ./configure tuto
chybu :
...
checking if C++ programs can be compiled... no
configure: error: Your Installation isn't able to compile simple C++
programs.
Check config.log for details - if you're using a Linux distribution you
might miss
a package named similiar to libstd++-dev.
V souboru config.log je toto :
...
configure:21246: checking if C++ programs can be compiled
configure:21275: g++ -c -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall
-W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SO
URCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2
-Wformat-security -Wmissing-format-attribute -fno-ch
eck-new -fno-common conftest.cc >&5
conftest.cc:27:18: error: string: No such file or directory
conftest.cc: In function 'int main()':
conftest.cc:34: error: 'string' was not declared in this scope
conftest.cc:34: error: expected `;' before 'astring'
conftest.cc:35: error: 'astring' was not declared in this scope
...
Přiznám se, že nevím, co to po mě vlastně chce. IMHO tam mám potřebné
-devel balíčky :
compat-gcc-32-c++-3.2.3-47.fc4
compat-libstdc++-296-2.96-132.fc4
compat-libstdc++-33-3.2.3-47.fc4
gcc-c++-4.0.2-8.fc4
...
libstdc++-devel-4.0.2-8.fc4
libstdc++-4.0.2-8.fc4
...
Systém je FC4 s updaty.
Děkuji předem za radu.
Beneš.
Další informace o konferenci Linux