VLC can't compile in MSYS-undefined macro: AM_INTL_SUBDIR

This forum is about all development around libVLC.
panpanpandas
New Cone
New Cone
Posts: 1
Joined: 15 May 2009 08:01

VLC can't compile in MSYS-undefined macro: AM_INTL_SUBDIR

Postby panpanpandas » 17 May 2009 09:52

I am new to VLC and I want to compile VLC in MSYS in Windows. I followed the instructions at http://wiki.videolan.org/Win32CompileMSYSNew. Everything is all right until I tried to Bootstrap VLC. Can anyone help me solve the problem? Thanks a lot!

My environment now is windows xp 32bit + MinGW 5.1.4 + MSYS 1.0.11 + autoconf 2.61 + automake 1.10 + libtool 1.5.25a. I have also installed Gcrypt according to the instruction.
I search the web, some one said it is related to autoconf updating, but I just followed the instructions and didn't change anything else.
Here is the message:

Code: Select all

$ ./bootstrap ++ dirname ./bootstrap + cd . + ACLOCAL_ARGS=-I m4 + test -d extras/contrib/bin ++ pwd + PATH=/vlc/extras/contrib/bin:.:/usr/local/bin:/mingw/bin:/bin:/c/Program Files /PC Connectivity Solution/:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS System32/Wb em:/c/Program Files/Common Files/Thunder Network/KanKan/Codecs:/c/Program Files/ Microsoft SQL Server/90/Tools/binn/:/c/Program Files/QuickTime/QTSystem/:/d/Prog ram Files/MATLAB/R2008a/bin:/d/Program Files/MATLAB/R2008a/bin/win32:/d/Program Files/MATLAB/MATLAB Compiler Runtime/v79/runtime/win32:/c/Program Files/NewFront ier/DemoOptimizer 5.0/bin/win32/:/d/Program Files/TortoiseSVN/bin:/d/Program Fil es/StormII/Codec:/d/Program Files/StormII:/d/Program Files/IDM Computer Solution s/UltraEdit/:/d/Program Files/SSH Communications Security/SSH Secure Shell + test -d extras/contrib/share/aclocal + ACLOCAL_ARGS=-I m4 -I extras/contrib/share/aclocal ++ uname -s + test .MINGW32_NT-5.1 = .Darwin ++ uname -s + test .MINGW32_NT-5.1 = .BeOS + 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 -I extras/contrib/share/aclocal autoreconf: Entering directory `.' autoreconf: running: true --force autoreconf: running: aclocal --force -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#Ext ending-aclocal autoreconf: configure.ac: tracing configure.ac:463: warning: AM_INTL_SUBDIR is m4_require'd but not m4_defun'd m4/gettext.m4:362: AM_GNU_GETTEXT is expanded from... configure.ac:463: the top level autoreconf: running: libtoolize --copy --force You should update your `aclocal.m4' by running aclocal. Putting files in AC_CONFIG_AUX_DIR, `autotools'. 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#Ext ending-aclocal autoreconf: running: /usr/local/bin/autoconf --include=m4 --include=extras/contr ib/share/aclocal --force configure.ac:463: warning: AM_INTL_SUBDIR is m4_require'd but not m4_defun'd m4/gettext.m4:362: AM_GNU_GETTEXT is expanded from... configure.ac:463: the top level configure:24121: error: possibly undefined macro: AM_INTL_SUBDIR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/local/bin/autoconf failed with exit status: 1

Kastzf9
New Cone
New Cone
Posts: 2
Joined: 21 May 2009 10:53

Re: VLC can't compile in MSYS-undefined macro: AM_INTL_SUBDIR

Postby Kastzf9 » 21 May 2009 11:02

I am having the same problem as panpanpandas. I am also trying to build VLC in a MSys/MinGW environment and get stuck on bootstrapping VLC. Here is my printout:

Code: Select all

$ ./bootstrap ++ dirname ./bootstrap + cd . + ACLOCAL_ARGS='-I m4 ' + test -d extras/contrib/bin ++ pwd + PATH='/c/vlc/vlc/extras/contrib/bin:.:/usr/local/bin:/mingw/bin:/bin:/c/Progra m Files/Microsoft Visual Studio 9.0/Common7/IDE:/c/Program Files/Microsoft Visua l Studio 9.0/VC/BIN:/c/Program Files/Microsoft Visual Studio 9.0/Common7/Tools:/ c/WINDOWS/Microsoft.NET/Framework/v3.5:/c/WINDOWS/Microsoft.NET/Framework/v2.0.5 0727:/c/Program Files/Microsoft Visual Studio 9.0/VC/VCPackages:/c/Program Files /Microsoft SDKs/Windows/v6.0A/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/Syst em32/Wbem:/c/Program Files/Intel/DMIX:/c/Program Files/Microsoft SQL Server/90/T ools/binn:/c/Program Files/TortoiseSVN/bin:/c/Program Files/JAI A-S/Cam2Net/Bina ries:/c/Program Files/ESTsoft/ALZip:/c/Program Files/QuickTime/QTSystem/:/c/Prog ram Files/Microsoft SQL Server/90/Tools/binn/:/c/Program Files/ESTsoft/ALZip' + test -d extras/contrib/share/aclocal + ACLOCAL_ARGS='-I m4 -I extras/contrib/share/aclocal' ++ uname -s + test .MINGW32_NT-5.1 = .Darwin ++ uname -s + test .MINGW32_NT-5.1 = .BeOS + 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 -I extras/contrib/share/aclocal autoreconf: Entering directory `.' autoreconf: running: true --force autoreconf: running: aclocal --force -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#Ext ending-aclocal autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force You should update your `aclocal.m4' by running aclocal. Putting files in AC_CONFIG_AUX_DIR, `autotools'. 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#Ext ending-aclocal autoreconf: running: /c/vlc/vlc/extras/contrib/bin/autoconf --include=m4 --inclu de=extras/contrib/share/aclocal --force 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:11: error: possibly undefined macro: AC_SUBST configure.ac:34: error: possibly undefined macro: AS_IF configure.ac:52: error: possibly undefined macro: AC_ARG_ENABLE configure.ac:56: error: possibly undefined macro: AC_MSG_ERROR configure.ac:76: error: possibly undefined macro: AC_DEFINE configure.ac:103: error: possibly undefined macro: AS_HELP_STRING configure.ac:134: error: possibly undefined macro: AC_MSG_WARN configure.ac:324: error: possibly undefined macro: AC_TRY_LINK configure.ac:497: error: possibly undefined macro: AC_CHECK_LIB configure.ac:506: error: possibly undefined macro: AC_CACHE_CHECK configure.ac:598: error: possibly undefined macro: AC_CHECK_HEADERS configure.ac:2177: error: possibly undefined macro: AC_PATH_PROG configure.ac:4977: error: possibly undefined macro: AC_PATH_PROGS autoreconf: /c/vlc/vlc/extras/contrib/bin/autoconf failed with exit status: 1
I seem also to have tried the same solutions - I have tried various different versions of autoconf and automake but all get stuck at this bootstrapping stage (albeit in slightly different places).

