This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Problem with compiling...

Tags: None
(comma "," separated)
Shaker
Registered Member
Posts
14
Karma
0
OS

Problem with compiling...

Sun Mar 21, 2010 6:07 pm
I can not compile Amarok, because because it gives me following error :
Code: Select all
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- 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.6.2 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/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/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
-- Phonon Version: 4.3.80
-- Found Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/qt4/KDE;/usr/include/qt4
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- 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.4 include dir: /usr/include
-- Found KDE 4.4 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- CTest cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or 'svn'. CTest update will not work.
-- Checking if the QtScript Qt Bindings are installed.
-- includes /usr/include/qt4/QtCore;/usr/include/qt4/QtScript;/usr/include;/usr/include/KDE;/usr/include/qt4/KDE;/usr/include/qt4;/usr/include/qt4/phonon;/usr/include/qt4/QtXmlPatterns;/usr/include/qt4/QtXml;/usr/include/qt4/QtWebKit;/usr/include/qt4/QtUiTools;/usr/include/qt4/QtTest;/usr/include/qt4/QtSvg;/usr/include/qt4/QtSql;/usr/include/qt4/QtScriptTools;/usr/include/qt4/QtScript;/usr/include/qt4/QtOpenGL;/usr/include/qt4/QtNetwork;/usr/include/qt4/QtMultimedia;/usr/include/qt4/QtHelp;/usr/include/qt4/QtDesigner;/usr/include/qt4/QtDesigner;/usr/include/qt4/QtDBus;/usr/include/qt4/QtAssistant;/usr/include/qt4/QtAssistant;/usr/include/qt4/Qt3Support;/usr/include/qt4/QtGui;/usr/include/qt4/QtCore;/usr/include/qt4/Qt;/usr/share/qt4/mkspecs/default;/usr/include/qt4;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include libraries Qt4::QtScript;Qt4::QtCore;-lpthread;Qt4::QtGui;-L/usr/lib;-lkdecore;-lkdeui
-- Performing Test BINDINGS_RUN_RESULT
-- Performing Test BINDINGS_RUN_RESULT - Success
-- QtBindings found
-- Performing Test HAVE_MYSQL_OPT_EMBEDDED_CONNECTION
-- Performing Test HAVE_MYSQL_OPT_EMBEDDED_CONNECTION - Success
-- Found MySQL: /usr/include/mysql, /usr/lib/libmysqlclient.so
-- Found MySQL Embedded: /usr/include/mysql, /usr/lib/mysql/libmysqld_pic.a
-- Found ZLIB: /usr/lib/libz.so
--   found qca2, version 2.0.2
-- Found QCA2: /usr/lib/libqca.so
-- Strigi API needs 'signed char'
-- Found Strigi: /usr/lib/libstreams.so
-- Found liblastfm: /usr/include/lastfm, /usr/lib/liblastfm.so
-- checking for one of the modules 'libgpod-1.0'
--   found libgpod-1.0, version 0.7.92
-- Found libgpod-1 0.7.92
-- checking for one of the modules 'gdk-pixbuf-2.0'
--   found gdk-pixbuf-2.0, version 2.19.7
-- Found Gdk: /usr/include/gtk-2.0;/usr/include/glib-2.0;/usr/lib/glib-2.0/include
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found MTP: /usr/lib/libmtp.so
-- Found CURL: /usr/lib/libcurl.so
--   found libxml-2.0, version 2.7.6
-- Found LibXml2: /usr/lib/libxml2.so
-- Looking for include files HAVE_GCRYPT_H
-- Looking for include files HAVE_GCRYPT_H - found
-- Libgcrypt found: /lib/libgcrypt.so
-- checking for one of the modules 'loudmouth-1.0'
--   found loudmouth-1.0, version 1.4.3
-- Found Loudmouth: /usr/include/loudmouth-1.0;/usr/include/glib-2.0;/usr/lib/glib-2.0/include
-- Performing Test QT4_GLIB_SUPPORT
-- Performing Test QT4_GLIB_SUPPORT - Success
-- checking for module 'gobject-2.0'
--   found gobject-2.0, version 2.23.5
-- 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
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found GLIB2: /usr/lib/libglib-2.0.so
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found MTP: /usr/lib/libmtp.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
   * qtscript-qt - QtScript Qt Bindings
   * mysqld - Embedded MySQL Libraries
   * mysql - MySQL Server Libraries
   * zlib - zlib
   * qca2 - Qt Cryptographic Architecture
   * strigi - Index metadata of files
   * liblastfm - Enable Last.Fm service, including scrobbling, song submissions, and suggested song dynamic playlists
   * libgpod - Support Apple iPod audio devices
   * Gdk - Support for artwork on iPod audio devices via GdkPixbuf
   * 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

-----------------------------------------------------------------------------
-- Congratulations! All external packages have been found.
-----------------------------------------------------------------------------

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
OPENSSL_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /home/shaker/Templates/amarok/src/collection/sqlcollection/mysqlecollection
   used as include directory in directory /home/shaker/Templates/amarok/src/collection/sqlcollection/mysqlservercollection
OPENSSL_LIBRARIES (ADVANCED)
    linked by target "amarok_collection-mysqlecollection" in directory /home/shaker/Templates/amarok/src/collection/sqlcollection/mysqlecollection
    linked by target "amarok_collection-mysqlservercollection" in directory /home/shaker/Templates/amarok/src/collection/sqlcollection/mysqlservercollection

-- Configuring incomplete, errors occurred!


Please help. I installed all necessary libraries. I use Kubuntu 10.04 Lucid Lynx.
Thanks.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Problem with compiling...  Topic is solved

Mon Mar 22, 2010 4:26 am
You need to install libopenssl-devel ( or its *buntu equivalent )


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Shaker
Registered Member
Posts
14
Karma
0
OS

Re: Problem with compiling...

Mon Mar 22, 2010 5:10 am
Thanks !
I installed the package libssl-dev and problem is solved.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot]