LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   compiling amarok-1.4.8 (https://www.linuxquestions.org/questions/slackware-14/compiling-amarok-1-4-8-a-608546/)

tramni1980 12-22-2007 07:30 AM

compiling amarok-1.4.8
 
Hello!
I am running Slackware Linux 12.0 with kernel generic-smp-2.6.21.5-smp. I have problems compiling amarok-1.4.8 using the original slackbuild script from sources/kde. This is the configure section of the script:
./configure \
--prefix=/usr \
--sysconfdir=/etc/kde \
--with-xinerama \
--with-libnjb \
--with-libmtp \
--with-libgpod \
--with-libkarma \
--disable-debug \
--program-prefix="" \
--program-suffix="" \
--build=$TARGET-slackware-linux
make $NUMJOBS || exit 1
make install DESTDIR=$PKG

this is local.options file:
VERSION=1.4.8
BUILD=1
TARGET=i686

And this is the error message I get:
Making all in ipod
make[5]: Entering directory `/tmp/amarok-1.4.8/amarok/src/mediadevice/ipod'
/usr/lib/qt/bin/moc ./ipodmediadevice.h -o ipodmediadevice.moc
/bin/sh ../../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../amarok/src -I../../../../amarok/src -I../../../../amarok/src/amarokcore -I../../../../amarok/src/amarokcore -I../../../../amarok/src/engine -I../../../../amarok/src/engine -I../../../../amarok/src/mediadevice -I/usr/include/gpod-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/taglib -I/usr/lib/qt/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT ipodmediadevice.lo -MD -MP -MF .deps/ipodmediadevice.Tpo -c -o ipodmediadevice.lo ipodmediadevice.cpp
ipodmediadevice.cpp: In member function 'virtual MediaItem* IpodMediaDevice::updateTrackInDB(IpodMediaItem*, const QString&, const MetaBundle&, const MetaBundle&, const PodcastInfo*)':
ipodmediadevice.cpp:472: error: 'ITDB_MEDIATYPE_AUDIO' was not declared in this scope
ipodmediadevice.cpp:495: error: 'ITDB_MEDIATYPE_MOVIE' was not declared in this scope
ipodmediadevice.cpp:524: error: 'ITDB_MEDIATYPE_AUDIOBOOK' was not declared in this scope
ipodmediadevice.cpp:562: error: 'ITDB_MEDIATYPE_MOVIE' was not declared in this scope
ipodmediadevice.cpp:563: error: 'ITDB_MEDIATYPE_PODCAST' was not declared in this scope
ipodmediadevice.cpp: In member function 'void IpodMediaDevice::detectModel()':
ipodmediadevice.cpp:1290: error: 'itdb_device_supports_artwork' was not declared in this scope
make[5]: *** [ipodmediadevice.lo] Error 1
make[5]: Leaving directory `/tmp/amarok-1.4.8/amarok/src/mediadevice/ipod'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/amarok-1.4.8/amarok/src/mediadevice'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/amarok-1.4.8/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/amarok-1.4.8/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/amarok-1.4.8'
make: *** [all] Error 2


I suspect it has something to do with the --with-libgpod configure option. It is strange since amarok-1.4.7 compiled without problems and no additional dependencies seem to be listed in amarok's homepage.

Any suggestions will be appreciated.

Regards,
Martin

weibullguy 12-22-2007 10:47 AM

It looks like a problem with libgpod. You could try to build Amarok without libgpod support if you don't need it and see if that works. If you need to support an ipod, you're libgpod version may be too old/new for Amarok. The latest version of libgpod is 0.6.0.

kennyz 12-22-2007 11:19 AM

Martin, you are correct. Slackware 12.0 ships with libgpod 0.4.2. The latest amaroK 1.4.8 requires libgpod 0.6, which is a change since 1.4.7.

I have built and posted libgpod 0.6.0 as well as amarok 1.4.8 to Linuxpackages.net.

I hope that helps.

Sincerely,

Ken Zalewski


Quote:

Originally Posted by tramni1980 (Post 2998898)
Hello!
I am running Slackware Linux 12.0 with kernel generic-smp-2.6.21.5-smp. I have problems compiling amarok-1.4.8 using the original slackbuild script from sources/kde.

I suspect it has something to do with the --with-libgpod configure option. It is strange since amarok-1.4.7 compiled without problems and no additional dependencies seem to be listed in amarok's homepage.

Any suggestions will be appreciated.

Regards,
Martin


BCarey 12-22-2007 11:29 AM

If you want to build them yourself, try the SlackBuilds on slacky.eu. They have one for amarok 1.4.8 and libgpod 0.6.0.

Brian

tramni1980 12-23-2007 11:44 AM

Yes I upgraded to libgpod-0.6.0 and amarok-1.4.8 compiled. Thank you all!

Regards,
Martin

adriv 12-23-2007 04:28 PM

Quote:

Originally Posted by kennyz (Post 2999036)
Martin, you are correct. Slackware 12.0 ships with libgpod 0.4.2. The latest amaroK 1.4.8 requires libgpod 0.6, which is a change since 1.4.7.

I have built and posted libgpod 0.6.0 as well as amarok 1.4.8 to Linuxpackages.net.

I hope that helps.

Sincerely,

Ken Zalewski

Thank You!


All times are GMT -5. The time now is 05:48 PM.