Topic locked

GIT, Taglib 1.6 and Taglib-extra 1.0 errors

urkud
Registered Member
Posts
2
Karma
0
OS
It seems that the original problem ("undefined reference to `CheckExtensionImpl") is that CheckExtensionImpl symbol is not exported in taglib-extras.
Upgrading to taglib-extra-1.0.1 fixed a problem for me.
User avatar Bananikus
Registered Member
Posts
8
Karma
0
OS
How to compile taglib with asf support in kdesvn-build? I use KDE trunk compiled with it everyday and need Amarok trunk. :)


Bananikus, proud to be a member of KDE forums since 2008-Dec.
User avatar bcooksley
Administrator
Posts
19759
Karma
86
OS
Open Konsole and change into the build/kdesupport/taglib directory. Then run "cmake . -DWITH_ASF=TRUE then you can run kdesvn-build as normal and ASF support will be included.


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
User avatar Mamarok
Manager
Posts
3457
Karma
10
OS
Bananikus wrote:How to compile taglib with asf support in kdesvn-build? I use KDE trunk compiled with it everyday and need Amarok trunk. :)

You could also have read the previous posts where you could have found the answer...


Mamarok, hanging out in the Amarok forum since August, 2007
Currently running Kubuntu Zesty 17.04, Plasma 5.10.5, Amarok 2.8-git of the day
User avatar Bananikus
Registered Member
Posts
8
Karma
0
OS
Code: Select all
[kde-devel@ban-desktop taglib]$ cmake . -DWITH_ASF=TRUE
CMake Error: The source directory "/home/kde-devel/kdesvn/build/kdesupport/taglib" does not appear to contain CMakeLists.txt.


When I use this command in ../kdesvn/kdesupport/taglib/, taglib compile against without asf support...


Bananikus, proud to be a member of KDE forums since 2008-Dec.
User avatar bcooksley
Administrator
Posts
19759
Karma
86
OS
Try

Code: Select all
cmake .. -DWITH_ASF=TRUE


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
User avatar Bananikus
Registered Member
Posts
8
Karma
0
OS
Hmmm, cmake works... Log:
Code: Select all
[kde-devel@ban-desktop taglib]$ cmake .. -DWITH_ASF=TRUE
-- Ensure you cppunit installed version is at least 1.12.0
-- Found Qt-Version 4.5.2                                 
-- Found Rasqal 0.9.16: libs - /usr/lib/librasqal.so; includes - /usr/include/rasqal
-- Found Raptor 1.4.19: libs - /usr/lib/libraptor.so; includes - /usr/include       
-- Found Redland 1.0.9: libs - /usr/lib/librdf.so; includes - /usr/include         
-- Found CLucene library: /usr/lib/libclucene.so                                   
-- Found CLucene include dir: /usr/include                                         
-- Found CLucene library dir: /usr/lib                                             
-- Found CLucene: /usr/lib/libclucene.so                                           
-- Found Java JNI >= 1.4: /usr/lib/jvm/java-6-openjdk/include, /usr/lib/jvm/java-6-openjdk/jre/lib/i386/client/libjvm.so
---------------------------------------------------------------------------------------                                 
-- Soprano Components that will be built:                                                                               
   * Redland storage backend                                                                                           
   * Sesame2 storage backend (java-based)                                                                               
   * Raptor RDF parser                                                                                                 
     (including TriG parser)                                                                                           
   * Raptor RDF serializer                                                                                             
   * The CLucene-based full-text search index library                                                                   
   * D-Bus server/client support                                                                                       

-- Soprano Components that will NOT be built:
   * Virtuoso storage backend               
---------------------------------------------------------------------------------------
-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)                                       
-- Soprano is needed to build Akonadi. We will use Soprano from kdesupport.           
-- Found Automoc4: /home/kde-devel/kdesvn/build/kdesupport/automoc/automoc4           
-- MySQL Server found.                                                                 
--                                                                                     
-----------------------------------------------------------------------------         
-- The following external packages were located on your system.                       
-- This installation will have the extra features provided by these packages.         
+ Soprano                                                                             
+ Boost                                                                               
Congratulations! All external packages have been found.                               
-----------------------------------------------------------------------------         

** Expat is disabled. No support for XML via Expat
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found CLucene library: /usr/lib/libclucene.so                         
-- Found CLucene include dir: /usr/include                               
-- Found CLucene library dir: /usr/lib                                   
-- Found CLucene: /usr/lib/libclucene.so                                 
** CLucene is found. Support for CLucene backend is enabled               
** HyperEstraier is disabled. No support for HyperEstraier backend       
** SQLite is disabled. No support for SQLite backend                     
** Exiv2 is found. Support for indexing of EXIF/IPTC metadata is enabled 
-- Found Qt-Version 4.5.2                                                 
** Qt4 is found. Support for Qt4 GUI client is enabled                   
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found dbus-1 release >= 1.0                                           
** DBus-1 is found. Support for DBus interface in Strigi daemon is enabled
** Log4cxx is disabled. No support for advanced logging                   
** FAM is disabled. No support for efficient file change monitoring system
-- Ensure you cppunit installed version is at least 1.12.0               
** CppUnit not found. Support for Strigi unit tests is disabled           
-- dbus support enabled                                                   
Java5 found TRUE                                                         
-- /home/kde-devel/kde/lib - /home/kde-devel/kde                         
-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)                         
-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)                         
-- Found Threads: TRUE                                                   
-- Found Automoc4: /home/kde-devel/kdesvn/build/kdesupport/automoc/automoc4
-- Found GStreamer Plugins:                                               
    /usr/lib/libgstaudio-0.10.so
    /usr/lib/libgstcdda-0.10.so
    /usr/lib/libgstnetbuffer-0.10.so
    /usr/lib/libgstpbutils-0.10.so
    /usr/lib/libgstriff-0.10.so
    /usr/lib/libgstrtp-0.10.so
    /usr/lib/libgstrtsp-0.10.so
    /usr/lib/libgstsdp-0.10.so
    /usr/lib/libgsttag-0.10.so
    /usr/lib/libgstvideo-0.10.so
