Raptor-menu

Status
Niet open voor verdere reacties.

Sponzenbroekske

Gebruiker
Lid geworden
11 nov 2007
Berichten
937
Ik wil het raptor menu installeren, maar ik heb al enkele problemen tegengekomen en dit probleem dat ik nu heb krijg ik niet opgelost.
http://raptor-menu.org/download

yannick@tux:~/raptormenu/build$ cmake ../
-- Found Qt-Version 4.4.1 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Found KDE 4.0 include dir: /usr/lib/kde4/include
-- Found KDE 4 library dir: /usr/lib/kde4/lib
-- Found KDE4 kconfig_compiler preprocessor: /usr/lib/kde4/bin/kconfig_compiler
-- Found KDE4 automoc: /usr/lib/kde4/bin/kde4automoc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/yannick/raptormenu/build

yannick@tux:~/raptormenu/build$ make
[ 2%] Building CXX object lib/CMakeFiles/raptormenu.dir/menuview.o
/home/yannick/raptormenu/lib/menuview.cpp: In constructor ‘RaptorMenu::MenuView::MenuView(QGraphicsScene*, QWidget*)’:
/home/yannick/raptormenu/lib/menuview.cpp:55: error: no matching function for call to ‘QGraphicsScene::addItem(QGraphicsWidget*)’
/usr/include/qt4/QtGui/qgraphicsscene.h:163: note: candidates are: void QGraphicsScene::addItem(QGraphicsItem*)
/home/yannick/raptormenu/lib/menuview.cpp:56: error: invalid use of incomplete type ‘struct QGraphicsWidget’
/home/yannick/raptormenu/lib/userinterfaceplugin.h:27: error: forward declaration of ‘struct QGraphicsWidget’
make[2]: *** [lib/CMakeFiles/raptormenu.dir/menuview.o] Error 1
make[1]: *** [lib/CMakeFiles/raptormenu.dir/all] Error 2
make: *** [all] Error 2

yannick@tux:~/raptormenu/build$ make install
[ 2%] Building CXX object lib/CMakeFiles/raptormenu.dir/menuview.o
/home/yannick/raptormenu/lib/menuview.cpp: In constructor ‘RaptorMenu::MenuView::MenuView(QGraphicsScene*, QWidget*)’:
/home/yannick/raptormenu/lib/menuview.cpp:55: error: no matching function for call to ‘QGraphicsScene::addItem(QGraphicsWidget*)’
/usr/include/qt4/QtGui/qgraphicsscene.h:163: note: candidates are: void QGraphicsScene::addItem(QGraphicsItem*)
/home/yannick/raptormenu/lib/menuview.cpp:56: error: invalid use of incomplete type ‘struct QGraphicsWidget’
/home/yannick/raptormenu/lib/userinterfaceplugin.h:27: error: forward declaration of ‘struct QGraphicsWidget’
make[2]: *** [lib/CMakeFiles/raptormenu.dir/menuview.o] Error 1
make[1]: *** [lib/CMakeFiles/raptormenu.dir/all] Error 2
make: *** [all] Error 2

Als iemand mij zou kunnen helpen zou ik dat echt waarderen.
bash: raptor: command not found
yannick@tux:~/raptormenu/build$ raptor-menu
bash: raptor-menu: command not found
 
Laatst bewerkt:
Heb je wel alle QT headers enzo geinstalleert.
Je probeert nl iets te compileren dat deze headers nodig heeft maar niet kan vinden.
Vaak kan je op de site van de ontwikkelaar vinden welke pakketten je nodig hebt
 
Heb je wel alle QT headers enzo geinstalleert.
Je probeert nl iets te compileren dat deze headers nodig heeft maar niet kan vinden.
Vaak kan je op de site van de ontwikkelaar vinden welke pakketten je nodig hebt

ik heb QT 4.4 geinstalleerd, zoals aangewezen op de site, bovenin men post is dit ook te zien dat ik op Qt version 4.4.1 draai
 
We zijn al iets verder geraakt, ik had eerst kdebase geupgrade en dan pas de Qt 4.4 geinstalleerd, dus nu heb ik nogmaals de kdebase en kdelibs geupgrade, maar nu kom ik weeral een probleem tegen.

yannick@tux:~/raptormenu/build$ cmake ../
-- Found Qt-Version 4.4.1 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Found KDE 4.0 include dir: /usr/lib/kde4/include
-- Found KDE 4 library dir: /usr/lib/kde4/lib
-- Found KDE4 kconfig_compiler preprocessor: /usr/lib/kde4/bin/kconfig_compiler
-- Found KDE4 automoc: /usr/lib/kde4/bin/kde4automoc
-- Configuring done
It is impossible to order the linker search path in such a way that libraries specified as full paths will be picked by the linker.
Directories and libraries involved are:
Directory: /usr/lib contains:
Library: /usr/local/Trolltech/Qt-4.4.1/lib/libQtCore.so
Library: /usr/local/Trolltech/Qt-4.4.1/lib/libQtGui.so
Library: /usr/local/Trolltech/Qt-4.4.1/lib/libQtSvg.so

Directory: /usr/local/Trolltech/Qt-4.4.1/lib contains:
Library: /usr/lib/libQtCore.so
Library: /usr/lib/libQtDBus.so
Library: /usr/lib/libQtNetwork.so
Library: /usr/lib/libQtXml.so



It is impossible to order the linker search path in such a way that libraries specified as full paths will be picked by the linker.
Directories and libraries involved are:
Directory: /usr/lib contains:
Library: /usr/local/Trolltech/Qt-4.4.1/lib/libQtGui.so

Directory: /usr/local/Trolltech/Qt-4.4.1/lib contains:
Library: /usr/lib/libQtCore.so
Library: /usr/lib/libQtDBus.so
Library: /usr/lib/libQtNetwork.so
Library: /usr/lib/libQtXml.so



It is impossible to order the linker search path in such a way that libraries specified as full paths will be picked by the linker.
Directories and libraries involved are:
Directory: /usr/lib contains:
Library: /usr/local/Trolltech/Qt-4.4.1/lib/libQtGui.so

Directory: /usr/local/Trolltech/Qt-4.4.1/lib contains:
Library: /usr/lib/libQtCore.so
Library: /usr/lib/libQtDBus.so
Library: /usr/lib/libQtNetwork.so
Library: /usr/lib/libQtXml.so



It is impossible to order the linker search path in such a way that libraries specified as full paths will be picked by the linker.
Directories and libraries involved are:
Directory: /usr/lib contains:
Library: /usr/local/Trolltech/Qt-4.4.1/lib/libQtCore.so
Library: /usr/local/Trolltech/Qt-4.4.1/lib/libQtGui.so
Library: /usr/local/Trolltech/Qt-4.4.1/lib/libQtSvg.so

Directory: /usr/local/Trolltech/Qt-4.4.1/lib contains:
Library: /usr/lib/libQtCore.so
Library: /usr/lib/libQtDBus.so
Library: /usr/lib/libQtNetwork.so
Library: /usr/lib/libQtXml.so



It is impossible to order the linker search path in such a way that libraries specified as full paths will be picked by the linker.
Directories and libraries involved are:
Directory: /usr/lib contains:
Library: /usr/local/Trolltech/Qt-4.4.1/lib/libQtCore.so
Library: /usr/local/Trolltech/Qt-4.4.1/lib/libQtGui.so
Library: /usr/local/Trolltech/Qt-4.4.1/lib/libQtSvg.so

Directory: /usr/local/Trolltech/Qt-4.4.1/lib contains:
Library: /usr/lib/libQtCore.so
Library: /usr/lib/libQtDBus.so
Library: /usr/lib/libQtNetwork.so
Library: /usr/lib/libQtXml.so



It is impossible to order the linker search path in such a way that libraries specified as full paths will be picked by the linker.
Directories and libraries involved are:
Directory: /usr/lib contains:
Library: /usr/local/Trolltech/Qt-4.4.1/lib/libQtCore.so
Library: /usr/local/Trolltech/Qt-4.4.1/lib/libQtGui.so

Directory: /usr/local/Trolltech/Qt-4.4.1/lib contains:
Library: /usr/lib/libQtCore.so
Library: /usr/lib/libQtDBus.so
Library: /usr/lib/libQtNetwork.so
Library: /usr/lib/libQtXml.so



-- Generating done
-- Build files have been written to: /home/yannick/raptormenu/build

