Page 1 of 1

Compile VLC 0.86d source and use Cygwin tool issue

Posted: 03 Jan 2008 16:22
by Homda
Hello,
I follow win32CompileCygwin and create configure-vlc.sh file.
Every thing is fine but When i execute ../configure-vlc.sh(page 22) will generate some issues.
I try to find solution to resolve this but fail.

issue 1:

Code: Select all

You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'. Putting files in AC_CONFIG_AUX_DIR, `autotools'.
issue 2:

Code: Select all

+ rm -f po/Makevars.template + aclocal-1.10 -I m4 + autoconf configure.ac:357: error: m4_undefine: undefined macro: AC_DEPLIBS_CHECK_METHOD configure.ac:357: the top level autom4te-2.61: /usr/bin/m4 failed with exit status: 1
And will pop up a exception window,"Application occur exception, unknown software error(0xc0000409) in address(0x18cb1852)".
Title is "sh.exe - Application error"

Please help me!!
Your suggestions is very applicate!!
Thanks

Homda

Re: Compile VLC 0.86d source and use Cygwin tool issue

Posted: 03 Jan 2008 16:24
by Homda
Bellow code are all logs.

Code: Select all

+ ACLOCAL_ARGS='-I m4 ' + test -d extras/contrib/bin ++ uname -s + test .CYGWIN_NT-5.1 = .Darwin + rm -f m4/autoconf260.m4 + case "$(autoconf --version|head -n 1)" in ++ autoconf --version ++ head -n 1 + amvers=no + for v in '"-1.10"' '"110"' '"-1.9"' '"19"' + automake-1.10 --version + amsuff=-1.10 ++ echo -1.10 ++ sed -e 's/^-//' + amvers=1.10 + break + test 1.10 = no + case "${amvers}" in + libtoolize=no + test -x extras/contrib/bin/libtoolize + glibtoolize --version + libtoolize --version + libtoolize=libtoolize + test libtoolize = no + gettextize --version ++ gettextize --version ++ cut '-d ' -f2- ++ sed -e '1s/[^0-9]*//' -e q + expr 0.16.1 '>=' 0.11.5 + autopoint=autopoint + GETTEXT=yes + pkg-config --version + PKGCONFIG=yes + aclocal=aclocal-1.10 + automake=automake-1.10 + autoconf=autoconf + autoheader=autoheader + set +x generating modules/**/Makefile.am and m4/private.m4 ....................................................................... + rm -f aclocal.m4 configure config.log config.h config.h.in + rm -Rf autom4te.cache + rm -f config.guess config.sub missing mkinstalldirs depcomp install-sh + rm -Rf autotools + mkdir autotools + rm -f ltmain.sh libtool ltconfig + rm -f ABOUT-NLS + rm -Rf intl + rm -f stamp-builtin 'stamp-h*' mozilla/stamp-pic + rm -f vlc-config.in + printf '' + '[' yes '!=' yes ']' + libtoolize --copy --force You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'. Putting files in AC_CONFIG_AUX_DIR, `autotools'. + test -f ltmain.sh + echo /usr/win32/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WI NDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem /usr/win32/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/s ystem32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem + which autopoint /usr/win32/bin/autopoint + autopoint --version /usr/win32/bin/autopoint (GNU gettext-tools) 0.16.1 Copyright (C) 2002-2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Bruno Haible + autopoint -f Copying file ABOUT-NLS Copying file autotools/config.rpath Creating directory intl Copying file intl/ChangeLog Copying file intl/Makefile.in Copying file intl/VERSION Copying file intl/bindtextdom.c Copying file intl/config.charset Copying file intl/dcgettext.c Copying file intl/dcigettext.c Copying file intl/dcngettext.c Copying file intl/dgettext.c Copying file intl/dngettext.c Copying file intl/eval-plural.h Copying file intl/explodename.c Copying file intl/export.h Copying file intl/finddomain.c Copying file intl/gettext.c Copying file intl/gettextP.h Copying file intl/gmo.h Copying file intl/hash-string.c Copying file intl/hash-string.h Copying file intl/intl-compat.c Copying file intl/intl-exports.c Copying file intl/l10nflist.c Copying file intl/langprefs.c Copying file intl/libgnuintl.h.in Copying file intl/loadinfo.h Copying file intl/loadmsgcat.c Copying file intl/localcharset.c Copying file intl/localcharset.h Copying file intl/locale.alias Copying file intl/localealias.c Copying file intl/localename.c Copying file intl/lock.c Copying file intl/lock.h Copying file intl/log.c Copying file intl/ngettext.c Copying file intl/os2compat.c Copying file intl/os2compat.h Copying file intl/osdep.c Copying file intl/plural-exp.c Copying file intl/plural-exp.h Copying file intl/plural.c Copying file intl/plural.y Copying file intl/printf-args.c Copying file intl/printf-args.h Copying file intl/printf-parse.c Copying file intl/printf-parse.h Copying file intl/printf.c Copying file intl/ref-add.sin Copying file intl/ref-del.sin Copying file intl/relocatable.c Copying file intl/relocatable.h Copying file intl/textdomain.c Copying file intl/vasnprintf.c Copying file intl/vasnprintf.h Copying file intl/vasnwprintf.h Copying file intl/version.c Copying file intl/wprintf-parse.h Copying file intl/xsize.h Copying file po/Makevars.template + rm -f po/Makevars.template + aclocal-1.10 -I m4 + autoconf configure.ac:357: error: m4_undefine: undefined macro: AC_DEPLIBS_CHECK_METHOD configure.ac:357: the top level autom4te-2.61: /usr/bin/m4 failed with exit status: 1

