Pagina 1 di 1

[Risolto] errore compilazione

Inviato: lunedì 25 ottobre 2010, 21:18
da KillJoy :-D
Ciao ragazzi ho scaricato recordmydesktop da qui
http://kde-apps.org/content/show.php?ac ... ent=114610
ho seguito il  file INSTALL
e mi ha restituito questo errore
IBRARY_INSTALL_DIR=/usr/lib
-- PLUGIN_INSTALL_DIR=/usr/lib/joschy
-- INCLUDE_INSTALL_DIR=/usr/include/joschycore
-- ----------------------
-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Found KDE 4.5 include dir: /usr/include
-- Found KDE 4.5 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
CMake Error at /usr/share/kde4/apps/cmake/modules/FindPackageHandleStandardArgs.cmake:139 (MESSAGE):
 Could NOT find RecordMyDesktop (missing: REC_BIN)
Call Stack (most recent call first):
 cmake/modules/FindRecordMyDesktop.cmake:7 (find_package_handle_standard_args)
 CMakeLists.txt:31 (find_package)
Grazie a tutti per l'aiuto

Re: errore compilazione

Inviato: lunedì 25 ottobre 2010, 21:25
da steff
Could NOT find RecordMyDesktop

Proverei di installarlo  8)

Re: errore compilazione

Inviato: lunedì 25 ottobre 2010, 21:47
da KillJoy :-D

Codice: Seleziona tutto

kubuntu@kubuntu-00vainoblog-killjoy:~/recorditnow-0.8.1$ sudo apt-get install recordmydesktop
[sudo] password for kubuntu: 
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
I seguenti pacchetti NUOVI saranno installati:
  recordmydesktop
0 aggiornati, 1 installati, 0 da rimuovere e 0 non aggiornati.
È necessario scaricare 0B/55,5kB di archivi.
Dopo quest'operazione, verranno occupati 152kB di spazio su disco.
Selezionato il pacchetto recordmydesktop.
(Lettura del database... 109307 file e directory attualmente installati.)
Estrazione di recordmydesktop (da .../recordmydesktop_0.3.8.1+svn602-1ubuntu3_i386.deb)...
Elaborazione dei trigger per man-db...
Configurazione di recordmydesktop (0.3.8.1+svn602-1ubuntu3)...
kubuntu@kubuntu-00vainoblog-killjoy:~/recorditnow-0.8.1$ sudo sh install.sh
install.sh: 7: [[: not found
-- ----------------------                                                                                                                                                           
-- LIBRARY_INSTALL_DIR=/usr/lib                                                                                                                                                     
-- PLUGIN_INSTALL_DIR=/usr/lib/joschy                                                                                                                                               
-- INCLUDE_INSTALL_DIR=/usr/include/joschycore                                                                                                                                      
-- ----------------------                                                                                                                                                           
-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)                                                                                                                                    
-- Found X11: /usr/lib/libX11.so
-- Found KDE 4.5 include dir: /usr/include
-- Found KDE 4.5 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found RecordMyDesktop: /usr/bin/recordmydesktop 
-- Could not find pkg-config (pkg name: pkg-config)

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * ffmpeg - Complete solution to record, convert and stream audio and video. Includes libavcodec.

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * XFixes  <http://xorg.freedesktop.org/>
     X.Org Xfixes library
   * mencoder  <http://www.mplayerhq.hu/design7/news.html>
     MEncoder is a free command line video decoding, encoding and filtering tool.

-----------------------------------------------------------------------------

------
                 NOTE: msgfmt not found. Translations will *not* be installed
------
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:
X11_Xcursor_LIB (ADVANCED)
    linked by target "recorditnow" in directory /home/kubuntu/recorditnow-0.8.1/src
l'avevo disinstallato prima di installare il pacchetto da kde-apps perchè pensavo che lo installase lui direttamente come dipendenza ma mi sbagliavo, ore mi da quest'output  come vedi

Re: errore compilazione

Inviato: lunedì 25 ottobre 2010, 22:58
da KillJoy :-D
Risolto facendo un po di pulizia e installando questo pacchetto
sudo apt-get build-dep recorditnow
e rifacendo pulizia

Re: [Risolto] errore compilazione

Inviato: martedì 26 ottobre 2010, 8:37
da steff
Uno script non può gestire le dipendenze, questo fa solo il gestore pacchetti.

Re: [Risolto] errore compilazione

Inviato: mercoledì 27 ottobre 2010, 13:55
da KillJoy :-D
Grazie steff, grazie a tuoi consigli in GNU/Linux ho imparato parecchie cose