Make or... Break?

This forum is about all development around libVLC.
Belbear
Blank Cone
Blank Cone
Posts: 25
Joined: 01 Apr 2010 10:58

Make or... Break?

Postby Belbear » 29 Apr 2010 17:33

Hi,

I have this issue with make that pops up every now and then.

When compiling vlc, instead of starting to compile, the "make" sometimes starts some kind of automake configuration, which always leads to a failed build if I let it run and forces me to start rebuilding from scratch with bootstrap, config and make.

Not only a very time-consuming procedure, but always a chance to get my entire vlc branch FUBAR'ed, as happened in a few occasions.

So, instead of what I want:

Code: Select all

$ make make all-recursive make[1]: Entering directory `/vlc/modules/video_output' Making all in msw make[2]: Entering directory `/vlc/modules/video_output/msw' make all-am make[3]: Entering directory `/vlc/modules/video_output/msw' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/vlc/modules/video_output/msw' make[2]: Leaving directory `/vlc/modules/video_output/msw' make[2]: Entering directory `/vlc/modules/video_output' CC libbluemotion_plugin_la-bluemotion.lo CCLD libbluemotion_plugin.la Creating library file: .libs/libbluemotion_plugin.dll.a make[2]: Leaving directory `/vlc/modules/video_output' make[1]: Leaving directory `/vlc/modules/video_output'
I get something like:

Code: Select all

$ make cd ../.. && make am--refresh make[1]: Entering directory `/vlc' CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /vlc/autotools/missing --run aclocal-1.11 -I m4 m4/autoopts.m4:22: warning: underquoted definition of AG_PATH_AUTOOPTS m4/autoopts.m4:22: run info '(automake)Extending aclocal' m4/autoopts.m4:22: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal cd . && /bin/sh /vlc/autotools/missing --run automake-1.11 --gnu <pressing ctrl-C here because it leads to nothing good> make: *** Deleting file `../../aclocal.m4' make[1]: *** [Makefile.in] Interrupt make: *** [../../aclocal.m4] Interrupt
I know, i'm playing with tools I don't understand. I suppose I'm touching the wrong file, but have no clue which one.
Compiling natively on Windows using msys/mingw

Is there a way to disable this behaviour?

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Make or... Break?

Postby Rémi Denis-Courmont » 29 Apr 2010 20:15

This occurs when one of the autoconf/automake source file was modified.

The correct solution would involve fixing your autotools toolchain. Alternatively, you can try ./configure --disable-maintainer-mode, but if you update the source tree, things will eventually break, as the makefile will run out of sync.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 18 guests