Problem compiling VLC using Native-compile with MSYS+MINGW

This forum is about all development around libVLC.
MikeRuf
New Cone
New Cone
Posts: 1
Joined: 03 Nov 2009 16:46

Problem compiling VLC using Native-compile with MSYS+MINGW

Postby MikeRuf » 03 Nov 2009 17:00

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

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: Problem compiling VLC using Native-compile with MSYS+MINGW

Postby Jean-Baptiste Kempf » 03 Nov 2009 19:34

/bin/sh: git: command not found

Hmm, did you install tortoisegit and rebooted?
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.

MichaelMc
Blank Cone
Blank Cone
Posts: 63
Joined: 10 Jun 2009 17:55

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

Postby MichaelMc » 13 Nov 2009 18:13

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.

hanyeol
New Cone
New Cone
Posts: 1
Joined: 25 Nov 2009 15:07

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

Postby hanyeol » 25 Nov 2009 15:13

I had same problem, but MichaelMC's advice works for me.
Thanks Michael.

liyake825
Blank Cone
Blank Cone
Posts: 19
Joined: 26 Jul 2012 04:42

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

Postby liyake825 » 01 Sep 2012 04:30

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 ?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 13 guests