<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>Gettext and Cygwin and VLC</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT FACE="Times New Roman">Hi --</FONT>
<BR><FONT FACE="Times New Roman">My overall environment is WinXP, Cygwin, gcc 3.4.4, automake 1.9.6, autoconf 2.59, GNU make 3.80</FONT>
</P>
<P><FONT FACE="Times New Roman">I've finally got a clean build of extras/contrib, stripped out all of the compiler path-related flags, the --with-blah = usr/win32 stuff. From the bootstrap and configure.</FONT></P>
<P><FONT FACE="Times New Roman">Unfortunately, under Cygwin the Cygwin environment insists on looking for its own version of gettext packages. If you've done a recent Cygwin installation it forces to </FONT></P>
<P><FONT FACE="Times New Roman"> gettext (GNU gettext-runtime) 0.14.5</FONT>
<BR><FONT FACE="Times New Roman">For whatever reason, the above version of gettext just plain doesn't work with the VLC build process. It's a real bear to get Cygwin to install the earlier 0.14.1 version, which does build with VLC.</FONT></P>
<P><FONT FACE="Times New Roman">(The error that occurs if you allow Cygwin to use its 14.5 version of gettext is that it doesn't create the intl directory under the trunk -- I have no clue why. I get:</FONT></P>
<P><FONT FACE="Times New Roman"> configure.ac:5344: required file `intl/Makefile.in' not found</FONT>
<BR><FONT FACE="Times New Roman">And then </FONT>
<BR><FONT FACE="Times New Roman"> make: *** [Makefile.in] Error 1)</FONT>
</P>
<P><FONT FACE="Times New Roman">Anyhow, the VLC extras/contrib does include building gettext. When I checked I see that what it is building is supposed to indeed be 14.5 (./gettext.exe --version)</FONT></P>
<P><FONT FACE="Times New Roman">Either:</FONT>
<BR><FONT FACE="Times New Roman">1) gettext 14.5 just plain doesn't play nice, at least on Cygwin, whether using the Cygwin-distributed 14.5 or VLC's locally built version</FONT></P>
<P><FONT FACE="Times New Roman">or</FONT>
<BR><FONT FACE="Times New Roman">2) VLC has some kind of patch to gettext, so that it will then generate the intl directory under the trunk, in which case perhaps there needs to be a --with-gettext-path flag to force Cygwin to use the extras/contrib version of gettext </FONT></P>
<P><FONT FACE="Times New Roman">(not allowing users to have gettext in their cygwin environment overall is an invalid choice -- it is, after all, used for many things, not just VLC)</FONT></P>
<P><FONT FACE="Times New Roman">I don't have an answer on this -- I'm going to try to reinstall Cygwin's gettext version 0.14.1, see if things will work.</FONT></P>
<BR>
</BODY>
</HTML>