You are not logged in.
Pages: 1
Hi there,
over the last few weeks I used to compile amarok2.1-svn by myself because I need some features 2.0 doesn't have. There were a few bugs, though, but nothing that really annoyed me. So I checked out a recent version now and then and compiled it. Worked like a charm - but not anymore.
I don't know why, but the CMake configure process keeps complaining about not finding QtScript:
-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- Please install them before continuing this software installation.
-----------------------------------------------------------------------------
+ qtscript-qt: QtScript Qt Bindings <http://code.google.com/p/qtscriptgenerator/>
-----------------------------------------------------------------------------
CMake Error at /usr/share/apps/cmake/modules/MacroLogFeature.cmake:93 (MESSAGE):
Exiting: Missing Requirements
Call Stack (most recent call first):
CMakeLists.txt:114 (macro_display_feature_log)
-- Configuring incomplete, errors occurred!I already experienced this problem when I wanted to compile amarok2 before, but I could solve it by using this cmake command I found in an PKGBUILD in AUR:
cmake -DCMAKE_INSTALL_PREFIX=/usr -DQTDIR=/usr -DCMAKE_BUILD_TYPE=RELWITHDEBINF ..Of course, qtscriptgenerator-git is installed. Compiling amarok2-svn stopped working after the 4.2.3 update I think.
Thanks for any help in advance
robo
PS: I'm using x86_64.
Offline
I ran into the same error; i moved around this problem editing CMakeLists.txt (it's in src/amarok2-svn inside the sources folder).
You have to comment these lines:
find_package( QtScriptQtBindings REQUIRED )
macro_log_feature( QTSCRIPTQTBINDINGS_FOUND "qtscript-qt" "QtScript Qt Bindings" "http://code.google.com/p/qtscriptgenerator/" TRUE "" "" )Offline
Hi there,
thanks for your tip. But that doesn't really solve the problem. Of course CMake runs fine now but the building process fails (of course).
$ LC_MESSAGES=posix make
[ 0%] Building CXX object CMakeFiles/bindingstest.dir/cmake/modules/QtScriptBindingsTest.o
/home/marco/Anwendungen/amarok/cmake/modules/QtScriptBindingsTest.cpp:19:28: error: KDE/KApplication: No such file or directory
/home/marco/Anwendungen/amarok/cmake/modules/QtScriptBindingsTest.cpp:20:26: error: KDE/KAboutData: No such file or directory
/home/marco/Anwendungen/amarok/cmake/modules/QtScriptBindingsTest.cpp:21:28: error: KDE/KCmdLineArgs: No such file or directory
[ 0%] Built target amarok_automoc
[ 0%] Built target mediadevicelib_automoc
[ 0%] Built target amaroklib_automoc
[ 1%] Built target amarokpud
[ 1%] [ 1%] Built target amarok_collection-daapcollection_automoc
Built target amarok_afttagger_automoc
/home/marco/Anwendungen/amarok/cmake/modules/QtScriptBindingsTest.cpp: In function ‘int main(int, char**)’:
/home/marco/Anwendungen/amarok/cmake/modules/QtScriptBindingsTest.cpp:30: error: ‘KAboutData’ was not declared in this scope
/home/marco/Anwendungen/amarok/cmake/modules/QtScriptBindingsTest.cpp:30: error: expected ‘;’ before ‘about’
/home/marco/Anwendungen/amarok/cmake/modules/QtScriptBindingsTest.cpp:31: error: ‘KCmdLineArgs’ has not been declared
/home/marco/Anwendungen/amarok/cmake/modules/QtScriptBindingsTest.cpp:31: error: ‘about’ was not declared in this scope
/home/marco/Anwendungen/amarok/cmake/modules/QtScriptBindingsTest.cpp:32: error: ‘KApplication’ was not declared in this scope
/home/marco/Anwendungen/amarok/cmake/modules/QtScriptBindingsTest.cpp:32: error: expected ‘;’ before ‘app’
[ 1%] make[2]: *** [CMakeFiles/bindingstest.dir/cmake/modules/QtScriptBindingsTest.o] Error 1
Built target amarok_collection-mtpcollection_automoc
make[1]: *** [CMakeFiles/bindingstest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 1%] Built target amarok_collection-ipodcollection_automoc
make: *** [all] Error 2This really seems to be a KDEmod-issue.
Thanks
robo
Offline
Ah, thanks!
I just noticed that a lot of packages (all of them?) now have -devel packages, too. Well, this seems to be against the philosophy arch itself developed (devel-files inside of the "main" packages), good to know. Maybe you should mention that somewhere in the FAQs or on the "How to enable KDEmod repo" pages.
Thanks! Let's see if it works now ![]()
edit: It worked! Thanks again!
Last edited by robotangel (2009-06-02 23:07:02)
Offline
Pages: 1