Please let me know what else I can try.

hobbitten
Blank Cone
Blank Cone
Posts: 20
Joined: 02 Jun 2009 19:23

Re: VLC can't compile in MSYS-undefined macro: AM_INTL_SUBDIR

Postby hobbitten » 02 Jun 2009 20:41

I am also having the same problem. The reason I am compiling VLC for windows is to remove VLC from grabbing the onclick event in IE. Does anyone have a compiled VLC package that meets that criteria?

Code: Select all

$ ./bootstrap ++ dirname ./bootstrap + cd . + ACLOCAL_ARGS=-I m4 + test -d extras/contrib/bin ++ pwd + PATH=/c/vlc/VLC/extras/contrib/bin:.:/usr/local/bin:/mingw/bin:/bin:/c/oracle/product/10.2.0/db_1/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/Program Files/Intel/Wireless/Bin/:/c/Program Files/Diskeeper Corporation/Diskeeper/:/c/Program Files/ThinkPad/ConnectUtilities:/c/Program Files/Common Files/Lenovo:/c/Program Files/Lenovo/Client Security Solution:/c/Program Files/Microsoft SQL Server/90/Tools/binn/:/c/Program Files/Common Files/ESRI/Image Server:/c/Program Files/Graphviz2.20/Bin:/c/Program Files/BlueTree/jdk1.5/jre/bin:/c/Program Files/QuickTime/QTSystem/ + test -d extras/contrib/share/aclocal + ACLOCAL_ARGS=-I m4 -I extras/contrib/share/aclocal ++ uname -s + test .MINGW32_NT-5.1 = .Darwin ++ uname -s + test .MINGW32_NT-5.1 = .BeOS + 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 -I extras/contrib/share/aclocal autoreconf: Entering directory `.' autoreconf: running: true --force autoreconf: running: aclocal --force -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 /bin/m4: unrecognized option `--debugfile=autom4te.cache/traces.0t' Try `/bin/m4 --help' for more information. autom4te: /bin/m4 failed with exit status: 1 C:\msys\1.0\local\bin\aclocal: autom4te failed with exit status: 1 autoreconf: aclocal failed with exit status: 1

hobbitten
Blank Cone
Blank Cone
Posts: 20
Joined: 02 Jun 2009 19:23

Re: VLC can't compile in MSYS-undefined macro: AM_INTL_SUBDIR

Postby hobbitten » 04 Jun 2009 14:44

I found out the solution.

msysDTK-1.0.1 package, that installs only m4-1.4, which is too old.
You need to install the m4-1.4.7 update.
http://downloads.sourceforge.net/mingw/ ... YS.tar.bz2

Rand00
New Cone
New Cone
Posts: 2
Joined: 17 Jun 2009 21:03

Re: VLC can't compile in MSYS-undefined macro: AM_INTL_SUBDIR

Postby Rand00 » 19 Jun 2009 18:25

Just wanted to give a quick shout and say thanks for posting the update! Also worked for me as well :mrgreen:

jaredflo
New Cone
New Cone
Posts: 2
Joined: 29 Aug 2009 04:55

Re: VLC can't compile in MSYS-undefined macro: AM_INTL_SUBDIR

Postby jaredflo » 29 Aug 2009 04:59

I followed the latest instructions at

http://wiki.videolan.org/Win32CompileMSYS

but what I got is:

$ ./bootstrap
sh: ./bootstrap: no such file or directory

I'm sure some setup is wrong but I'm really lost, help someone can help thanks.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC can't compile in MSYS-undefined macro: AM_INTL_SUBDIR

Postby VLC_help » 29 Aug 2009 18:02

Are you in right directory when input the ./bootstrap ? (bootstrap is a file you run, so if your working directory doesn't contain it, nothing is going to happen)

gany47
New Cone
New Cone
Posts: 3
Joined: 14 Oct 2010 13:09

Re: VLC can't compile in MSYS-undefined macro: AM_INTL_SUBDI

Postby gany47 » 14 Oct 2010 13:19

Hi all,

I am also facing similar issue reported in this thread. To fix this, I am trying to download m4-1.4.7-MSYS.tar.bz2 but not able to find it. [this file is not present in sourceforge as well.]

Can someone please let me know where can I find m4-1.4.7-MSYS.tar.bz2.

Regards,
Ganesh


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 5 guests