Portál AbcLinuxu, 14. prosince 2025 09:25
kompilace je dobrá pokud jde, bohužel jsem na "unstable" systému a současný systém prostě nic nepřeloží :) musim si počkat až se situace srovná... proto jsem si taky couvnul z unstable debianu na testing... :)
deb http://debian.thermoman.de sid sim-kdeAle zdá se mi, že už se to nevyvíjí a poslední dobou to blblo - hlavně kontakty na serveru. Proto jsem začal používat Jabber a klient PSI.
root@kari:/usr/src/sim# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for kde-config... /usr/bin/kde-config checking where to install... /usr (as returned by kde-config) checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... 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 for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether g++ supports -Wmissing-format-attribute... no checking whether gcc supports -Wmissing-format-attribute... yes checking whether g++ supports -Wundef... no checking whether g++ supports -Wno-long-long... no checking whether g++ supports -Wnon-virtual-dtor... no checking whether g++ supports -fno-exceptions... no checking whether g++ supports -fno-check-new... no checking whether g++ supports -fno-common... no checking whether g++ supports -fexceptions... no checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details.Johny
config.log. Možná z něj vyčtete, v čem je chyba. Před tím ještě zkuste toto v nějakém adresáři podle vlastního výběru, třeba /tmp:
cat > test.cc << EOF
#include <iostream>
using namespace std;
int main() {
cout << "Nazdar" << endl;
return 0;
}
EOF
Dále pokračujte těmito příkazy:
g++ -c -o test.o test.cc g++ -o test test.o ./testTím lze snadno prověřit, jestli je C++ použitelné.
gcc -c -o test test.ccPomohlo by přeinstalovat překladač. Nějaké mám tady. Najdete tam i ten
SIM. Vybaluje se to rovnou do kořenového adresáře, je to vždy opt/balíček.
CVS verzi SIMu sem kompiloval už nesčetněkrát na Gentoo, Arch Linuxu a Slackwaru a nikde s tím nebyly problémy. Takže musíte opravdu mít něco s vaším toolchainem / GCCčkem.
Co používáte za distribuci? Neneí to třeba Fedora Core 4? Spousta věcí má totiž problémy s kompilací pomocí GCC 4.0.x (proto ho zatím žádná distribuce kromě FC4 naostro pokud vím nepoužívá).
... ... ... checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for _NSGetEnviron... no checking for vsnprintf... yes checking for snprintf... yes checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!nemáte někdo páru jaká cesta k čemu mu schází? .. dík, Johny
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.