414N ha scritto:Io quello SlackBuild lo uso con i tarball estratti da git con l'altro script che ho postato, aggiustando la VERSION al volo prima di eseguire lo SlackBuild.
La versione 1.0.1 probabilmente ha qualche errore a livello di build che la versione da git non presenta più (sto attualmente usando una versione risalente a meno di un mese fa), percui o cerchi qualche patch per compilare la versione 1.0.1 oppure scarichi un tarball da git e compili quello.
Ho provato a compilare il tarball scaricato da git con il tuo script (mksrc-tarball.sh).
Ho scaricato il tutto, rinominato la directory di modo da rispettare la version number, creato l'archivio tar.bz2 e poi lanciato lo script slackbuild per la compilazione.
Parte a decomprimere ma alla fine, in fase di compilazione, mi dà il seguente log (con l'errore alla fine) :
Codice: Seleziona tutto
-- The C compiler identification is GNU 4.7.1
-- The CXX compiler identification is GNU 4.7.1
-- 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
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.25")
-- 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 Qt4: /usr/bin/qmake (found suitable version "4.8.2", required is "4.5.0")
-- Found Qt4: /usr/bin/qmake (found version "4.8.2")
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.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
-- Found OpenGL: /usr/lib/libGL.so
-- Boost version: 1.49.0
-- Found Gettext: /usr/bin/msgmerge (found version "0.18.1")
-- Could NOT find PROTOBUF (missing: PROTOBUF_LIBRARY PROTOBUF_INCLUDE_DIR)
-- checking for module 'taglib>=1.6'
-- found taglib, version 1.7.2
-- checking for module 'QJson'
-- found QJson, version 0.7.1
-- checking for module 'gstreamer-0.10'
-- found gstreamer-0.10, version 0.10.36
-- checking for module 'gstreamer-base-0.10'
-- found gstreamer-base-0.10, version 0.10.36
-- checking for module 'gstreamer-app-0.10'
-- found gstreamer-app-0.10, version 0.10.36
-- checking for module 'gstreamer-cdda-0.10'
-- found gstreamer-cdda-0.10, version 0.10.36
-- checking for module 'gstreamer-tag-0.10'
-- found gstreamer-tag-0.10, version 0.10.36
-- checking for module 'glib-2.0'
-- found glib-2.0, version 2.32.4
-- checking for module 'libxml-2.0'
-- found libxml-2.0, version 2.8.0
-- checking for module 'gobject-2.0'
-- found gobject-2.0, version 2.32.4
-- checking for module 'libgpod-1.0>=0.7.92'
-- found libgpod-1.0, version 0.8.2
-- checking for module 'gio-2.0'
-- found gio-2.0, version 2.32.4
-- checking for module 'libimobiledevice-1.0'
-- found libimobiledevice-1.0, version 1.0.6
-- checking for module 'libplist'
-- found libplist, version 1.4
-- checking for module 'libusbmuxd'
-- found libusbmuxd, version 1.0.7
-- checking for module 'libmtp>=1.0'
-- found libmtp, version 1.1.3
-- checking for module 'indicate-qt'
-- package 'indicate-qt' not found
-- checking for module 'libspotify>=12.1.45'
-- package 'libspotify>=12.1.45' not found
-- checking for module 'libcdio'
-- found libcdio, version 0.83
-- checking for module 'qca2'
-- found qca2, version 2.0.2
-- checking for module 'libchromaprint'
-- package 'libchromaprint' not found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not 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 Qt4: /usr/bin/qmake (found version "4.8.2")
-- Performing Test SUPPORTS_OPENMP
-- Performing Test SUPPORTS_OPENMP - Success
-- Building static qsqlite plugin
-- Looking for lrintf
-- Looking for lrintf - found
-- Looking for round
-- Looking for round - found
-- Using FFmpeg for FFT calculations
-- Performing Test SUPPORTS_NOBOOL
-- Performing Test SUPPORTS_NOBOOL - Success
The following components will be built:
D-Bus support
Devices: Audio CD support
Devices: DeviceKit backend
Devices: GIO device backend
Devices: MTP support
Devices: iPod Touch, iPhone, iPad support
Devices: iPod classic support
Last.fm support
Moodbar support
Visualisations
Wiimote support
The following components WILL NOT be built:
Crash reporting (disabled in CMake config)
Gnome sound menu integration (missing indicate-qt)
Google Drive support (missing Google sparsehash, Taglib 1.8 beta)
Sparkle integration (missing Mac OS X, Sparkle)
Spotify support: blob downloader (disabled in CMake config)
Spotify support: core code (missing protobuf)
Spotify support: non-GPL binary helper (missing protobuf, libspotify, Spotify support: core code)
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:
PROTOBUF_LIBRARY (ADVANCED)
linked by target "libclementine-common" in directory /tmp/SBo/clementine-1.0.1/ext/libclementine-common