Re: Compile VLC 0.86d source and use Cygwin tool issue

Posted: 21 Jul 2008 18:05
by jasonberresford
I have the same problem with 9 test3 ... Turned out I didn't have libtools installed .. :)

just incase someone else gets this :)

Re: Compile VLC 0.86d source and use Cygwin tool issue

Posted: 14 Dec 2008 07:28
by RipClaw
I have the same problem with 9 test3 ... Turned out I didn't have libtools installed .. :)

just incase someone else gets this :)
Thanks mate!. It helped me :mrgreen:

Re: Compile VLC 0.86d source and use Cygwin tool issue

Posted: 12 Feb 2009 13:04
by Lalesvi
It seems I have the same problem:

Code: Select all

root@gatv-laptop:/usr/local/vlc-0.9.5# ./bootstrap + ACLOCAL_ARGS=-I m4 + test -d extras/contrib/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 configure.ac:413: error: m4_undefine: undefined macro: AC_DEPLIBS_CHECK_METHOD configure.ac:413: the top level autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: autom4te failed with exit status: 1 autoreconf: aclocal failed with exit status: 1 root@gatv-laptop:/usr/local/vlc-0.9.5# aptitude update Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/main Translation-es Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/restricted Translation-es Des:1 http://es.archive.ubuntu.com gutsy Release.gpg [191B] Des:2 http://security.ubuntu.com gutsy-security Release.gpg [189B] Des:3 http://es.archive.ubuntu.com gutsy/main Translation-es [69,5kB] Des:4 http://es.archive.ubuntu.com gutsy/restricted Translation-es [2718B] Des:5 http://es.archive.ubuntu.com gutsy/universe Translation-es [139kB] Ign http://security.ubuntu.com gutsy-security/main Translation-es Ign http://security.ubuntu.com gutsy-security/restricted Translation-es Des:6 http://es.archive.ubuntu.com gutsy/multiverse Translation-es [7115B] Des:7 http://es.archive.ubuntu.com gutsy-updates Release.gpg [189B] Ign http://security.ubuntu.com gutsy-security/universe Translation-es Ign http://es.archive.ubuntu.com gutsy-updates/main Translation-es Ign http://security.ubuntu.com gutsy-security/multiverse Translation-es Ign http://es.archive.ubuntu.com gutsy-updates/restricted Translation-es Obj http://security.ubuntu.com gutsy-security Release Ign http://es.archive.ubuntu.com gutsy-updates/universe Translation-es Ign http://es.archive.ubuntu.com gutsy-updates/multiverse Translation-es Obj http://security.ubuntu.com gutsy-security/main Packages Obj http://es.archive.ubuntu.com gutsy Release Obj http://es.archive.ubuntu.com gutsy-updates Release Obj http://es.archive.ubuntu.com gutsy/main Packages Obj http://security.ubuntu.com gutsy-security/restricted Packages Obj http://es.archive.ubuntu.com gutsy/restricted Packages Obj http://es.archive.ubuntu.com gutsy/main Sources Obj http://security.ubuntu.com gutsy-security/main Sources Obj http://security.ubuntu.com gutsy-security/restricted Sources Obj http://es.archive.ubuntu.com gutsy/restricted Sources Obj http://es.archive.ubuntu.com gutsy/universe Packages Obj http://es.archive.ubuntu.com gutsy/universe Sources Obj http://es.archive.ubuntu.com gutsy/multiverse Packages Obj http://es.archive.ubuntu.com gutsy/multiverse Sources Obj http://security.ubuntu.com gutsy-security/universe Packages Obj http://es.archive.ubuntu.com gutsy-updates/main Packages Obj http://es.archive.ubuntu.com gutsy-updates/restricted Packages Obj http://es.archive.ubuntu.com gutsy-updates/main Sources Obj http://es.archive.ubuntu.com gutsy-updates/restricted Sources Obj http://security.ubuntu.com gutsy-security/universe Sources Obj http://es.archive.ubuntu.com gutsy-updates/universe Packages Obj http://security.ubuntu.com gutsy-security/multiverse Packages Obj http://security.ubuntu.com gutsy-security/multiverse Sources Obj http://es.archive.ubuntu.com gutsy-updates/universe Sources Obj http://es.archive.ubuntu.com gutsy-updates/multiverse Packages Obj http://es.archive.ubuntu.com gutsy-updates/multiverse Sources Descargados 219kB en 1s (193kB/s). Leyendo lista de paquetes... Hecho root@gatv-laptop:/usr/local/vlc-0.9.5# aptitude search libtools root@gatv-laptop:/usr/local/vlc-0.9.5# ./bo bash: ./bo: No existe el fichero ó directorio root@gatv-laptop:/usr/local/vlc-0.9.5# ./bootstrap + ACLOCAL_ARGS=-I m4 + test -d extras/contrib/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 configure.ac:413: error: m4_undefine: undefined macro: AC_DEPLIBS_CHECK_METHOD configure.ac:413: the top level autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: autom4te failed with exit status: 1 autoreconf: aclocal failed with exit status: 1 root@gatv-laptop:/usr/local/vlc-0.9.5#
I read this:
I have the same problem with 9 test3 ... Turned out I didn't have libtools installed .. :)

