Skocz do zawartości

Kmetabar


MarCiNWz

Rekomendowane odpowiedzi

Witam.

Chciałem zainstalować Kmetabar, ./configure przechodzi bezproblemowo, ale na make staje i wyrzuca błędy, poniżej listing po wydaniu make:

make  all-recursive
make[1]: Entering directory `/home/marcin/rpm/kmetabar'
Making all in doc
make[2]: Entering directory `/home/marcin/rpm/kmetabar/doc'
Making all in .
make[3]: Entering directory `/home/marcin/rpm/kmetabar/doc'
make[3]: Nie nic do roboty w `all-am'.
make[3]: Leaving directory `/home/marcin/rpm/kmetabar/doc'
Making all in en
make[3]: Entering directory `/home/marcin/rpm/kmetabar/doc/en'
make[3]: Nie nic do roboty w `all'.
make[3]: Leaving directory `/home/marcin/rpm/kmetabar/doc/en'
make[2]: Leaving directory `/home/marcin/rpm/kmetabar/doc'
Making all in po
make[2]: Entering directory `/home/marcin/rpm/kmetabar/po'
make[2]: Nie nic do roboty w `all'.
make[2]: Leaving directory `/home/marcin/rpm/kmetabar/po'
Making all in src
make[2]: Entering directory `/home/marcin/rpm/kmetabar/src'
if /bin/sh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib/qt-3.3/include -I/usr/X11R6/include  -I/usr/include/kde/arts   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -MT kmetabar.lo -MD -MP -MF ".deps/kmetabar.Tpo" -c -o kmetabar.lo kmetabar.cpp; \
then mv -f ".deps/kmetabar.Tpo" ".deps/kmetabar.Plo"; else rm -f ".deps/kmetabar.Tpo"; exit 1; fi
In file included from kmetabar.cpp:5:
kmetabar.h:8:31: error: konqsidebarplugin.h: No such file or directory
/usr/include/kde/arts/iomanager.h:93: warning: 'class Arts::IONotify' has virtual functions but non-virtual destructor
/usr/include/kde/arts/iomanager.h:112: warning: 'class Arts::TimeNotify' has virtual functions but non-virtual destructor
/usr/include/kde/arts/notification.h:54: warning: 'class Arts::NotificationClient' has virtual functions but non-virtual destructor
/usr/include/kde/arts/startupmanager.h:42: warning: 'class Arts::StartupClass' has virtual functions but non-virtual destructor
/usr/include/kde/arts/factory.h:45: warning: 'class Arts::Factory' has virtual functions but non-virtual destructor
/usr/include/kde/arts/idlfilereg.h:41: warning: 'class Arts::IDLFileReg' has virtual functions but non-virtual destructor
/usr/include/kde/arts/datapacket.h:43: warning: 'class Arts::GenericDataChannel' has virtual functions but non-virtual destructor
/usr/include/kde/arts/asyncstream.h:44: warning: 'class Arts::GenericAsyncStream' has virtual functions but non-virtual destructor
/usr/include/kde/arts/asyncstream.h: In instantiation of 'Arts::AsyncStream<float>':
/usr/include/kde/arts/asyncstream.h:87:   instantiated from here
/usr/include/kde/arts/asyncstream.h:63: warning: 'class Arts::AsyncStream<float>' has virtual functions but non-virtual destructor
/usr/include/kde/arts/asyncstream.h:88: warning: 'class Arts::FloatAsyncStream' has virtual functions but non-virtual destructor
/usr/include/kde/arts/asyncstream.h: In instantiation of 'Arts::AsyncStream<Arts::mcopbyte>':
/usr/include/kde/arts/asyncstream.h:94:   instantiated from here
/usr/include/kde/arts/asyncstream.h:63: warning: 'class Arts::AsyncStream<Arts::mcopbyte>' has virtual functions but non-virtual destructor
/usr/include/kde/arts/asyncstream.h:95: warning: 'class Arts::ByteAsyncStream' has virtual functions but non-virtual destructor
kmetabar.h:16: error: expected class-name before '{' token           <-------------------
kmetabar.h:16: warning: 'class Metabar' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:69: warning: 'struct QUBuffer' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:77: warning: 'struct QUType' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:104: warning: 'struct QUType_Null' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:287: warning: 'struct QUType_enum' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:307: warning: 'struct QUType_ptr' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:326: warning: 'struct QUType_iface' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:345: warning: 'struct QUType_idisp' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:364: warning: 'struct QUType_bool' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:383: warning: 'struct QUType_int' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:403: warning: 'struct QUType_double' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:423: warning: 'struct QUType_charstar' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:444: warning: 'struct QUType_QString' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucomextra_p.h:65: warning: 'struct QUType_QVariant' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucomextra_p.h:87: warning: 'struct QUType_varptr' has virtual functions but non-virtual destructor
kmetabar.moc: In static member function 'static QMetaObject* Metabar::staticMetaObject()':
kmetabar.moc:54: error: 'KonqSidebarPlugin' has not been declared           <-------------------
kmetabar.moc: In member function 'virtual void* Metabar::qt_cast(const char*)':
kmetabar.moc:72: error: 'KonqSidebarPlugin' has not been declared           <-------------------
kmetabar.moc: In member function 'virtual bool Metabar::qt_invoke(int, QUObject*)':
kmetabar.moc:77: error: 'KonqSidebarPlugin' has not been declared           <-------------------
kmetabar.moc: In member function 'virtual bool Metabar::qt_emit(int, QUObject*)':
kmetabar.moc:82: error: 'KonqSidebarPlugin' has not been declared           <-------------------
kmetabar.moc: In member function 'virtual bool Metabar::qt_property(int, int, QVariant*)':
kmetabar.moc:88: error: 'KonqSidebarPlugin' has not been declared           <-------------------
kmetabar.cpp: In constructor 'Metabar::Metabar(KInstance*, QObject*, QWidget*, QString&, const char*)':
kmetabar.cpp:10: error: class 'Metabar' does not have any field named 'KonqSidebarPlugin'           <-------------------
make[2]: *** [kmetabar.lo] Błąd 1
make[2]: Leaving directory `/home/marcin/rpm/kmetabar/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Leaving directory `/home/marcin/rpm/kmetabar'
make: *** [all] Błąd 2

W czym może tkwić problem?? Czy kompilował ktoś ten dodatek i czy napotkał i rozwiązał ten problem?? System aktualizowany. Dodam tylko tak na marginesie, że ten dodatek również wypluwa ten sam błąd. A może ma ktoś namiar na Kmetabar w postaci rpm??

PzdR

Odnośnik do komentarza
Udostępnij na innych stronach

GCC 3.3 (który na 99% masz w systemie obok 4.0)
A jak sprawdzić czy ono jest na pewno ?? Bo wydaje mi się, że go nie mam, rpm -qa|grep gcc daje tylko libgcc-4.0.1-4.fc4, gcc-4.0.1-4.fc4 i gcc-c++-4.0.1-4.fc4, wszystko w wersji 4.0.1.

Przed ./configure podaj:

export CC=gcc32

export CXX=g++32

Nie pomogło, teraz dostaje:

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 style of include used by make... GNU
checking for gcc... gcc32
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

Kompilacja tych dodatków chyba przerasta moje możliwości.

Odnośnik do komentarza
Udostępnij na innych stronach

Nie musi ekspoertowac zmiennych wystarczy w jednej linii z ./configure podac CC i CXX.

Faktycznie, mój błąd. :rolleyes:

A jak sprawdzić czy ono jest na pewno ?? Bo wydaje mi się, że go nie mam, rpm -qa|grep gcc daje tylko libgcc-4.0.1-4.fc4, gcc-4.0.1-4.fc4 i gcc-c++-4.0.1-4.fc4, wszystko w wersji 4.0.1.

To zainstaluj starsze GCC tak:

yum install compat-gcc-32

BTW myliłem się, to jest wersja 3.2. ;)

Odnośnik do komentarza
Udostępnij na innych stronach

Doinstalowałem compat-gcc-32 i compat-gcc-32-c++, wydałem

CC=gcc32 CXX=g++32 ./configure

, no i po make dla odmiany otrzymałem nowy zestaw błędów:

make  all-recursive
make[1]: Entering directory `/home/marcin/rpm/kmetabar'
Making all in doc
make[2]: Entering directory `/home/marcin/rpm/kmetabar/doc'
Making all in .
make[3]: Entering directory `/home/marcin/rpm/kmetabar/doc'
make[3]: Nie nic do roboty w `all-am'.
make[3]: Leaving directory `/home/marcin/rpm/kmetabar/doc'
Making all in en
make[3]: Entering directory `/home/marcin/rpm/kmetabar/doc/en'
/usr/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
make[3]: Leaving directory `/home/marcin/rpm/kmetabar/doc/en'
make[2]: Leaving directory `/home/marcin/rpm/kmetabar/doc'
Making all in po
make[2]: Entering directory `/home/marcin/rpm/kmetabar/po'
make[2]: Nie nic do roboty w `all'.
make[2]: Leaving directory `/home/marcin/rpm/kmetabar/po'
Making all in src
make[2]: Entering directory `/home/marcin/rpm/kmetabar/src'
/usr/lib/qt-3.3/bin/moc ./kmetabar.h -o kmetabar.moc
if /bin/sh ../libtool --silent --tag=CXX --mode=compile g++32 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib/qt-3.3/include -I/usr/X11R6/include  -I/usr/include/kde/arts   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -MT kmetabar.lo -MD -MP -MF ".deps/kmetabar.Tpo" -c -o kmetabar.lo kmetabar.cpp; \
then mv -f ".deps/kmetabar.Tpo" ".deps/kmetabar.Plo"; else rm -f ".deps/kmetabar.Tpo"; exit 1; fi
In file included from kmetabar.cpp:5:
kmetabar.h:8:31: konqsidebarplugin.h: No such file or directory
In file included from kmetabar.cpp:5:
kmetabar.h:16: syntax error before `{' token
kmetabar.h:17: virtual outside class declaration
kmetabar.h:17: non-member function `const char* className()' cannot have `const
  ' method qualifier
kmetabar.h:17: virtual outside class declaration
kmetabar.h:17: virtual outside class declaration
kmetabar.h:17: virtual outside class declaration
kmetabar.h:17: virtual outside class declaration
kmetabar.h: In function `QObject* qObject()':
kmetabar.h:17: invalid use of `this' in non-member function
kmetabar.h: At global scope:
kmetabar.h:17: syntax error before `private'
kmetabar.h:21: destructors must be member functions
kmetabar.h:23: virtual outside class declaration
kmetabar.h: In function `QWidget* getWidget()':
kmetabar.h:23: `view' undeclared (first use this function)
kmetabar.h:23: (Each undeclared identifier is reported only once for each
  function it appears in.)
kmetabar.h: At global scope:
kmetabar.h:24: virtual outside class declaration
kmetabar.h:26: syntax error before `protected'
kmetabar.h:28: `MetaScrollView*view' used prior to declaration
kmetabar.h:30: virtual outside class declaration
kmetabar.h:31: virtual outside class declaration
kmetabar.h:33: syntax error before `}' token
In file included from kmetabar.cpp:6:
kmetabar.moc:23: invalid use of undefined type `class Metabar'
kmetabar.h:15: forward declaration of `class Metabar'
kmetabar.moc:27: invalid use of undefined type `class Metabar'
kmetabar.h:15: forward declaration of `class Metabar'
kmetabar.moc:27: assignment (not initialization) in declaration
kmetabar.moc:28: incomplete type `Metabar' does not have member `
  staticMetaObject'