yannick@tux:~/raptormenu/build$ make
[ 2%] Generating raptormenu_automoc.cpp
Generating backdropplugin.moc
Generating plugin.moc
Generating menuview.moc
Generating pluginloader.moc
Generating userinterfaceplugin.moc
Generating moc_datapluginmodel.cpp
Scanning dependencies of target raptormenu
[ 5%] Building CXX object lib/CMakeFiles/raptormenu.dir/raptormenu_automoc.o
[ 8%] Building CXX object lib/CMakeFiles/raptormenu.dir/plugin.o
[ 11%] Building CXX object lib/CMakeFiles/raptormenu.dir/pluginloader.o
[ 13%] Building CXX object lib/CMakeFiles/raptormenu.dir/menuview.o
[ 16%] Building CXX object lib/CMakeFiles/raptormenu.dir/userinterfaceplugin.o
[ 19%] Building CXX object lib/CMakeFiles/raptormenu.dir/backdropplugin.o
[ 22%] Building CXX object lib/CMakeFiles/raptormenu.dir/datapluginmodel.o
Linking CXX shared library libraptormenu.so
[ 22%] Built target raptormenu
[ 25%] Generating raptorhelper_automoc.cpp
Generating userhelper.moc
Generating bghelper.moc
Scanning dependencies of target raptorhelper
[ 27%] Building CXX object util/CMakeFiles/raptorhelper.dir/raptorhelper_automoc.o
[ 30%] Building CXX object util/CMakeFiles/raptorhelper.dir/bghelper.o
[ 33%] Building CXX object util/CMakeFiles/raptorhelper.dir/userhelper.o
Linking CXX shared library ../lib/libraptorhelper.so
[ 33%] Built target raptorhelper
[ 36%] Generating tom_automoc.cpp
Generating moc_taskitem.cpp
Generating moc_taskgroup.cpp
Generating moc_abstractitem.cpp
Generating moc_tom.cpp
Scanning dependencies of target tom
[ 38%] Building CXX object libtom/CMakeFiles/tom.dir/tom_automoc.o
[ 41%] Building CXX object libtom/CMakeFiles/tom.dir/tom.o
[ 44%] Building CXX object libtom/CMakeFiles/tom.dir/taskgroup.o
[ 47%] Building CXX object libtom/CMakeFiles/tom.dir/taskitem.o
[ 50%] Building CXX object libtom/CMakeFiles/tom.dir/abstractitem.o
Linking CXX shared library ../lib/libtom.so
[ 50%] Built target tom
[ 52%] Generating ui_tomEdit.h
[ 55%] Generating tom-editor_automoc.cpp
Generating moc_tomedit.cpp
Generating moc_tomeditmodel.cpp
Scanning dependencies of target tom-editor
[ 58%] Building CXX object tomedit/CMakeFiles/tom-editor.dir/tom-editor_automoc.o
[ 61%] Building CXX object tomedit/CMakeFiles/tom-editor.dir/main.o
[ 63%] Building CXX object tomedit/CMakeFiles/tom-editor.dir/tomedit.o
[ 66%] Building CXX object tomedit/CMakeFiles/tom-editor.dir/tomeditmodel.o
Linking CXX executable tom-editor
[ 66%] Built target tom-editor
[ 69%] Generating raptormenu_nuno_automoc.cpp
Generating nunoplugin.moc
Scanning dependencies of target raptormenu_nuno
[ 72%] Building CXX object plugins/ui/nuno/CMakeFiles/raptormenu_nuno.dir/raptormenu_nuno_automoc.o
[ 75%] Building CXX object plugins/ui/nuno/CMakeFiles/raptormenu_nuno.dir/nunoplugin.o
Linking CXX shared module ../../../lib/raptormenu_nuno.so
[ 75%] Built target raptormenu_nuno
[ 77%] Generating raptormenu_classic_automoc.cpp
Generating classicplugin.moc
Scanning dependencies of target raptormenu_classic
[ 80%] Building CXX object plugins/bg/classic/CMakeFiles/raptormenu_classic.dir/raptormenu_classic_automoc.o
[ 83%] Building CXX object plugins/bg/classic/CMakeFiles/raptormenu_classic.dir/classicplugin.o
/home/yannick/raptor/plugins/bg/classic/classicplugin.cpp:25: warning: unused parameter ‘args’
Linking CXX shared module ../../../lib/raptormenu_classic.so
[ 83%] Built target raptormenu_classic
[ 86%] Generating raptorfancybackground_automoc.cpp
Generating fancyplugin.moc
Scanning dependencies of target raptorfancybackground
[ 88%] Building CXX object plugins/bg/fancy/CMakeFiles/raptorfancybackground.dir/raptorfancybackground_automoc.o
[ 91%] Building CXX object plugins/bg/fancy/CMakeFiles/raptorfancybackground.dir/fancyplugin.o
Linking CXX shared library ../../../lib/libraptorfancybackground.so
[ 91%] Built target raptorfancybackground
[ 94%] Generating qtdisplay.moc
Scanning dependencies of target raptormenubin
[ 97%] Building CXX object launcher/CMakeFiles/raptormenubin.dir/main.o
In file included from /home/yannick/raptormenu/launcher/main.cpp:7:
/home/yannick/raptormenu/launcher/qtdisplay.h:34:38: error: X11/extensions/composite.h: No such file or directory
/home/yannick/raptormenu/launcher/qtdisplay.h:35:39: error: X11/extensions/Xcomposite.h: No such file or directory
/home/yannick/raptormenu/launcher/qtdisplay.h:38:36: error: X11/extensions/Xdamage.h: No such file or directory
/home/yannick/raptormenu/launcher/main.cpp: In function ‘int main(int, char**)’:
/home/yannick/raptormenu/launcher/main.cpp:39: warning: unused variable ‘loader’
make[2]: *** [launcher/CMakeFiles/raptormenubin.dir/main.o] Error 1
make[1]: *** [launcher/CMakeFiles/raptormenubin.dir/all] Error 2
make: *** [all] Error 2


yannick@tux:~/raptormenu/build$ make install
[ 94%] Built target raptormenu
[ 94%] Built target raptorhelper
[ 94%] Built target tom
[ 94%] Built target tom-editor
[ 94%] Built target raptormenu_nuno
[ 94%] Built target raptormenu_classic
[ 94%] Built target raptorfancybackground
[ 94%] Building CXX object launcher/CMakeFiles/raptormenubin.dir/main.o
In file included from /home/yannick/raptormenu/launcher/main.cpp:7:
/home/yannick/raptormenu/launcher/qtdisplay.h:34:38: error: X11/extensions/composite.h: No such file or directory
/home/yannick/raptormenu/launcher/qtdisplay.h:35:39: error: X11/extensions/Xcomposite.h: No such file or directory
/home/yannick/raptormenu/launcher/qtdisplay.h:38:36: error: X11/extensions/Xdamage.h: No such file or directory
/home/yannick/raptormenu/launcher/main.cpp: In function ‘int main(int, char**)’:
/home/yannick/raptormenu/launcher/main.cpp:39: warning: unused variable ‘loader’
make[2]: *** [launcher/CMakeFiles/raptormenubin.dir/main.o] Error 1
make[1]: *** [launcher/CMakeFiles/raptormenubin.dir/all] Error 2
make: *** [all] Error 2
 
Laatst bewerkt:
Je mist een C header bestand. Je kan met apt-file makkelijk zoeken in welk pakket deze zit.
PHP:
sudo apt-get install apt-file
sudo apt-file update
apt-file search composite.h

schijnbaar is het pakket x11proto-composite-dev
 
met de apt-file ben ik buiten het bestandje dat jij hebt aangegeven ook te weten gekomen dat ik volgende twee pakketen miste

apt-file search Xcomposite.he
sudo apt-get install libxcomposite-dev

apt-file search Xdamage.h
sudo apt-get install libxdamage-dev