-- Found GLIB2: /usr/lib/libglib-2.0.so
-- Found GObject libraries: gobject-2.0;glib-2.0
-- Found GObject includes : /usr/include/glib-2.0
-- Found ALSA: /usr/lib/libasound.so
--
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ GStreamer
+ GStreamer video plugin
+ GStreamer audio plugin
+ GLib2
+ LibXml2
+ OpenGL
+ XCB
Congratulations! All external packages have been found.
-----------------------------------------------------------------------------

-- Found Automoc4: /home/kde-devel/kdesvn/build/kdesupport/automoc/automoc4
--  /usr/include/PolicyKit ===========
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kde-devel/kdesvn/build/kdesupport

Unfortunately taglib still haven't asf support.
It seems to me, that kdesvn-build overwrite my cmake config.


Bananikus, proud to be a member of KDE forums since 2008-Dec.
User avatar Mamarok
Manager
Posts
3457
Karma
10
OS
Well, you need to compile taglib with the support enabled, then erase your previous CMakeCache, else it will still search for the old taglib packages. But all this is already described in the previous posts in tis thread, please search back...


Mamarok, hanging out in the Amarok forum since August, 2007
Currently running Kubuntu Zesty 17.04, Plasma 5.10.5, Amarok 2.8-git of the day
User avatar Bananikus
Registered Member
Posts
8
Karma
0
OS
I deleted old cmakefiles...
I use KDE from kdesvn-build and must compile taglib with asf in kdesvn-build, but I can't.

All of solutions in this topic doesn't work....


Bananikus, proud to be a member of KDE forums since 2008-Dec.
User avatar bcooksley
Administrator
Posts
19759
Karma
86
OS
Try this

Code: Select all
cmake /path/to/kdesupport/build -DWITH_ASF=ON -DWITH_MP4=ON


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
finex
KDE Developer
Posts
46
Karma
0
OS
bcooksley wrote:Try this

Code: Select all
cmake /path/to/kdesupport/build -DWITH_ASF=ON -DWITH_MP4=ON


Hi, I've tried to recompile kdesupport with this parameters, but amarok still tell me that asf support is not enabled.

On my kde directory I've those files:
./include/taglib-extras/mp4tag.h
./include/taglib/mp4tag.h
User avatar markey
KDE Developer
Posts
2281
Karma
3
OS
finex wrote:
bcooksley wrote:Try this

Code: Select all
cmake /path/to/kdesupport/build -DWITH_ASF=ON -DWITH_MP4=ON


Hi, I've tried to recompile kdesupport with this parameters, but amarok still tell me that asf support is not enabled.

On my kde directory I've those files:
./include/taglib-extras/mp4tag.h
./include/taglib/mp4tag.h


Make sure that you don't have multiple versions of Taglib installed.


--
Mark Kretschmann - Amarok Developer
finex
KDE Developer
Posts
46
Karma
0
OS
markey wrote:Make sure that you don't have multiple versions of Taglib installed.


Alreay checked :((
User avatar bcooksley
Administrator
Posts
19759
Karma
86
OS
Have you set $CMAKE_PREFIX_PATH to include the KDESupport installation directory?

Example - I install KDE to /opt/trunk-kde/kde and Qt to /opt/trunk-kde/qt

Code: Select all
CMAKE_PREFIX_PATH=/opt/trunk-kde/kde:/opt/trunk-kde/qt


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
finex
KDE Developer
Posts
46
Karma
0
OS
bcooksley wrote:Have you set $CMAKE_PREFIX_PATH to include the KDESupport installation directory?


Of course, I've a similar path, so both $CMAKE_INSTALL_PREFIX and $CMAKE_PREFIX_PATH are set to my custom path. Maybe i'm doing something wrong with cmake. This is the command i execute:

Code: Select all
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Debug -DWITH_LibLastFm=OFF -DWITH_MP3Tunes=OFF -DWITH_Mtp=ON -DWITH_Ipod=OFF -DWITH_Strigi=OFF -DCMAKE_PREFIX_PATH=`kde4-config --prefix`


I've added the last -DCMAKE_PREFIX_PATH=`kde4-config --prefix` after your suggestion, before it simply was an enviroment variable, but nothing changed. This is the output of cmake:

Code: Select all
-- Taglib found: -L/mnt/archive/KDE4/kde/lib -ltag
-- Performing Test TAGLIB_ASF_FOUND
-- Performing Test TAGLIB_ASF_FOUND - Failed
CMake Error at CMakeLists.txt:27 (message):
  TagLib does not have ASF support compiled in.

 
Topic locked

Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Exabot [Bot], Google [Bot], ifukcvrtc, Majestic-12 [Bot], ptfpkofg, Yahoo [Bot]