Installer vlmc

bonjour,

j’essaie d’installer vlmc via les sources en suivant le fichier texte fourni avec

mais quand j’essaie de préparer le paquet avec CMAKE j’ai le message d’erreur suivant:

[code]cmake …
Build type set to ‘Debug’
CMake Error at CMakeLists.txt:76 (MESSAGE):
LibVLC dependency was not found (please get libvlc)!

CMake Error at /usr/share/cmake-2.6/Modules/FindQt4.cmake:475 (MESSAGE):
Could NOT find QtGlobal header
Call Stack (most recent call first):
CMakeLists.txt:83 (FIND_PACKAGE)

– Configuring done

[/code]

dans mon gestionnaire synaptic j’ai pourtant les paquets libvlc0 et libvlc0-dev qui sont installés :017 :017

une tiote idée ? :017

apparemment vlmc ne tournerait pas sous Lenny :12 :12 :118 :118
http://www.frenssen.be/content/install-vlmc-video-editor-ubuntu

installe les headers de qt

sinon regarde les paquets qui veulent s’installer avec # apt-get build-dep vlc
ca t’installera les paquets nécessaire pour compiler vlc.

Ceux que tu as besoin sont forcément la dedans.

merci de ton aide mais même message d’erreur

après avoir installé libqt4

[code]cmake …
Build type set to 'Debug’
CMake Error at CMakeLists.txt:76 (MESSAGE):
LibVLC dependency was not found (please get libvlc)!

CMake Error at /usr/share/cmake-2.6/Modules/FindQt4.cmake:475 (MESSAGE):
Could NOT find QtGlobal header
Call Stack (most recent call first):
CMakeLists.txt:83 (FIND_PACKAGE)

– Configuring done
station:/home/chris/vlmc/build# cmake …
Build type set to 'Debug’
CMake Error at CMakeLists.txt:76 (MESSAGE):
LibVLC dependency was not found (please get libvlc)!

– 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
– Found rpmbuild : /usr/bin/rpmbuild
– Found dpkg-deb : /usr/bin/dpkg-deb
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:
LIBVLCCORE_LIBRARY
linked by target “vlmc” in directory /home/chris/vlmc/src

– Configuring done
[/code]

c’est ballot ça j’ai pourtant les fichiers /usr/lib/libvlc.so et /usr/lib/libvlc.so qui pointe vers /usr/lib/libvlc.so.0.0.8 :017

bonjour,

en suivant cette excellente page, qui je pense pourrait être la solution à mon problème
http://www.webupd8.org/2010/01/how-to-compile-vlc-and-vlmc-from-git-in.html

j’ai une erreur concernant le fichier configure.ac qui fait partie de libtool,automake et autoconf qui sont installés

