Manager
|
I attempted to create Amarok git using rpmbuild of the 8/30 src.rpm in kde4 unstable and the process just stops @ "Performing Test BINDINGS_RUN_RESULT". No error, no cpu utilization - it just hangs.
Earlier in the week I dl'd the source from git and tried do do a compile and got the same problem as today. A week or so earlier I was able to compile from git without any problem. tried google'ing and didn't find a solution. thanks
Last edited by google01103 on Thu Sep 03, 2009 3:30 pm, edited 1 time in total.
|
Registered Member
|
Cmake tries to check for bindings, then tries to build a testapp called bindingstest (check if it's in your build dir!) and finally tries to run it. You should take a look at CMakeCache.txt, too.
I've compiled 2.2-git today without any trouble on my SuSE system, but I reuse my old builddir. m0nk
If men could get pregnant, abortion would be a sacrament.
|
Manager
|
I found in the CMakeError.log:
/usr/src/packages/BUILD/amarok/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: ‘Q_WS_WIN’ undeclared (first use in this function) /usr/src/packages/BUILD/amarok/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: ‘Q_WS_MAC’ undeclared (first use in this function) /usr/src/packages/BUILD/amarok/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: ‘Q_WS_QWS’ undeclared (first use in this function) - but afik all qt4 packages are installed I found a bindingtest dir but it has the same timestamp as all the dl'ed files in CMakeCache.txt i found : //No help, variable specified on the command line. COMPILE_DEFINITIONS:STRING=-DBINDINGS_RUN_RESULT -I/usr/include/taglib thanks, I do think I'm over my head and unless you see something obvious I'll probably wait for an rpm in the repo |
Registered Member
|
cd /usr/src/packages/BUILD/amarok/build
rm -rf * cmake -DCMAKE_INSTALL_PREFIX=/usr .. make su -c 'make install' or you can use the master from here. cd to/directory/with/amarok/master md amarok/build cd amarok tar xzf amarok-master.tar.gz cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. make su -c 'make install' or check out the git repository: git clone git://gitorious.org/amarok/amarok.git cd amarok mkdir build && cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. make su -c 'make install' The last is the most flexible (but ~50megs). You don't need to remove the build dir. Just do a git pull --rebase in the amarok dir and you always have the latest version. cd build cmake .. make su -c 'make install' DONE m0nk
If men could get pregnant, abortion would be a sacrament.
|
Manager
|
and same errors as earlier |
Registered Member
|
-----snip-----
-----snap----- Really strange, because we have nearly the same system running. (openSUSE 11.1, KDE 4.3, Qt 4.5.2) Which version of qtscript-qt have you installed (0.1.0-2.1) I've just made a git pull and ran cmake ... No trouble. m0nk
If men could get pregnant, abortion would be a sacrament.
|
Manager
|
don't you mean kde4-qtscript-qt? which is at 0.1.0-6.11
there is no qtscript-qt in my repos nor shown on webpin http://packages.opensuse-community.org/ to me what's weird is I was able to compile from git till recently interesting note: I can rebuild the src.rpm in the unstable repo but the app errors out when executed |
Registered Member
|
I don't use precompiled packages from foreign repos.
It should be the same, although there's no need for kde4 prefix, because it doesn't depend on KDE4. I've build my own package, as I always do for packages handling with Amarok. In openSUSE build repos, it's called qt4-qtscript. The output, I've posted was from a fresh build dir. Are you sure, you have a complete clean build dir? I don't have //No help, variable specified on the command line. COMPILE_DEFINITIONS:STRING=-DBINDINGS_RUN_RESULT -I/usr/include/taglib in CMakeCache.txt The only BINDINGS are here:
about line 850. Sorry, but can't see a solution tonight. Go to bed now. It's 01:00 am here in Germany. m0nk
If men could get pregnant, abortion would be a sacrament.
|
Manager
|
definitely have clean build dir
I do have //No help, variable specified on the command line. COMPILE_DEFINITIONS:STRING=-DBINDINGS_RUN_RESULT -I/usr/include/taglib in CMakeCache.txt my CMakeCache.txt is only abou 210 lines last few lines are: //Advanced flag for variable: CMAKE_USE_RELATIVE_PATHS CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1 //Advanced flag for variable: CMAKE_VERBOSE_MAKEFILE CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 I wouldn't spend much time on this - either a newer build will compile or there'll be a rpm from openSuse |
Manager
|
(RESOLUTION]
re-Googe'ing brought up a couple of results I missed earlier (lost links after a X crash) Seems that the test is not actually needed (?) and by editing amarok/cmake/modules/FindQtScriptQtBindings.cmake to be just: include(CheckCXXSourceRuns) set(QTSCRIPTQTBINDINGS_FOUND TRUE) it compiles and appears to be running fine and yes it would be cleaner to just comment out the call to the module but at the time this was easiest |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]