Bonjour à tous, étant petit nouveau sous fédora j'ai un peu de mal :-P
Alors voila je voudrais installer cantata mais impossible de le compiler correctement :hammer:
en suivant le fichier install
With KDE Support (Recommended)
==============================
1. mkdir build
2. cd build
3. cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
4. make
5. sudo make install
The following options may be passed to CMake:
-DCANTATA_TRANSLATIONS=<list of translations to install>
Builds and installs the selected translations. Supported values are
cs, de, en, es, pl, and all. Entries should be separated with a semicolon
(";") e.g. -DCANTATA_TRANSLATIONS="es;pl"
Default: all
-DENABLE_REMOTE_DEVICES=1
Compile support for sshfs, and local folder, device support.
Default: off
-DENABLE_WEBKIT=1
Compile with WebKit, used for info page.
Default: on
-DENABLE_KDE=NO
Disable KDE support - not recommended.
Default: on
Qt-Only
=======
1. mkdir build
2. cd build
3. cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_KDE=NO
4. make
5. sudo make install
Je bloque au make qui me retourne
/home/remi/cantata-0.8.3.1/gui/infopage.cpp:34:33: erreur fatale: QtWebKit/QWebSettings : Aucun fichier ou dossier de ce type
compilation terminée.
make[2]: *** [CMakeFiles/cantata.dir/gui/infopage.cpp.o] Erreur 1
make[1]: *** [CMakeFiles/cantata.dir/all] Erreur 2
make: *** [all] Erreur 2
[remi@Remi build]$
J'ai bien installé ce patch
diff -up cantata-0.8.3.1/CMakeLists.txt.qtsingleapplication cantata-0.8.3.1/CMakeLists.txt
--- cantata-0.8.3.1/CMakeLists.txt.qtsingleapplication 2012-09-04 06:23:24.000000000 -0500
+++ cantata-0.8.3.1/CMakeLists.txt 2012-09-25 15:03:17.951850931 -0500
@@ -467,9 +467,20 @@ ELSE( ENABLE_KDE_SUPPORT )
ADD_DEFINITIONS( -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -Wall -Wextra )
SET( XDG_APPS_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/applications" )
- add_subdirectory(qtsingleapplication)
- TARGET_LINK_LIBRARIES(cantata qtsingleapplication)
- include_directories(${CMAKE_BINARY_DIR}/qtsingleapplication)
+ option(USE_SYSTEM_QTSINGLEAPPLICATION "Use System QtSingleApplication" OFF)
+ if(USE_SYSTEM_QTSINGLEAPPLICATION)
+ find_path(QTSINGLEAPPLICATION_INCLUDE_DIRS qtsingleapplication.h PATH_SUFFIXES QtSolutions)
+ find_library(QTSINGLEAPPLICATION_LIBRARIES QtSolutions_SingleApplication-2.6)
+ find_library(QTSINGLECOREAPPLICATION_LIBRARIES QtSolutions_SingleCoreApplication-2.6)
+ else(USE_SYSTEM_QTSINGLEAPPLICATION)
+ add_subdirectory(qtsingleapplication)
+ set(QTSINGLEAPPLICATION_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/qtsingleapplication)
+ set(QTSINGLEAPPLICATION_LIBRARIES qtsingleapplication)
+ endif(USE_SYSTEM_QTSINGLEAPPLICATION)
+
+ TARGET_LINK_LIBRARIES(cantata ${QTSINGLEAPPLICATION_LIBRARIES})
+ include_directories($QTSINGLEAPPLICATION_INCLUDE_DIRS})
+
ENDIF( ENABLE_KDE_SUPPORT )
ADD_SUBDIRECTORY( icons )
Mais toujours la même erreur, tournant depuis 1h sur google je fais appel à vous pour m'éclairer sur cette compilation.
Merci d'avance :-D
Edit: Au cas ou ça peut économiser un tour :lol:
[remi@Remi build]$ sudo yum install qtwebkit
Modules complémentaires chargés : langpacks, presto, refresh-packagekit
Le paquet qtwebkit-2.2.2-1.fc17.x86_64 est déjà installé dans sa dernière version
Rien à faire
Edit2: Utilisant Gmpc j'espere qu'il est mieux que ce dernier :hammer: