2.5.0 tarball problems
Bart Cerneels
bart.cerneels at kde.org
Sat Dec 17 19:12:02 UTC 2011
I'm testing the tarball myself ATM. What CMake options did you use to build?
i18n people: I have no clue about the translation stuff.
On Sat, Dec 17, 2011 at 19:50, Modestas Vainius <modax at debian.org> wrote:
> Hello,
>
> current 2.5.0 tarball does not build. The problem is in the doc/nl (could be
> related to kdelibs 4.6.5):
>
> make -f doc/nl/CMakeFiles/nl-handbook.dir/build.make doc/nl/CMakeFiles/nl-
> handbook.dir/build
> make[3]: Entering directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
> /usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-
> gnu/CMakeFiles
> [ 21%] Generating index.cache.bz2
> cd ../doc/nl && /usr/bin/meinproc4 --check --cache /«PKGBUILDDIR»/obj-x86_64-
> linux-gnu/doc/nl/index.cache.bz2 /«PKGBUILDDIR»/doc/nl/index.docbook
> Generating moc_BiasSolver.cpp
> Generating moc_PlaylistFileProvider.cpp
> Generating moc_ConstraintGroup.cpp
> index.docbook:21: parser error : Entity 'Thom.Castermans' not defined
> &Rinse.Devries;&Antoon.Tolboom;&Freek.de.Kruijf;&Thom.Castermans;
> ^
> index.docbook:13966: parser error : Entity 'vertaling.thom' not defined
> meld.fouten;&vertaling.rinse;&vertaling.antoon;&vertaling.freek;&vertaling.thom;
> ^
> make[3]: *** [doc/nl/index.cache.bz2] Error 1
> make[3]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
> make[2]: *** [doc/nl/CMakeFiles/nl-handbook.dir/all] Error 2
> make[2]: *** Waiting for unfinished jobs....
>
> What is more, I see mysql-config error at the cmake stage even if it does not
> break amarok build actually (probably because include directory is in the
> cflags). Attached patch fixes the problem.
>
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/lib/ccache/gcc
> -- Check for working C compiler: /usr/lib/ccache/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/lib/ccache/c++
> -- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- /«PKGBUILDDIR»/cmake/modules
> -- Looking for dlopen in dl
> -- Looking for dlopen in dl - found
> -- Taglib found: -L/usr/lib -ltag
> -- Performing Test TAGLIB_ASF_FOUND
> -- Performing Test TAGLIB_ASF_FOUND - Success
> -- Performing Test TAGLIB_MP4_FOUND
> -- Performing Test TAGLIB_MP4_FOUND - Success
> -- Taglib-Extras found: -L/usr/lib -ltag-extras
> -- Performing Test COMPLEX_TAGLIB_FILENAME
> -- Performing Test COMPLEX_TAGLIB_FILENAME - Failed
> -- Looking for Q_WS_X11
> -- Looking for Q_WS_X11 - found
> -- Looking for Q_WS_WIN
> -- Looking for Q_WS_WIN - not found.
> -- Looking for Q_WS_QWS
> -- Looking for Q_WS_QWS - not found.
> -- Looking for Q_WS_MAC
> -- Looking for Q_WS_MAC - not found.
> -- Found Qt-Version 4.7.3 (using /usr/bin/qmake)
> -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-
> gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-
> gnu/libXft.so;/usr/lib/x86_64-linux-gnu/libXau.so;/usr/lib/x86_64-linux-
> gnu/libXdmcp.so
> -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-
> gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-
> gnu/libXft.so;/usr/lib/x86_64-linux-gnu/libXau.so;/usr/lib/x86_64-linux-
> gnu/libXdmcp.so - found
> -- Looking for gethostbyname
> -- Looking for gethostbyname - found
> -- Looking for connect
> -- Looking for connect - found
> -- Looking for remove
> -- Looking for remove - found
> -- Looking for shmat
> -- Looking for shmat - found
> -- Looking for IceConnectionNumber in ICE
> -- Looking for IceConnectionNumber in ICE - found
> -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
> -- Looking for include files CMAKE_HAVE_PTHREAD_H
> -- Looking for include files CMAKE_HAVE_PTHREAD_H - found
> -- Looking for pthread_create in pthreads
> -- Looking for pthread_create in pthreads - not found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Found Threads: TRUE
> -- Looking for _POSIX_TIMERS
> -- Looking for _POSIX_TIMERS - found
> -- Found Automoc4: /usr/bin/automoc4
> -- Found Perl: /usr/bin/perl
> -- Found Phonon: /usr/include
> -- Performing Test _OFFT_IS_64BIT
> -- Performing Test _OFFT_IS_64BIT - Success
> -- Performing Test HAVE_FPIE_SUPPORT
> -- Performing Test HAVE_FPIE_SUPPORT - Success
> -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
> -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
> -- Performing Test __KDE_HAVE_GCC_VISIBILITY
> -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
> -- Found KDE 4.6 include dir: /usr/include
> -- Found KDE 4.6 library dir: /usr/lib
> -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
> -- Found automoc4: /usr/bin/automoc4
> -- Found MySQL: Usage: /usr/bin/mysql_config [OPTIONS]
> Options:
> --cflags [-I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-
> aliasing -DUNIV_LINUX -DUNIV_LINUX]
> --include [-I/usr/include/mysql]
> --libs [-rdynamic -L/usr/lib/mysql -lmysqlclient]
> --libs_r [-rdynamic -L/usr/lib/mysql -lmysqlclient_r]
> --plugindir [/usr/lib/mysql/plugin]
> --socket [/var/run/mysqld/mysqld.sock]
> --port [0]
> --version [5.1.58]
> --libmysqld-libs [-rdynamic -L/usr/lib/mysql -lmysqld -ldl -lwrap -
> lrt], -rdynamic -L/usr/lib/mysql -lmysqlclient
> -- Found MySQL Embedded: Usage: /usr/bin/mysql_config [OPTIONS]
> Options:
> --cflags [-I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-
> aliasing -DUNIV_LINUX -DUNIV_LINUX]
> --include [-I/usr/include/mysql]
> --libs [-rdynamic -L/usr/lib/mysql -lmysqlclient]
> --libs_r [-rdynamic -L/usr/lib/mysql -lmysqlclient_r]
> --plugindir [/usr/lib/mysql/plugin]
> --socket [/var/run/mysqld/mysqld.sock]
> --port [0]
> --version [5.1.58]
> --libmysqld-libs [-rdynamic -L/usr/lib/mysql -lmysqld -ldl -lwrap -
> lrt], -rdynamic -L/usr/lib/mysql -lmysqld_pic -ldl -lwrap -lrt -lpthread
> -- Found ZLIB: /usr/lib/libz.so (found version "1.2.3.4")
> -- Found QCA2: /usr/lib/libqca.so
> -- checking for module 'QJson>=0.5'
> -- found QJson, version 0.7.1
> -- Found QJSON: /usr/lib/x86_64-linux-gnu/libqjson.so
> -- Found liblastfm: /usr/include/lastfm, /usr/lib/liblastfm.so
> -- checking for one of the modules 'libavcodec'
> -- checking for one of the modules 'libavformat'
> -- Found FFmpeg: /usr/include
> -- libavcodec: /usr/include, /usr/lib/x86_64-linux-gnu/libavcodec.so
> -- libavformat: /usr/include, /usr/lib/x86_64-linux-gnu/libavformat.so
> -- Found libofa: /usr/include/ofa1, /usr/lib/libofa.so
> CMake Warning at
> /usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
> (find_package):
> Could not find module FindMygpo-qt.cmake or a configuration file for
> package Mygpo-qt.
>
> Adjust CMAKE_MODULE_PATH to find FindMygpo-qt.cmake or set Mygpo-qt_DIR to
> the directory containing a CMake configuration file for Mygpo-qt. The file
> will have one of the following names:
>
> Mygpo-qtConfig.cmake
> mygpo-qt-config.cmake
>
> Call Stack (most recent call first):
> CMakeLists.txt:138 (macro_optional_find_package)
>
>
> -- checking for one of the modules 'libgpod-1.0'
> -- Found libgpod-1 0.8.2
> -- checking for one of the modules 'gdk-pixbuf-2.0'
> -- Found GDKPixBuf: /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so
> -- Include directory: /usr/include/gdk-pixbuf-2.0
> -- checking for module 'libmtp'
> -- found libmtp, version 1.1.1
> -- Found MTP: /usr/lib/libmtp.so
> -- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so
> -- Found LibXml2: /usr/lib/libxml2.so
> -- Looking for include files HAVE_GCRYPT_H
> -- Looking for include files HAVE_GCRYPT_H - found
> -- Libgcrypt found: /lib/x86_64-linux-gnu/libgcrypt.so
> -- checking for one of the modules 'loudmouth-1.0'
> -- Found Loudmouth: /usr/include/glib-2.0;/usr/lib/x86_64-linux-
> gnu/glib-2.0/include;/usr/include/loudmouth-1.0
> -- Performing Test QT4_GLIB_SUPPORT
> -- Performing Test QT4_GLIB_SUPPORT - Success
> -- checking for module 'gobject-2.0'
> -- found gobject-2.0, version 2.30.2
> -- Found GObject libraries: /usr/lib/x86_64-linux-
> gnu/libgobject-2.0.so;/usr/lib/x86_64-linux-
> gnu/libgmodule-2.0.so;/usr/lib/x86_64-linux-
> gnu/libgthread-2.0.so;/usr/lib/x86_64-linux-gnu/libglib-2.0.so
> -- Found GObject includes : /usr/include/glib-2.0/gobject
> -- Found GLIB2: /usr/lib/x86_64-linux-gnu/libglib-2.0.so
> -- Found MTP: /usr/lib/libmtp.so
> CMake Warning at src/core-impl/collections/db/CMakeLists.txt:1 (message):
> Workaround: Adding define for MAKE_AMAROK_DATABASECOLLECTION_LIB, this is
> needed for Windows, but has to be removed as soon as DatabaseCollection
> gets its own lib
>
>
> -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
> -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
>
> -----------------------------------------------------------------------------
> -- The following external packages were located on your system.
> -- This installation will have the extra features provided by these packages.
> -----------------------------------------------------------------------------
> * kdelibs - The toolkit Amarok uses to build
> * mysqld - Embedded MySQL Libraries
> * mysql - MySQL Server Libraries
> * zlib - zlib
> * qca2 - Qt Cryptographic Architecture
> * QJson - Qt JSON Parser used for the Playdar Collection
> * liblastfm - Enable Last.Fm service, including scrobbling, song
> submissions, and suggested song dynamic playlists
> * ffmpeg - Libraries and tools for handling multimedia data
> * libofa - Enable MusicDNS service
> * libgpod - Support Apple iPod audio devices
> * GDK-PixBuf - Support for artwork on iPod audio devices via GDK-PixBuf
> * libmtp - Enable Support for portable media devices that use the media
> transfer protocol
> * curl - cURL provides the necessary network libraries required by
> mp3tunes.
> * libxml2 - LibXML2 is an XML parser required by mp3tunes.
> * openssl or libgcrypt - OpenSSL or GNU Libgcrypt provides cryptographic
> functions required by mp3tunes.
> * loudmouth - Loudmouth is the communication backend needed by mp3tunes for
> syncing.
> * Qt4 Glib support - Qt4 must be compiled with glib support for mp3tunes
> * gobject - Required by libgpod and mp3tunes.
> * glib2 - Required by libgpod and mp3tunes
>
> -----------------------------------------------------------------------------
> -- The following OPTIONAL packages could NOT be located on your system.
> -- Consider installing them to enable more features from this software.
> -----------------------------------------------------------------------------
> * libmygpo-qt (1.0.5 or higher) <http://wiki.gpodder.org/wiki/Libmygpo-qt>
> Enable gpodder.net service
>
> -----------------------------------------------------------------------------
>
> -- Looking for dgettext
> -- Looking for dgettext - found
> -- Found Gettext: built in libc
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /«PKGBUILDDIR»/obj-x86_64-linux-gnu
> make[1]: Leaving directory `/«PKGBUILDDIR»'
>
>
> --
> Modestas Vainius <modax at debian.org>
>
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
>
More information about the Amarok-devel
mailing list