Bootstrap error with trunk

*nix specific usage questions
kaoul
New Cone
New Cone
Posts: 8
Joined: 02 Mar 2007 11:34

Bootstrap error with trunk

Postby kaoul » 02 Mar 2007 12:24

Hello,

Two weeks trying to compile vlc from svn. Now I have the error :
$ ./bootstrap
+ AUTOMAKESUCKS=no
[...]
+ test . != .
+ autopoint -f
+ aclocal-1.9 -I m4
+ autoconf
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:27: error: possibly undefined macro: AS_IF
configure.ac:79: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:82: error: possibly undefined macro: AC_MSG_WARN
configure.ac:275: error: possibly undefined macro: AC_DISABLE_STATIC
configure.ac:276: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
configure.ac:280: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:282: error: possibly undefined macro: AC_ARG_ENABLE
configure.ac:308: error: possibly undefined macro: AC_DEFINE
configure.ac:342: error: possibly undefined macro: AC_CHECK_LIB
configure.ac:430: error: possibly undefined macro: AC_CHECK_HEADERS
configure.ac:1946: error: possibly undefined macro: AC_PATH_PROG

I'm using :
Kubuntu edgy : Linux version 2.6.17-10-generic
autoconf (GNU Autoconf) 2.60
GNU M4 1.4.4

I read all the posts and still don't find a solution.
Thanks a lot.

Kaoul

kaoul
New Cone
New Cone
Posts: 8
Joined: 02 Mar 2007 11:34

Postby kaoul » 04 Mar 2007 12:26

up ?

Hxp
New Cone
New Cone
Posts: 9
Joined: 19 Dec 2006 15:48

Postby Hxp » 06 Mar 2007 18:35

You have not posted the complete output of the bootstrapping, but probably there is some output similar to:

Code: Select all

+ libtoolize --copy --force You should add the contents of `c:/msys/mingw/share/aclocal/libtool.m4' to `aclocal.m4'. Putting files in AC_CONFIG_AUX_DIR, `autotools'.
Probably this helps to get your missing macros included:
Edit your bootstrap file and add the path above as include parameter to the aclocal arguments (in my bootstrap-file it is in line 34):
ACLOCAL_ARGS="-I m4 -I /mingw/share/aclocal"
If your path to the file with the missing macros is different then change the line appropriately. Rerun bootstrap again - hope this works.

kaoul
New Cone
New Cone
Posts: 8
Joined: 02 Mar 2007 11:34

Postby kaoul » 07 Mar 2007 07:52

Thank you very much.

I'll try this as soon as possible because it may be something like that. I hope it to :D

vheinink
New Cone
New Cone
Posts: 1
Joined: 17 Mar 2007 14:56

Solution to bootstrap problem SVN source

Postby vheinink » 17 Mar 2007 15:03

Dear all,

Having had the incomprehensible error complaining about missing macros, I did not find a solution to this problem online.

However after reading the HACKING file in the svn-checkout (this case vlc-trunk, but any other release should have it too) everything became clear to me. It clearly defines the prerequisits for running the bootstrap command:

- Autoconf version 2.60 or later
- Automake version 1.9 or later
- gettext version 0.11.5 or later
- pkg-config
- libgcrypt 1.2 (or compatible)

After installing the missing tools, the bootstrap worked like a charm!

Good luck.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 5 guests