just incase someone else gets this :)
Just to check, I have tried to install that library:

Code: Select all

root@gatv-laptop:/usr/local/vlc-0.9.5# aptitude search libtools root@gatv-laptop:/usr/local/vlc-0.9.5#
But it seems it doesn't find it... Can you help me? Thank you!

Re: Compile VLC 0.86d source and use Cygwin tool issue

Posted: 12 Feb 2009 14:01
by Lalesvi
I forgot to say that I am using Ubuntu 7.10, not windows and cywin.

Re: Compile VLC 0.86d source and use Cygwin tool issue

Posted: 12 Feb 2009 14:38
by jasonberresford
Have you just tried your up2date (fredora) .. or apt-get ... or yum .. (sorry not sure which package updater Ubuntu uses.... )

First result on google if it helps:

http://ubuntuforums.org/showthread.php?t=362395
(How to install Libtool)

Re: Compile VLC 0.86d source and use Cygwin tool issue

Posted: 12 Feb 2009 16:13
by Lalesvi
to update the packages we have to do: "aptitude update". I had already done this... But I find the error, I was searching "libtools", instead of "libtool"... hehe... I took away the "s" and I could find the package and install it. I have already being able to bootstrap correctly, I hope I will be able to configure the code and build it without problems!

(sometimes the errors are so stupid that you dont even think to check those things... hehe...)

Thank you anyways!!