VLC compile error about bootstrap

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
zhangchuanxyz
New Cone
New Cone
Posts: 6
Joined: 11 Jan 2012 02:02

VLC compile error about bootstrap

Postby zhangchuanxyz » 11 Jan 2012 03:14

Hi:
I clone the VLC source code from "git://git.videolan.org/vlc.git", and I try to compile it. I use MinGW and Msys, and try to follow the instructions at "http://wiki.videolan.org/Win32CompileMSYSNew" to compile it. But when I ran "PATH=/usr/win32/bin:$PATH ./bootstrap", there was a error, error in the following.

Code: Select all

$ PATH=/usr/win32/bin:$PATH ./bootstrap NOTE: GNU gettext appears to be missing or out-of-date. Please install or update GNU gettext. Also check if you have cvs, a dependency of autopoint. Otherwise, you will not be able to build a source tarball. ============================================================== generating modules/**/Makefile.am ...................................................................... + 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 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 ' is already registered with AC_CONFIG_FILES. /usr/src/autoconf/autoconf-2.63/lib/autoconf/status.m4:305: AC_CONFIG_FILES is e xpanded from... /usr/share/aclocal-1.11/cond-if.m4:39: AM_COND_IF is expanded from... configure.ac:4245: the top level autom4te: /bin/m4 failed with exit status: 1 C:\msys\1.0\bin\aclocal: autom4te failed with exit status: 1 autoreconf: aclocal failed with exit status: 1
I know that "http://wiki.videolan.org/Win32CompileMSYSNew" is base on 1.1.X, and I find that the VLC 1.1.11 source code has many differences with the the VLC source code from "git://git.videolan.org/vlc.git". The VLC 1.1.11 source code is 127M, but the VLC source code from "git://git.videolan.org/vlc.git" is 103M! The VLC 1.1.11 source code has many makefile.in files, but the VLC source code from "git://git.videolan.org/vlc.git" doesn't have any makefile.in files. I have successfully compiled 1.1.11. I wonder whether the instructions at "http://wiki.videolan.org/Win32CompileMSYSNew" is correct for the VLC source code from "git://git.videolan.org/vlc.git". If it is not correct for the VLC source code from "git://git.videolan.org/vlc.git", how to set up the build environment? What should I do to compile it?
Who can help me?
Thanks.

Ares19851110
Blank Cone
Blank Cone
Posts: 38
Joined: 26 Oct 2011 08:19

Re: VLC compile error about bootstrap

Postby Ares19851110 » 11 Jan 2012 09:36

I have the same problem. I also don't know how to solve them. Hope someone can help us. Thank you very much!!!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC compile error about bootstrap

Postby Jean-Baptiste Kempf » 11 Jan 2012 09:43

Update your tools and your contribs.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

zhangchuanxyz
New Cone
New Cone
Posts: 6
Joined: 11 Jan 2012 02:02

Re: VLC compile error about bootstrap

Postby zhangchuanxyz » 11 Jan 2012 09:54

Update your tools and your contribs.
I configure the build environment as the instructions at "http://wiki.videolan.org/Win32CompileMSYSNew", and successfully compile 1.1.11. Right?

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

Re: VLC compile error about bootstrap

Postby VLC_help » 11 Jan 2012 15:45

You should be able to compile master with guide of Win32CompileMSYSNew

zhangchuanxyz
New Cone
New Cone
Posts: 6
Joined: 11 Jan 2012 02:02

Re: VLC compile error about bootstrap

Postby zhangchuanxyz » 12 Jan 2012 01:49

You should be able to compile master with guide of Win32CompileMSYSNew
Yes, I do it with guide of "Win32CompileMSYSNew", and I have succeeded to compile 1.1.11, but it doesn't work for the VLC source code from "git://git.videolan.org/vlc.git".

bluejin39
New Cone
New Cone
Posts: 1
Joined: 12 Jan 2012 02:38

Re: VLC compile error about bootstrap

Postby bluejin39 » 12 Jan 2012 02:53

I did not meet you this situation, but I still want to look at, I hope I can solve the problem :twisted: :twisted: :twisted:

zhangchuanxyz
New Cone
New Cone
Posts: 6
Joined: 11 Jan 2012 02:02

Re: VLC compile error about bootstrap

Postby zhangchuanxyz » 12 Jan 2012 03:05

I did not meet you this situation, but I still want to look at, I hope I can solve the problem :twisted: :twisted: :twisted:
Oh, thank you very much. I want to know that If you have seen the source code from "git://git.videolan.org/vlc.git"? That is very different from 1.1.11. I am a chinese, so my english is not very well, I say probably is not very clear, please understand.
Thanks.

