compiling vlc on win32 fails

zhang wenjiang zh_wenjiang at yahoo.com
Thu May 9 05:10:07 CEST 2002


 
  Gildas Bazin <gbazin at netcourrier.com> wrote: 
On Mon, 6 May 2002 zhang wenjiang wrote:
>
>I have a problem compiling vlc on win2k machine using Msys 1.0.5.
>
>The command is : 
>
>MAKE=gmake ./configure \
>--target=i586-mingw32msvc \
>--with-gtk-config-path=/c/dev/gtk-win32/bin \
>--with-sdl-config-path=/c/dev/SDL-1.2.3-win32/i386-mingw32msvc/bin \
>--with-directx=/c/dev/dxheaders 
>
>The result is 
>
>loading cache ./config.cache
>checking host system type... i686-pc-mingw32
>checking target system type... i586-pc-mingw32msvc
>checking build system type... i686-pc-mingw32
>checking whether gmake sets ${MAKE}... yes
>checking for gcc... gcc
>checking whether the C compiler (gcc ) works... no
>
>

My advice:

- Use MSYS-1.0.7 instead. There's a prerelease available for download on www.mingw.org
- remove the "--target=i586-mingw32msvc" line that you use when running your ./configure script
- don't use the "gmake" hack anymore, make should be working now.
- make sure you also installed MINGW-1.1 under your msys tree (it should be located in msys/1.0/mingw)
- make sure msys/1.0/mingw/bin/make.exe isn't in the way as MSYS provides a better one. (to be sure just rename it to something like make.old)

If you want a better description of the procedure to follow, the INSTALL.win32 file has been updated in the cvs repository. (if you want you can access it through the CVSWEB interface on www.videolan.org)

Regards,

--
Gildas


Gildas,

I followed every step you and new INSTALL.win32 recommaned, get a new vlc source package, use msys1.0.7,  use new ./configure parameters, rename mingw's make.exe,  but it seemed the gcc don't work. 

the command:

./configure \
--with-gtk-config-path=/c/dev/gtk-win32/bin \
--with-sdl-config-path=/c/dev/SDL-1.2.3-win32/i386-mingw32msvc/bin \
--with-directx=/c/dev/dxheaders \
--with-dvdcss-tree=../libdvdcss-win

the result:

loading site script /etc/config.site
loading cache ./config.cache
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking build system type... i686-pc-mingw32
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create exectuables.

So please give me more advice.

Thanks 

Wenjiang

 



---------------------------------
Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20020508/df136ae6/attachment.html>


More information about the vlc mailing list