Witam.
Chciałem skompilować Amaroka 2, bo ten z experimental u mnie nie działa prawidłowo, lecz podczas kompilowania pojawia się to:
-- The CXX compiler identification is unknown
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND -- broken
CMake Error at /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake:25 (MESSAGE):
The C++ compiler "CMAKE_CXX_COMPILER-NOTFOUND" is not able to compile a
simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (project)
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Configuring done
I nie wiem co na to poradzić, proszę o pomoc.
Pozdrawiam.
---------------------
-- The following REQUIRED packages could NOT be located on your system.
-- Please install them before continuing this software installation.
---------------------
+ mysqld: Embedded MySQL <http://www.mysql.com>
---------------------
CMake Error at /usr/share/kde4/apps/cmake/modules/MacroLogFeature.cmake:93 (MESSAGE):
Exiting: Missing Requirements
Call Stack (most recent call first):
CMakeLists.txt:119 (macro_display_feature_log)
kiko@deb:~/x/amarok-2.0.1.1/amarok-2.0.1.1-build$ cmake ..
-- 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 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.4.3 (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;/usr/lib/libXpm.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;/usr/lib/libXpm.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
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- 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 Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- 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.
CMake Error at src/scriptengine/generator/generator/qtscript_gui.cmake:571 (if):
if had incorrect arguments: QTVERSION VERSION_GREATER "4.4.99" (Unknown
arguments specified).
Call Stack (most recent call first):
src/scriptengine/generator/generator/CMakeLists.txt:113 (include)
CMake Error at src/scriptengine/generator/generator/qtscript_gui.cmake:573 (endif):
endif An ENDIF command was found outside of a proper IF ENDIF structure.
Or its arguments did not match the opening IF command.
Call Stack (most recent call first):
src/scriptengine/generator/generator/CMakeLists.txt:113 (include)
CMake Error at src/scriptengine/generator/generator/qtscript_network.cmake:62 (if):
if had incorrect arguments: QTVERSION VERSION_GREATER "4.4.99" (Unknown
arguments specified).
Call Stack (most recent call first):
src/scriptengine/generator/generator/CMakeLists.txt:114 (include)
CMake Error at src/scriptengine/generator/generator/qtscript_network.cmake:64 (endif):
endif An ENDIF command was found outside of a proper IF ENDIF structure.
Or its arguments did not match the opening IF command.
Call Stack (most recent call first):
src/scriptengine/generator/generator/CMakeLists.txt:114 (include)
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Found taglib: -L/usr/lib -ltag
-- Taglib found: -L/usr/lib -ltag
-- Found Strigi
-- Found Strigi: /usr/lib/libstreams.so
-- Performing Test STRIGI_NEEDS_SIGNED_CHAR
-- Performing Test STRIGI_NEEDS_SIGNED_CHAR - Failed
-- Performing Test STRIGI_NEEDS_CHAR
-- Performing Test STRIGI_NEEDS_CHAR - Success
-- Strigi API is pre-screwup check, need 'char'
-- 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.a
-- Found ZLIB: /usr/lib/libz.so
-- Found GLIB2: /usr/lib/libglib-2.0.so
-- Found Gdk: /usr/include/gtk-2.0
-- Found Ipod: /usr/include/gpod-1.0
-- Found MP4V2: /usr/lib/libmp4v2.so
-- Found MTP: /usr/lib/libmtp.so
-- Found CURL: /usr/lib/libcurl.so
-- Found LibXml2: /usr/lib/libxml2.so
-- Found OpenSSL: /usr/lib/libssl.so
-- Looking for include files HAVE_GCRYPT_H
-- Looking for include files HAVE_GCRYPT_H - found
-- 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
-- Found Loudmouth: /usr/include/loudmouth-1.0
-- 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
-- Found NEPOMUK: /usr/lib/libnepomuk.so
-- Performing Test QT4_GLIB_SUPPORT
-- Performing Test QT4_GLIB_SUPPORT - Success
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Performing Test COMPLEX_TAGLIB_FILENAME
-- Performing Test COMPLEX_TAGLIB_FILENAME - Failed
-- 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
+ taglib
+ strigi
+ mysqld
+ zlib
+ glib2
+ Gdk
+ libgpod
+ libmp4v2
+ libmtp
+ curl
+ libxml2
+ openssl or libgcrypt
+ gobject
+ loudmouth
+ soprano
+ nepomuk
+ Qt4 Glib support
Congratulations! All external packages have been found.
-----------------------------------------------------------------------------
-- Looking for include files HAVE_LIBINTL_H
-- Looking for include files HAVE_LIBINTL_H - found
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Gettext: built in libc
-- Configuring done
kiko@deb:~/x/amarok-2.0.1.1/amarok-2.0.1.1-build$ make
make: *** Nie podano obiektów i nie znaleziono makefile. Stop.
U mnie wygląda tak jak wyżej a o mysql się nie pluje może tak paczka się nazywa libmysqlclient15-dev
Może wiesz jak się tego pozbyć Qt QTNSPLUGIN library not found.
PS
Już nie trzeba zresetowałem kompa i poszło bez tego problemu
Ja u siebie doinstalowałem kdemultimedia i amaroka z experimental i działa. Problem rozwiązałem, lecz jeśli chodzi o ten QTNSPLUGIN to nie mam pojęcia.