kmetabar.moc:32: invalid use of undefined type `class Metabar'
kmetabar.h:15: forward declaration of `class Metabar'
In file included from kmetabar.cpp:6:
kmetabar.moc:40: invalid use of undefined type `class Metabar'
kmetabar.h:15: forward declaration of `class Metabar'
In file included from kmetabar.cpp:6:
kmetabar.moc:51: invalid use of undefined type `class Metabar'
kmetabar.h:15: forward declaration of `class Metabar'
kmetabar.moc: In member function `QMetaObject* Metabar::staticMetaObject()':
kmetabar.moc:52: `metaObj' undeclared (first use this function)
kmetabar.moc:54: `KonqSidebarPlugin' undeclared (first use this function)
kmetabar.moc:54: syntax error before `::' token
kmetabar.moc: At global scope:
kmetabar.moc:69: invalid use of undefined type `class Metabar'
kmetabar.h:15: forward declaration of `class Metabar'
kmetabar.moc: In member function `void* Metabar::qt_cast(const char*)':
kmetabar.moc:72: syntax error before `::' token
In file included from kmetabar.cpp:6:
kmetabar.moc: At global scope:
kmetabar.moc:76: invalid use of undefined type `class Metabar'
kmetabar.h:15: forward declaration of `class Metabar'
kmetabar.moc: In member function `bool Metabar::qt_invoke(int, QUObject*)':
kmetabar.moc:77: syntax error before `::' token
kmetabar.moc:76: warning: unused parameter `int _id'
kmetabar.moc:76: warning: unused parameter `QUObject*_o'
kmetabar.moc: At global scope:
kmetabar.moc:81: invalid use of undefined type `class Metabar'
kmetabar.h:15: forward declaration of `class Metabar'
kmetabar.moc: In member function `bool Metabar::qt_emit(int, QUObject*)':
kmetabar.moc:82: syntax error before `::' token
kmetabar.moc:81: warning: unused parameter `int _id'
kmetabar.moc:81: warning: unused parameter `QUObject*_o'
kmetabar.moc: At global scope:
kmetabar.moc:87: invalid use of undefined type `class Metabar'
kmetabar.h:15: forward declaration of `class Metabar'
kmetabar.moc: In member function `bool Metabar::qt_property(int, int,
  QVariant*)':
kmetabar.moc:88: syntax error before `::' token
kmetabar.moc:87: warning: unused parameter `int id'
kmetabar.moc:87: warning: unused parameter `int f'
kmetabar.moc:87: warning: unused parameter `QVariant*v'
kmetabar.moc: At global scope:
kmetabar.moc:91: invalid use of undefined type `class Metabar'
kmetabar.h:15: forward declaration of `class Metabar'
kmetabar.cpp:9: invalid use of undefined type `class Metabar'
kmetabar.h:15: forward declaration of `class Metabar'
kmetabar.cpp: In constructor `Metabar::Metabar(KInstance*, QObject*, QWidget*,
  QString&, const char*)':
kmetabar.cpp:10: class `Metabar' does not have any field named `
  KonqSidebarPlugin'
kmetabar.cpp:12: `widget' undeclared (first use this function)
kmetabar.cpp: At global scope:
kmetabar.cpp:23: invalid use of undefined type `class Metabar'
kmetabar.h:15: forward declaration of `class Metabar'
kmetabar.cpp:28: invalid use of undefined type `class Metabar'
kmetabar.h:15: forward declaration of `class Metabar'
kmetabar.cpp:37: invalid use of undefined type `class Metabar'
kmetabar.h:15: forward declaration of `class Metabar'
kmetabar.cpp: In function `void* create_konqsidebar_kmetabar(KInstance*,
  QObject*, QWidget*, QString&, const char*)':
kmetabar.cpp:60: syntax error before `(' token
kmetabar.cpp:59: warning: unused parameter `KInstance*instance'
kmetabar.cpp:59: warning: unused parameter `QObject*par'
kmetabar.cpp:59: warning: unused parameter `QWidget*widp'
kmetabar.cpp:59: warning: unused parameter `QString&desktopname'
kmetabar.cpp:59: warning: unused parameter `const char*name'
/usr/include/kde/arts/core.h: At top level:
kmetabar.h:17: warning: `bool qt_static_property(QObject*, int, int, QVariant*)
  ' declared `static' but never defined
kmetabar.h:17: warning: `QMetaObject* staticMetaObject()' declared `static' but
  never defined
kmetabar.h:17: warning: `QString tr(const char*, const char*)' declared
  `static' but never defined
kmetabar.h:17: warning: `QString trUtf8(const char*, const char*)' declared
  `static' but never defined
make[2]: *** [kmetabar.lo] Błąd 1
make[2]: Leaving directory `/home/marcin/rpm/kmetabar/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Leaving directory `/home/marcin/rpm/kmetabar'
make: *** [all] Błąd 2

Chyba, że coś pokićkałem :rolleyes:

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...