configure.ac:29: warning: macro `AM_SILENT_RULES' not found in library configure.ac:4774: warning: macro `AM_COND_IF' not found in library configure.ac:4782: warning: macro `AM_COND_IF' not found in library configure.ac:4787: warning: macro `AM_COND_IF' not found in library configure.ac:4793: warning: macro `AM_COND_IF' not found in library configure.ac:4800: warning: macro `AM_COND_IF' not found in library configure.ac:4807: warning: macro `AM_COND_IF' not found in library autoreconf: running: /usr/bin/autoconf --include=m4 --force configure.ac:29: error: possibly undefined macro: AM_SILENT_RULES If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:4679: error: possibly undefined macro: AC_CONFIG_FILES configure.ac:4774: error: possibly undefined macro: AM_COND_IF autoreconf: /usr/bin/autoconf failed with exit status: 1

que dois ajouter à ce fichier et surtout où il y a différentes sections

le fichier configure.ac

[code]## Process this file with autoconf to create configure. -- autoconf --

Copyright 2001 Free Software Foundation, Inc.

This program is free software; you can redistribute it and/or modify

it under the terms of the GNU General Public License as published by

the Free Software Foundation; either version 2 of the License, or

(at your option) any later version.

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

You should have received a copy of the GNU General Public License

along with this program; if not, write to the Free Software

Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA

02110-1301 USA

dnl FIXME: Is this really new enough?
AC_PREREQ(2.50)

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

Autoconf initialisation.

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

AC_INIT([libltdl], [1.2], [bug-libtool@gnu.org])
AC_CONFIG_SRCDIR([ltdl.c])

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

Libltdl specific configuration.

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

AC_CONFIG_AUX_DIR([.])

if test -z “$enable_ltdl_install$enable_ltdl_convenience”; then
if test -f ${srcdir}/ltmain.sh; then
# if libltdl is libtoolized, it is assumed to be stand-alone and
# installed unless the command line overrides it (tested above)
enable_ltdl_install=yes
else
AC_MSG_WARN([*** The top-level configure must select either])
AC_MSG_WARN([*** [A"“C_LIBLTDL_INSTALLABLE] or [A”"C_LIBLTDL_CONVENIENCE].])
AC_MSG_ERROR([*** Maybe you want to --enable-ltdl-install?])
fi
fi

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

Automake Initialisation.

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

AM_INIT_AUTOMAKE(AC_PACKAGE_TARNAME, AC_PACKAGE_VERSION, -)
AM_CONFIG_HEADER([config.h:config-h.in])

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

C compiler checks.

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

AC_PROG_CC
AC_C_CONST
AC_C_INLINE

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

Libtool initialisation.

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

AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
AC_SUBST([LIBTOOL_DEPS])

AC_LIB_LTDL

--------

Outputs.

--------

AC_CONFIG_FILES([Makefile])
AC_OUTPUT[/code]

merci de votre aide

apparemment un soucis avec autoreconf

autoreconf autoreconf: `configure.ac' or `configure.in' is required

après un autoconf en suivant le manuel ça ne donne rien :017 :017
http://ymettier.free.fr/articles_lmag/lmag75/lmag75.html

[code] cd vlc
station:~/vlc# ./bootstrap
++ dirname ./bootstrap

  • cd .
  • ACLOCAL_ARGS=’-I m4 ’
  • test -d extras/contrib/build/bin
    ++ uname -s
  • test .Linux = .Darwin
  • pkg-config --version
  • PKGCONFIG=yes
  • export AUTOPOINT
  • test ‘’
  • AUTOPOINT=autopoint
  • autopoint --dry-run --force
  • AUTOPOINT=true
  • echo
  • set +x
    generating modules/**/Makefile.am
  • echo
  • echo
  • cp -f INSTALL INSTALL.git
  • autoreconf --install --force --verbose -I m4
    autoreconf: Entering directory .' autoreconf: running: true --force autoreconf: running: aclocal --force -I m4 /usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT /usr/share/aclocal/libmcrypt.m4:17: run info '(automake)Extending aclocal' /usr/share/aclocal/libmcrypt.m4:17: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal configure.ac:29: warning: macroAM_SILENT_RULES’ not found in library
    configure.ac:4774: warning: macro AM_COND_IF' not found in library configure.ac:4782: warning: macroAM_COND_IF’ not found in library
    configure.ac:4787: warning: macro AM_COND_IF' not found in library configure.ac:4793: warning: macroAM_COND_IF’ not found in library
    configure.ac:4800: warning: macro AM_COND_IF' not found in library configure.ac:4807: warning: macroAM_COND_IF’ not found in library
    autoreconf: configure.ac: tracing
    autoreconf: running: libtoolize --copy --force
    Putting files in AC_CONFIG_AUX_DIR, autotools'. /usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT /usr/share/aclocal/libmcrypt.m4:17: run info '(automake)Extending aclocal' /usr/share/aclocal/libmcrypt.m4:17: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal configure.ac:29: warning: macroAM_SILENT_RULES’ not found in library
    configure.ac:4774: warning: macro AM_COND_IF' not found in library configure.ac:4782: warning: macroAM_COND_IF’ not found in library
    configure.ac:4787: warning: macro AM_COND_IF' not found in library configure.ac:4793: warning: macroAM_COND_IF’ not found in library
    configure.ac:4800: warning: macro AM_COND_IF' not found in library configure.ac:4807: warning: macroAM_COND_IF’ not found in library
    autoreconf: running: /usr/bin/autoconf --include=m4 --force
    configure.ac:29: error: possibly undefined macro: AM_SILENT_RULES
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.
    configure.ac:4679: error: possibly undefined macro: AC_CONFIG_FILES
    configure.ac:4774: error: possibly undefined macro: AM_COND_IF
    autoreconf: /usr/bin/autoconf failed with exit status: 1
    [/code]