nkoriyama
Cone that earned his stripes
Cone that earned his stripes
Posts: 338
Joined: 01 Sep 2011 20:50
VLC version: git
Operating System: Windows / Mac OS X
Location: Japan

Re: VLC compile error about bootstrap

Postby nkoriyama » 12 Jan 2012 05:21

You can try cross compilation with Linux(Ubuntu) or something. On Windows, you should do it in a virtual machine.
I think cross compilation is much easier than native compilation with MSYS.
How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html
My hack for ISDB-T http://sdrv.ms/126weue

zhangchuanxyz
New Cone
New Cone
Posts: 6
Joined: 11 Jan 2012 02:02

Re: VLC compile error about bootstrap

Postby zhangchuanxyz » 12 Jan 2012 06:27

You can try cross compilation with Linux(Ubuntu) or something. On Windows, you should do it in a virtual machine.
I think cross compilation is much easier than native compilation with MSYS.
Thank you. I will try it.

keltie
Blank Cone
Blank Cone
Posts: 19
Joined: 09 Jun 2010 06:08

Re: VLC compile error about bootstrap

Postby keltie » 12 Jan 2012 06:28

Hi zhangchuanxyz,

Out of interest, if you change the line endings on the files that bootstrap reads can you get further along the process?

I have experienced the same error before and suspect that the git download process for msys (installation possibilities and step by step guidelines?) may have some quirks.

zhangchuanxyz
New Cone
New Cone
Posts: 6
Joined: 11 Jan 2012 02:02

Re: VLC compile error about bootstrap

Postby zhangchuanxyz » 12 Jan 2012 07:37

Hi zhangchuanxyz,

Out of interest, if you change the line endings on the files that bootstrap reads can you get further along the process?

I have experienced the same error before and suspect that the git download process for msys (installation possibilities and step by step guidelines?) may have some quirks.
Hi keltie,
I saw "configure.ac:4245: the top level", so I compared the "congigure.ac" with 1.1.11, I found it is different from 1.1.11. I replaced the "confugure.ac", of course it can get further along the process, but there was other error, Because the source code's difference is too great.
You've also encountered the same problem with me? How did you solve it?

Thank you.

keltie
Blank Cone
Blank Cone
Posts: 19
Joined: 09 Jun 2010 06:08

Re: VLC compile error about bootstrap

Postby keltie » 13 Jan 2012 05:12

Hi,

I don't have an answer as I still fail to build VLC on msys using git with the latest tools/contribs and following verbatim the web instructions.

I observed that changing the 'configure.ac' file's line endings from /CR/LF to /LF only (Unix) then it would bootstrap fine. Issues will arise later for me in the configure step regardless of the 'configure' file's line endings. One possible conclusion to draw from this is that there are differences between how git is used with msys and the packaged released source.

I would be interested to know if you can successfully bootstrap at least by changing the line endings on your configure.ac file. Please let me know.

What is not explicit is how git is used to download the repository under msys. The msys build tools install instructions for vlc provide a compile environment without the git command. Git is available separately for msys with no clear method for integrating with our install instructions (please permit me to be a dummy here until one of the integration methods is successful and documented by the many happy people compiling vlc on msys out there).

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

Re: VLC compile error about bootstrap

Postby VLC_help » 13 Jan 2012 20:09

AFAIK git doesn't do anything to the files (it would make patching quite difficult if it would change something). It is the MSYS or Cygwin that must be configured for proper line ending.

shenlong
New Cone
New Cone
Posts: 2
Joined: 10 Aug 2011 06:41

Re: VLC compile error about bootstrap

Postby shenlong » 28 Feb 2012 10:49

Hey guys,

This problem is related to viewtopic.php?f=14&t=75023

just do a

Code: Select all

dos2unix configure.ac
and it'll fix the problem. Admin, maybe you could give me some contribution rights to cygwin/mingw32 wiki page to update the troublshooting issues!!!

Also, if you perform a dos2unix configure.ac, git actually detected changes, though performing a DIFF will show no changes. Some encoding issues or bug with aclocal not able to translate the endings properly.

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

Re: VLC compile error about bootstrap

Postby VLC_help » 28 Feb 2012 20:06

I can add it to Wiki, if you give something I can copy+paste directly.

Ludrax
Big Cone-huna
Big Cone-huna
Posts: 568
Joined: 07 Jul 2010 14:28

Re: VLC compile error about bootstrap

Postby Ludrax » 10 Oct 2013 13:49

You can try cross compilation with Linux(Ubuntu) or something. On Windows, you should do it in a virtual machine.
I think cross compilation is much easier than native compilation with MSYS.
how to use it on VM shared folder(symlinks support) :?:
An' if ain't broke, then don't try to fix it...


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 49 guests