LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Qt error when (http://www.linuxquestions.org/questions/slackware-14/qt-error-when-4175446638/)

Bazzaah 01-21-2013 02:43 PM

Qt error when
 
Hi

I just compiled Amarok 2.7 and during installation I get this error after I run '# make install';

Code:

[ 59%] Building CXX object src/core-impl/collections/playdarcollection/CMakeFiles/amarok_collection-pla-playdarcollection_automoc.o
In file included from /usr/lib64/qt/include/QtCore/QObject:1:0,
                from /home/slack/Downloads/amarok-2.7.0/amarok-2.7.0-build/src/core-impl/collections/pcore-impl/collections/playdarcollection/support/Controller.h:20,
                from /home/slack/Downloads/amarok-2.7.0/amarok-2.7.0-build/src/core-impl/collections/pcore-impl/collections/playdarcollection/support/ProxyResolver.h:20,
                from /home/slack/Downloads/amarok-2.7.0/amarok-2.7.0-build/src/core-impl/collections/ppp:10,
                from /home/slack/Downloads/amarok-2.7.0/amarok-2.7.0-build/src/core-impl/collections/playdarcollection_automoc.cpp:4:
/usr/lib64/qt/include/QtCore/qobject.h:47:32: fatal error: QtCore/qobjectdefs.h: No such file or direct
compilation terminated.
make[2]: *** [src/core-impl/collections/playdarcollection/CMakeFiles/amarok_collection-playdarcollectioction_automoc.o] Error 1
make[1]: *** [src/core-impl/collections/playdarcollection/CMakeFiles/amarok_collection-playdarcollectio
make: *** [all] Error 2

Any ideas on how I might be able to remedy this? The objects appear to be there.

I'm using Slackware-current.

Thanks in advance for any help

knudfl 01-21-2013 04:44 PM

A corrupt amarok-2.7.0.tar.bz2 ? ?

Or a corrupt file in qt ?

→ → Difficult to say : No issues here, a clean install of Slackware 14 - 64.
Code:

Linking CXX executable amarok_afttagger
[100%] Built target amarok_afttagger


willysr 01-22-2013 02:41 AM

i built Amarok and it built fine here, so probably it's a corrupt file
Code:

root@office:/home/willysr# head -10 /var/log/packages/amarok-2.7.0-i486-1
PACKAGE NAME:    amarok-2.7.0-i486-1
COMPRESSED PACKAGE SIZE:    40M
UNCOMPRESSED PACKAGE SIZE:    74M
PACKAGE LOCATION: /tmp/kde-build/extragear/amarok-2.7.0-i486-1.txz
PACKAGE DESCRIPTION:
amarok: amarok (music player)
amarok:
amarok: Amarok is a music player for Linux and Unix with an intuitive
amarok: interface.  Amarok makes playing the music you love easier than ever
amarok: before -- and looks good doing it


Bazzaah 01-22-2013 04:18 AM

The problem was running
Code:

sudo make install
instead of
Code:

make install
as su.

D'oh.

Thanks for the replies though.


All times are GMT -5. The time now is 08:22 AM.