un autoreconf me donne ça :119

autoreconf /usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT /usr/share/aclocal/libmcrypt.m4:17: run info '(automake)Extending aclocal' /usr/share/aclocal/libmcrypt.m4:17: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal configure.ac:29: warning: macro `AM_SILENT_RULES' not found in library configure.ac:4774: warning: macro `AM_COND_IF' not found in library configure.ac:4782: warning: macro `AM_COND_IF' not found in library configure.ac:4787: warning: macro `AM_COND_IF' not found in library configure.ac:4793: warning: macro `AM_COND_IF' not found in library configure.ac:4800: warning: macro `AM_COND_IF' not found in library configure.ac:4807: warning: macro `AM_COND_IF' not found in library configure.ac:29: error: possibly undefined macro: AM_SILENT_RULES If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:4679: error: possibly undefined macro: AC_CONFIG_FILES configure.ac:4774: error: possibly undefined macro: AM_COND_IF autoreconf: /usr/bin/autoconf failed with exit status: 1

bon, récupération des sources dans le répertoire root et copié dans un répertoire perso pour éviter les problème de droits
modification dans le fichier CMakeLists.txt de toutes les recherches de libvlc par libvlc0 vu que c’est libvlc0 qui est installé

[code]# Optionally allow embedding LIBVLC0 into the binary as

VLMC requires LIBVLC0

#SET (WITH_LIBVLC0 FALSE CACHE BOOL “Compile LIBVLC0 in VLMC”)

SET(WITH_CRASHBUTTON FALSE CACHE BOOL “Enable the crash button”)
SET(WITH_CRASHHANDLER_GUI TRUE CACHE BOOL “Enable the crash handler GUI (with backtrace and restart capabilities)”)
SET(WITH_CRASHHANDLER TRUE CACHE BOOL “Enable the crash handler”)

FIND_PACKAGE(LIBVLC0)
IF (NOT LIBVLC0_FOUND)
MESSAGE (SEND_ERROR “LIBVLC0 dependency was not found (please get LIBVLC0)!”)
ENDIF (NOT LIBVLC0_FOUND)

INCLUDE_DIRECTORIES(${LIBVLC0_INCLUDE_DIR})[/code]

maintenant il trouve le programme mais n’aboutit pas

[code]cmake …
WARNING*** OUR GIT REPOSITORY HAS MOVED, PLEASE LOOK INTO THE ‘README’ FILE ***
Build type set to ‘Debug’
CMake Error: find_package could not find module FindLIBVLC0.cmake or a configuration file for package LIBVLC0.
Adjust CMAKE_MODULE_PATH to find FindLIBVLC0.cmake or set LIBVLC0_DIR to the directory containing a CMake configuration file for LIBVLC0. The file will have one of the following names:
LIBVLC0Config.cmake
libvlc0-config.cmake

CMake Error at CMakeLists.txt:55 (MESSAGE):
LIBVLC0 dependency was not found (please get LIBVLC0)!

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:
LIBVLCCORE_LIBRARY
linked by target “vlmc” in directory /media/maintenance/vlmc/src

– Configuring done
[/code]

quel fichier dois je trouver et renommer en LIBVLC0Config.cmake ou libvlc0-config.cmake ?

merci de votre patience :mrgreen: :mrgreen:

edit : j’ai trouvé mais j’en reviens au même message d’erreur que le tout premier, il manque les dépendances libvlc :017