Page 1 of 1

Problem compiling VLC using Native-compile with MSYS+MINGW

Posted: 03 Nov 2009 17:00
by MikeRuf
I'm trying to build the Win32 version of VLC using the "Native-compile with MSYS+MINGW" method described here: http://wiki.videolan.org/Win32CompileMSYSNew. I'm running on Windows XP Pro, SP3. I used git to retrieve the latest source tree. When I run make, I get the following error:
$ PATH=/usr/win32/bin:$PATH make
make --quiet all-recursive
Making all in po
Making all in compat
Making all in src
/bin/sh: git: command not found
Making all in .
CCLD libvlccore.la
../libtool: eval: line 8625: unexpected EOF while looking for matching `''
../libtool: eval: line 8626: syntax error: unexpected end of file
make[4]: *** [libvlccore.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Any ideas what I might have done wrong?

Thanks.

--Mike

Re: Problem compiling VLC using Native-compile with MSYS+MINGW

Posted: 03 Nov 2009 19:34
by Jean-Baptiste Kempf
/bin/sh: git: command not found

Hmm, did you install tortoisegit and rebooted?

Re: Problem compiling VLC using Native-compile with MSYS+MINGW

Posted: 13 Nov 2009 18:13
by MichaelMc
Hi MikeRuf,
VLC doesn't actually build according to the steps from the wikipage as libtool isn't created correctly.

What I have to do to get things moving is to modify libtool after the configure stage, replacing the line (~155) 'global_symbol_pipe=""' with:
global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1\\2\\3 \\3/p'"

Hope that helps.

Re: Problem compiling VLC using Native-compile with MSYS+MINGW

Posted: 25 Nov 2009 15:13
by hanyeol
I had same problem, but MichaelMC's advice works for me.
Thanks Michael.

Re: Problem compiling VLC using Native-compile with MSYS+MIN

Posted: 01 Sep 2012 04:30
by liyake825
Hi MikeRuf,
VLC doesn't actually build according to the steps from the wikipage as libtool isn't created correctly.

What I have to do to get things moving is to modify libtool after the configure stage, replacing the line (~155) 'global_symbol_pipe=""' with:
global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1\\2\\3 \\3/p'"

Hope that helps.
Thanks michael,
I also got this ploblem,when i am compiling VLC1.1.12.And it helps me through the compiling,but i got a new problem when i want to install:
when i hit"make package-win32-base":
c:\MinGW\bin\objcopy.exe:./vlc-1.1.12/plugins/libaccess_avio_plugin.dll: Permiss
ion denied
c:\MinGW\bin\objcopy.exe: unable to rename './vlc-1.1.12/plugins/libaccess_ftp_p
lugin.dll'; reason: File exists
Does this have some link to the modify of libtool ?