Page 1 of 1

VLC Nightly bootstrap issues

Posted: 11 Nov 2010 05:11
by nova-silver
First time poster, so please be gentle.

Attempting to build a VLC nightly from source within a RHEL 5.5 x86_64 config (customer OS baseline).

Referenced "HACKING" from the git and made sure that the requirements are up to date: (built from downloaded source)

Code: Select all

[root@source vlc]# which autoconf /usr/local/bin/autoconf [root@source vlc]# autoconf --version autoconf (GNU Autoconf) 2.68 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David J. MacKenzie and Akim Demaille.

Code: Select all

[root@source vlc]# which automake /usr/local/bin/automake [root@source vlc]# automake --version automake (GNU automake) 1.10.3 Copyright (C) 2009 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Tom Tromey <tromey@redhat.com> and Alexandre Duret-Lutz <adl@gnu.org>.

Code: Select all

[root@source vlc]# which gettext /usr/local/bin/gettext [root@source vlc]# gettext --version gettext (GNU gettext-runtime) 0.18.1 Copyright (C) 1995-1997, 2000-2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Ulrich Drepper. [root@source vlc]#

Code: Select all

[root@source vlc]# which pkg-config /usr/local/bin/pkg-config [root@source vlc]# pkg-config --version 0.25
Perform a fresh git and run bootstrap. Results below:

Code: Select all