Nu blijkt het juist te zijn geinstalleerd maar de opdrachtregel raptor-menu bestaat blijkbaar niet. :(

http://raptor-menu.org/download op de site is nochthans aangewezen dat het zo moet worden geopend

De installatie was volgens mij goed verlopen

yannick@tux:~/raptor/build$ make
[ 22%] Built target raptormenu
[ 33%] Built target raptorhelper
[ 50%] Built target tom
[ 66%] Built target tom-editor
[ 75%] Built target raptormenu_nuno
[ 83%] Built target raptormenu_classic
[ 91%] Built target raptorfancybackground
[ 94%] Building CXX object launcher/CMakeFiles/raptormenubin.dir/main.o
/home/yannick/raptor/launcher/main.cpp: In function ‘int main(int, char**)’:
/home/yannick/raptor/launcher/main.cpp:39: warning: unused variable ‘loader’
[ 97%] Building CXX object launcher/CMakeFiles/raptormenubin.dir/qtdisplay.o
Linking CXX executable raptormenubin
[100%] Built target raptormenubin

yannick@tux:~/raptor/build$ sudo make install
[ 22%] Built target raptormenu
[ 33%] Built target raptorhelper
[ 50%] Built target tom
[ 66%] Built target tom-editor
[ 75%] Built target raptormenu_nuno
[ 83%] Built target raptormenu_classic
[ 91%] Built target raptorfancybackground
[100%] Built target raptormenubin
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing /usr/local/lib/libraptorhelper.so
-- Installing /usr/local/lib/libtom.so
-- Installing /usr/local/lib/libraptormenu.so
-- Installing /usr/local/share/kde4/servicetypes/raptor-dataplugin.desktop
-- Installing /usr/local/share/kde4/servicetypes/raptor-ui.desktop
-- Installing /usr/local/share/kde4/servicetypes/raptor-backdropplugin.desktop
-- Installing /usr/local/bin/tom-editor
-- Installing /usr/local/share/apps/desktoptheme/default/raptor-menu/nonaccell.svg
-- Installing /usr/local/share/apps/desktoptheme/default/raptor-menu/background.svg
-- Installing /usr/local/share/apps/desktoptheme/default/raptor-menu/old.svg
-- Installing /usr/local/lib/kde4/raptormenu_nuno.so
-- Installing /usr/local/share/kde4/services/raptormenu-nuno.desktop
-- Installing /usr/local/lib/kde4/raptormenu_classic.so
-- Installing /usr/local/share/kde4/services/classic.desktop
-- Installing /usr/local/lib/raptorplugins/libraptorfancybackground.so
-- Installing /usr/local/raptorapp/groups/fancy.desktop
-- Installing /usr/local/bin/raptormenubin

yannick@tux:~/raptor/build$ raptor-menu
bash: raptor-menu: command not found
 
Zit /usr/local/bin wel in je path?
PHP:
echo $PATH
 
Zit /usr/local/bin wel in je path?
PHP:
echo $PATH

yannick@tux:~$ echo $PATH
/usr/lib/kde4/bin:/usr/lib/kde4/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
in

yannick@tux:~$ raptormenubin
raptormenubin: symbol lookup error: /usr/lib/libQtSvg.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv

ik wil jullie al ens bedanken voor de hulp vooral Dropl dan :)
 
"undefined symbol" fouten kun je krijgen als je verschillende versie van dezelfde library aanwezig zijn en er tijdens het uitvoeren van de applicatie een andere versie wordt gebruikt dan tijdens het compileren.

Het lijkt erop dat je in de directory /usr/local/Trolltech/Qt-4.4.1/lib/ en /usr/lib/ verschillende versies van QT libraries hebt staan die problemen veroorzaken.

Wat je kunt proberen is in de shell de LD_LIBRARY_PATH variabele in te stellen naar de eerste directory en daarna nogmaals raptormenubin uit te voeren in diezelfde shell. Dit kan op de volgende manier:

Code:
export LD_LIBRARY_PATH=/usr/local/Trolltech/Qt-4.4.1/lib/:$LD_LIBRARY_PATH
Ik hoop wel dat deze variabele voorrang heeft, want dat weet ik niet zeker. :confused:

Dit is echter niet de nette methode, als je het goed wilt doen moet je opnieuw compileren met een paar wijzigingen in de opties voor de compiler. Dan heb je die variabele niet nodig.
 
yannick@tux:~$ export LD_LIBRARY_PATH=/usr/local/Trolltech/Qt-4.4.1/lib/:$LD_LIBRARY_PATH

yannick@tux:~$ raptormenubin
OK, this is all you get for now, we're redoing some stuff so don't complain ;-)

Dus dat werkt al.
Bedankt aan alledrie :d
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan