Portál AbcLinuxu, 26. dubna 2024 12:34
no acceptable C compiler
, tak si přečti tento thread.
khspinbox.h:22:22: qspinbox.h: No such file or directory In file included from khspinbox.cpp:20: khspinbox.h:28: error: syntax error before `{' token khspinbox.h:31: error: destructors must be member functions khspinbox.h:33: error: syntax error before `)' token khspinbox.h:36: error: syntax error before `}' token khspinbox.cpp:22: error: type specifier omitted for parameter `QWidget' khspinbox.cpp:22: error: syntax error before `*' token khspinbox.cpp:23: error: invalid use of undefined type `class KHSpinBox' khspinbox.h:28: error: forward declaration of `class KHSpinBox' khspinbox.cpp: In constructor `KHSpinBox::KHSpinBox(...)': khspinbox.cpp:23: error: class `KHSpinBox' does not have any field named ` QSpinBox' khspinbox.cpp:23: error: `minValue' undeclared (first use this function) khspinbox.cpp:23: error: (Each undeclared identifier is reported only once for each function it appears in.) khspinbox.cpp:23: error: `maxValue' undeclared (first use this function) khspinbox.cpp:23: error: `step' undeclared (first use this function) khspinbox.cpp:23: error: `parent' undeclared (first use this function) khspinbox.cpp:23: error: `name' undeclared (first use this function) khspinbox.cpp: At global scope: khspinbox.cpp:27: error: invalid use of undefined type `class KHSpinBox' khspinbox.h:28: error: forward declaration of `class KHSpinBox' khspinbox.cpp:30: error: syntax error before `::' token khspinbox.cpp:36: error: invalid use of undefined type `class KHSpinBox' khspinbox.h:28: error: forward declaration of `class KHSpinBox' khspinbox.cpp: In member function `int KHSpinBox::mapTextToValue(bool*)': khspinbox.cpp:37: error: `text' undeclared (first use this function) khspinbox.cpp:36: warning: unused parameter `bool*ok' make[1]: *** [khspinbox.o] Error 1 make[1]: Leaving directory `/home/Venousekh/khealthcare-0.82/khealthcare' make: *** [install-recursive] Error 1 linux:/home/Venousekh/khealthcare-0.82 # 1
khspinbox.h:22:22: qspinbox.h: No such file or directorySoubor qspinbox.h je takzvaný hlavičkový soubor. V těch jsou hlavičky všech funkcí, které jsou dostupné v knihovnách. Standartně se neinstalují, ale pro překlad je potřebujete. Jsou v balíčcích jméno_knihovny-devel. Například qt-devel, gtk-devel.
07.03.2001: version 0.82 has been releasedTohle nezni moc privetive.
checking for long long... yes checking size of long long... 8 checking for uuid_generate in -luuid... no configure: error: *** uuid library (libuuid) not foundNo a make vypsal jen že nemůže najít makefile. Ale ten v adresáři je
configure: error: *** uuid library (libuuid) not found
?
2) Pokud neproběhne configure skript korektně, tak se nevytvoří Makefile.
xorg-x11-devel
nebo tak nějak.
./configurese na konci výpisu objeví hláška
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!Zkusil jsem tedy nainstalovat zmiňovaný balíček libxorg-x11-devel ale Rpmdrake mi vypsal: Baliček nelze vybrat z důvodu nesplněného devel(libz). Nevíte, kde může bát chyba, popř. co mi chybí? Děkuji.
urpmi
Tiskni Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.