[root@source 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 + set +x generating modules/**/Makefile.am ............................................................................ + echo + echo + cp -f INSTALL INSTALL.git + autoreconf --install --force --verbose -I m4 autoreconf: Entering directory `.' autoreconf: running: autopoint --force Copying file ABOUT-NLS autoreconf: running: aclocal -I m4 --force -I m4 configure.ac:29: warning: macro `AM_SILENT_RULES' not found in library configure.ac:4452: warning: macro `AM_COND_IF' not found in library configure.ac:4459: warning: macro `AM_COND_IF' not found in library configure.ac:460: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:460: the top level configure.ac:532: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... configure.ac:532: the top level configure.ac:1502: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2599: _AC_COMPILE_IFELSE is expanded from... autoconf/general.m4:2609: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:1502: the top level configure.ac:3794: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... /usr/local/share/aclocal/pkg.m4:157: PKG_CHECK_MODULES is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:3794: the top level autoreconf: configure.ac: tracing configure.ac:460: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:460: the top level configure.ac:532: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... configure.ac:532: the top level configure.ac:1502: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2599: _AC_COMPILE_IFELSE is expanded from... autoconf/general.m4:2609: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:1502: the top level configure.ac:3794: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... aclocal.m4:178: PKG_CHECK_MODULES is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:3794: the top level autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autotools'. libtoolize: copying file `autotools/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' configure.ac:29: warning: macro `AM_SILENT_RULES' not found in library configure.ac:4452: warning: macro `AM_COND_IF' not found in library configure.ac:4459: warning: macro `AM_COND_IF' not found in library configure.ac:460: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:460: the top level configure.ac:532: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... configure.ac:532: the top level configure.ac:1502: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2599: _AC_COMPILE_IFELSE is expanded from... autoconf/general.m4:2609: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:1502: the top level configure.ac:3794: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... /usr/local/share/aclocal/pkg.m4:157: PKG_CHECK_MODULES is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:3794: the top level autoreconf: running: /usr/local/bin/autoconf --include=m4 --force configure.ac:460: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:460: the top level configure.ac:532: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... configure.ac:532: the top level configure.ac:1502: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2599: _AC_COMPILE_IFELSE is expanded from... autoconf/general.m4:2609: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:1502: the top level configure.ac:3794: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... aclocal.m4:178: PKG_CHECK_MODULES is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:3794: the top level 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:4359: error: possibly undefined macro: AC_CONFIG_FILES configure.ac:4452: error: possibly undefined macro: AM_COND_IF autoreconf: /usr/local/bin/autoconf failed with exit status: 1 [root@source vlc]#
Apologies, but I'm not overly familiar with autoconf, so the warning starting with AM_SILENT_RULES I'm assuming is a bad thing.

Googling and searching the VLC forum has yielded similar postings over the past several years, but none to a resolution in this case.

Manually running: "autoreconf --install --force --verbose " as taken from the bootstrap line 107, results in similar warnings and errors:

Code: Select all

[root@source vlc]# autoreconf --install --force --verbose autoreconf: Entering directory `.' autoreconf: running: autopoint --force autoreconf: running: aclocal --force -I m4 configure.ac:29: warning: macro `AM_SILENT_RULES' not found in library configure.ac:4452: warning: macro `AM_COND_IF' not found in library configure.ac:4459: warning: macro `AM_COND_IF' not found in library configure.ac:460: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:460: the top level configure.ac:532: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... configure.ac:532: the top level configure.ac:1502: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2599: _AC_COMPILE_IFELSE is expanded from... autoconf/general.m4:2609: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:1502: the top level configure.ac:3794: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... /usr/local/share/aclocal/pkg.m4:157: PKG_CHECK_MODULES is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:3794: the top level autoreconf: configure.ac: tracing configure.ac:460: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:460: the top level configure.ac:532: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... configure.ac:532: the top level configure.ac:1502: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2599: _AC_COMPILE_IFELSE is expanded from... autoconf/general.m4:2609: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:1502: the top level configure.ac:3794: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... aclocal.m4:178: PKG_CHECK_MODULES is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:3794: the top level autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autotools'. libtoolize: copying file `autotools/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' configure.ac:29: warning: macro `AM_SILENT_RULES' not found in library configure.ac:4452: warning: macro `AM_COND_IF' not found in library configure.ac:4459: warning: macro `AM_COND_IF' not found in library configure.ac:460: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:460: the top level configure.ac:532: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... configure.ac:532: the top level configure.ac:1502: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2599: _AC_COMPILE_IFELSE is expanded from... autoconf/general.m4:2609: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:1502: the top level configure.ac:3794: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... /usr/local/share/aclocal/pkg.m4:157: PKG_CHECK_MODULES is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:3794: the top level autoreconf: running: /usr/local/bin/autoconf --force configure.ac:460: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:460: the top level configure.ac:532: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... configure.ac:532: the top level configure.ac:1502: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2599: _AC_COMPILE_IFELSE is expanded from... autoconf/general.m4:2609: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:1502: the top level configure.ac:3794: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body autoconf/lang.m4:198: AC_LANG_CONFTEST is expanded from... autoconf/general.m4:2512: _AC_PREPROC_IFELSE is expanded from... autoconf/general.m4:2521: AC_PREPROC_IFELSE is expanded from... aclocal.m4:178: PKG_CHECK_MODULES is expanded from... ../../lib/m4sugar/m4sh.m4:610: AS_IF is expanded from... configure.ac:3794: the top level 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:4359: error: possibly undefined macro: AC_CONFIG_FILES configure.ac:4452: error: possibly undefined macro: AM_COND_IF autoreconf: /usr/local/bin/autoconf failed with exit status: 1 [root@source vlc]#
A point in the general direction towards a resolution would be sincerely appreciated.

Thank you for the review.

Re: VLC Nightly bootstrap issues

Posted: 11 Nov 2010 13:22
by Jean-Baptiste Kempf
Use automake 1.11

Re: VLC Nightly bootstrap issues

Posted: 12 Nov 2010 02:26
by nova-silver
Use automake 1.11
Thank you, that solved the issue.

Would you like for me to update the HACKING file in the source to indicate 1.11 is required vice 1.9+ or is that simply a RedHat-ism?

Re: VLC Nightly bootstrap issues

Posted: 14 Nov 2010 01:50
by nova-silver
Bootstrap and configure are now working properly. I had a new more dependencies to resolve within the configure, and am now running into a problem during the make portion.

Code: Select all

make[6]: Entering directory `/install/vlc/modules/access/bd' CC libaccess_bd_plugin_la-bd.lo CC libaccess_bd_plugin_la-mpls.lo CC libaccess_bd_plugin_la-clpi.lo CCLD libaccess_bd_plugin.la /usr/bin/ld: skipping incompatible /lib/libdbus-1.so when searching for -ldbus-1 make[6]: Leaving directory `/install/vlc/modules/access/bd' make[5]: Leaving directory `/install/vlc/modules/access/bd' Making all in zip make[5]: Entering directory `/install/vlc/modules/access/zip' make all-am make[6]: Entering directory `/install/vlc/modules/access/zip' CC libzip_plugin_la-zipstream.lo CC libzip_plugin_la-zipaccess.lo CCLD libzip_plugin.la /usr/bin/ld: skipping incompatible /lib/libdbus-1.so when searching for -ldbus-1 make[6]: Leaving directory `/install/vlc/modules/access/zip' make[5]: Leaving directory `/install/vlc/modules/access/zip' make[5]: Entering directory `/install/vlc/modules/access' CC libaccess_avio_plugin_la-avio.lo CCLD libaccess_avio_plugin.la /usr/bin/ld: /usr/local/lib/libavformat.a(allformats.o): relocation R_X86_64_32 against `a64_muxer' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libavformat.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[5]: *** [libaccess_avio_plugin.la] Error 1 make[5]: Leaving directory `/install/vlc/modules/access' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/install/vlc/modules/access' make[3]: *** [all] Error 2 make[3]: Leaving directory `/install/vlc/modules/access' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/install/vlc/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/install/vlc' make: *** [all] Error 2 [root@source vlc]#
Stumbling around google a bit has pointed to a Gentoo linux page in relation to HOWTO fix -fPIC errors. It would appear that my problem is upstream of VLC in the ffmpeg build, since libavformat.a is constructed by ffmpeg as near as I can tell.

The system is a x86_64 setup:
[root@source vlc]# uname -a
Linux source 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

Granted a much older kernel due to the RHEL5.5 nature of the initial build.

My configure setup is as follows:

Code: Select all

#!/bin/bash #grabs configures vlc to build under $build #Variables get=install #where the source is downloaded too build=/opt/vlc #where the install is performed export PKG_CONFIG_PATH=/install/x264:/usr/local/Trolltech/Qt-4.7.1/lib/pkgconfig:/install/ffmpeg:/opt/ffmpeg/lib #builds VLC from source cd /$get/vlc #./bootstrap ./configure --prefix=$build \ --enable-snapshot \ --enable-debug \ --enable-live555 --with-live555-tree=/$get/live \ --enable-x264 --with-x264-tree=/$get/x264 \ --enable-faad --with-faad-tree=/$get/faad2-2.7 \ --enable-libmpeg2 --enable-qt4 \ --disable-nls \ --disable-postproc \ --disable-fribidi \ --disable-sdl \ --disable-vcdx
/opt/ffmpeg contains a working copy of a Nov 7 svn checkout, hence the PKG_CONFIG_PATH for the /opt/ffmpeg/lib directory.

I'm a little stumped as to where the -fPIC needs to be included. Assuming it should be in the ffmpeg build, so that libavformat.a contains the right symbols?

Thank you for the review.

Re: VLC Nightly bootstrap issues

Posted: 20 Jan 2011 02:55
by gouravdata
Hi

I am trying to compile the VLC code. I was getting same problem of "autoreconf: /usr/local/bin/autoconf failed with exit status: 1"
I am using
Autoconf 2.64
automake 1.10
gettext 0.17
pkg-config .22


Later i changed my automake to 1.11. But now i am getting following errors. Can you suggest what is missing?

Gourav

configure.ac:4046: the top level
configure.ac:4050: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:4050: the top level
configure.ac:4169: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:4169: the top level
configure.ac:4198: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:4198: the top level
configure.ac:1: error: possibly undefined macro: dnl
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:36: error: possibly undefined macro: AS_IF
configure.ac:60: error: possibly undefined macro: AC_DEFINE
configure.ac:90: error: possibly undefined macro: AS_HELP_STRING
configure.ac:99: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:102: error: possibly undefined macro: AC_ARG_ENABLE
configure.ac:109: error: possibly undefined macro: AC_MSG_WARN
configure.ac:135: error: possibly undefined macro: AC_MSG_CHECKING
configure.ac:137: error: possibly undefined macro: AC_MSG_RESULT
configure.ac:449: error: possibly undefined macro: AC_PREPROC_IFELSE
configure.ac:469: error: possibly undefined macro: AC_CHECK_LIB
configure.ac:500: error: possibly undefined macro: AC_LANG_PUSH
configure.ac:511: error: possibly undefined macro: AC_LANG_POP
configure.ac:693: error: possibly undefined macro: AC_CHECK_HEADERS
configure.ac:1619: error: possibly undefined macro: AC_PATH_PROGS
configure.ac:2319: error: possibly undefined macro: AC_CHECK_HEADER
configure.ac:3546: error: possibly undefined macro: AC_PATH_PROG
configure:25372: error: possibly undefined macro: m4_n
autoreconf: /usr/bin/autoconf failed with exit status: 1

Re: VLC Nightly bootstrap issues

Posted: 20 Jan 2011 14:19
by Jean-Baptiste Kempf
pkg config mis-installed.

Re: VLC Nightly bootstrap issues

Posted: 25 Jan 2011 00:51
by gouravdata
Hi

What do you mean by pkg-config miss installed. Do i have to install it again or just the configuration is missing. I am getting the following error currently. Please help me as i am really stuck with ./bootstrap only.
I have updated
autoconf 2.68
automake 1.11.1
pkg-config .22
gettext 0.18.1
Please tell what should i do. I really need some input.



+ 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
+ set +x
generating modules/**/Makefile.am
...........................................................................
+ echo
+ echo
+ cp -f INSTALL INSTALL.git
+ autoreconf --install --force --verbose -I m4
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
Copying file ABOUT-NLS
autoreconf: running: aclocal -I m4 --force -I m4
configure.ac:427: error: m4_undefine: undefined macro: AC_DEPLIBS_CHECK_METHOD
configure.ac:427: the top level
autom4te: /usr/local/bin/m4 failed with exit status: 1
aclocal: /usr/local/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

Re: VLC Nightly bootstrap issues

Posted: 28 Jan 2011 10:24
by zjshen
I've met the same problem as "gouravdata" did.

Who can help us out? Thank you in advance.