You are not logged in.
Hi,
I'm trying to install Amarok 2 via yaourt with this package: http://aur.archlinux.org/packages.php?ID=19633
However, it fails with several errors. I've done some searching, but I can't find any solution that's helpful to me/one I understand (still being new to Arch).
Here is the output:
==> Building and installing package
==> Making package: amarok2 2.0-1 i686 (Fri Dec 12 18:54:45 EST 2008)
==> WARNING: Running makepkg as root...
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found amarok-2.0.tar.bz2 in build dir
==> Validating source files with md5sums...
amarok-2.0.tar.bz2 ... Passed
==> Extracting Sources...
-> bsdtar -x -f amarok-2.0.tar.bz2
==> Removing existing pkg/ directory...
==> Starting build()...
-- Found Qt-Version 4.4.3 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Found Threads: TRUE
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Found KDE 4.1 include dir: /usr/include
-- Found KDE 4.1 library dir: /usr/lib
-- Found KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
Qt QTNSPLUGIN library not found.
-- Found taglib: -L/usr/lib -ltag
-- Taglib found: -L/usr/lib -ltag
-- Found Strigi
-- Found Strigi: /usr/lib/libstreams.so
-- Strigi API is pre-screwup check, need 'char'
-- Found MySQL: /usr/include/mysql, /usr/lib/libmysqlclient.so
-- Found MySQL Embedded: /usr/include/mysql, /usr/lib/mysql/libmysqld.a
-- Found GLIB2: /usr/lib/libglib-2.0.so
-- KDE CMake PKGCONFIG macro indicates that libgpod-1.0 is not installed on your computer.
-- Install the package which contains libgpod-1.0.pc if you want to support this feature.
-- Could not find OPTIONAL package Ipod
-- Found MP4V2: /usr/lib/libmp4v2.so
-- Found MTP but version requirements not met
-- Found CURL: /usr/lib/libcurl.so
-- Libgcrypt found: /usr/lib/libgcrypt.so
-- Found GObject libraries: /usr/lib/libgobject-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libglib-2.0.so
-- Found GObject includes : /usr/include/glib-2.0/gobject
-- KDE CMake PKGCONFIG macro indicates that loudmouth-1.0 is not installed on your computer.
-- Install the package which contains loudmouth-1.0.pc if you want to support this feature.
-- Could not find OPTIONAL package Loudmouth
-- Found Soprano: /usr/lib/libsoprano.so
-- Found Soprano includes: /usr/include
-- Found Soprano Index: /usr/lib/libsopranoindex.so
-- Found Soprano Client: /usr/lib/libsopranoclient.so
-- KDE CMake PKGCONFIG macro indicates that libgpod-1.0 is not installed on your computer.
-- Install the package which contains libgpod-1.0.pc if you want to support this feature.
-- Could not find OPTIONAL package Ipod
--
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ kdelibs
+ taglib
+ strigi
+ mysqld
+ zlib
+ glib2
+ Gdk
+ libmp4v2
+ curl
+ libxml2
+ openssl or libgcrypt
+ gobject
+ soprano
+ nepomuk
+ Qt4 Glib support
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ libgpod, 0.6.0: Support Apple iPod audio devices <http://sourceforge.net/projects/gtkpod/>
+ libmtp, 0.3.0: Enable Support for portable media devices that use the media transfer protocol <http://libmtp.sourceforge.net/>
+ loudmouth: Loudmouth is the communication backend needed by mp3tunes for synching. <http://www.loudmouth-project.org>
-----------------------------------------------------------------------------
-- Configuring done
CMake Warning at /usr/share/apps/cmake/modules/KDE4Macros.cmake:560 (add_library):
Cannot generate a safe linker search path for target
amarok_collection-sqlcollection because files in some directories may
conflict with libraries in implicit directories:
link library [libmysqlclient.so] in /usr/lib may be hidden by files in:
/usr/lib/mysql
Some of these libraries may not be found correctly.
Call Stack (most recent call first):
src/collection/sqlcollection/CMakeLists.txt:50 (kde4_add_plugin)
-- Generating done
-- Build files have been written to: /tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0
[ 4%] Built target generator
[ 11%] Built target qtscript_core
[ 49%] Built target qtscript_gui
[ 53%] Built target qtscript_network
[ 54%] Built target qtscript_sql
[ 54%] Built target qtscript_uitools
[ 57%] Built target qtscript_xml
[ 59%] Built target amarok_taglib
[ 64%] Built target amarokplasma
[ 64%] Built target amarokpud
[ 83%] Built target amaroklib
[ 83%] Built target amarok
[ 84%] Built target amarok_afttagger
[ 84%] Built target amarok_collection-daapcollection
[ 84%] Building CXX object src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/amarok_collection-mtpcollection_automoc.o
In file included from /tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0/src/collection/mtpcollection/moc_MtpHandler.cpp:10,
from /tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0/src/collection/mtpcollection/amarok_collection-mtpcollection_automoc.cpp:4:
/tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0/src/collection/mtpcollection/handler/MtpHandler.h:68: error: 'LIBMTP_raw_device_t' has not been declared
/tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0/src/collection/mtpcollection/handler/MtpHandler.h:160: error: 'LIBMTP_raw_device_t' has not been declared
/tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0/src/collection/mtpcollection/handler/MtpHandler.h:171: error: ISO C++ forbids declaration of 'LIBMTP_raw_device_t' with no type
/tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0/src/collection/mtpcollection/handler/MtpHandler.h:171: error: expected ';' before '*' token
make[2]: *** [src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/amarok_collection-mtpcollection_automoc.o] Error 1
make[1]: *** [src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build amarok2 package.
Does anyone know how I can fix this? I suppose waiting for Amarok 2 to arrive in the main repos is the best solution, but I don't know when that will happen.
Last edited by vertimyst (2008-12-13 01:41:20)
-Vert
---------
Free webhosting@http://shadowserve.ath.cx - Currently and soon to go through many changes, still alive! - June 29, 2009
Offline
You can install libmtp-devel from the AUR using yaourt, that's how I got it to compile.
Somewhere, just out of sight, the Penguins are gathering!
Offline
EDIT: Curse you, slammer. Beat me to it
The "mtpcollection" in the error line and this earlier note in the program:
" Found MTP but version requirements not met "
Give me the impression that it may be because of an outdated libmtp. Try pacman -Rd libmtp and install libmtp-devel from AUR, perhaps?
Last edited by FrozenFox (2008-12-13 01:09:11)
Offline
EDIT: Curse you, slammer. Beat me to it
The "mtpcollection" in the error line and this earlier note in the program:
" Found MTP but version requirements not met "
Give me the impression that it may be because of an outdated libmtp. Try pacman -Rd libmtp and install libmtp-devel from AUR, perhaps?
I didn't see that bit, actually. If I had maybe I would have thought of the solution myself.
But thanks guys, it worked. ^_^
Any idea as to when we'll get a package in the repos?
-Vert
---------
Free webhosting@http://shadowserve.ath.cx - Currently and soon to go through many changes, still alive! - June 29, 2009
Offline