<!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>Extras/contrib gettext package and VLC -- Cygwin workaround.</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT FACE="Times New Roman">I've done multiple builds of extras/contrib's gettext, and tried reinstalling gzip and tar several times.</FONT>
</P>

<P><FONT FACE="Times New Roman">No matter what, the </FONT>

<BR><FONT FACE="Times New Roman">autopoint -f  </FONT>

<BR><FONT FACE="Times New Roman">line in bootstrap, when it reaches the </FONT>

<BR><FONT FACE="Times New Roman">gzip -d -c < "$gettext_dir/archive.tar.gz" | (cd "$cvs_dir" && tar xf -)</FONT>

<BR><FONT FACE="Times New Roman">Line in autopoint , ends up generating:</FONT>
</P>

<P><FONT FACE="Times New Roman">+ autopoint -f</FONT>

<BR><FONT FACE="Times New Roman">tar: Skipping to next header</FONT>

<BR><FONT FACE="Times New Roman">tar: Archive contains obsolescent base-64 headers</FONT>
</P>

<P><FONT FACE="Times New Roman">gzip: stdin: invalid compressed data--crc error</FONT>
</P>

<P><FONT FACE="Times New Roman">gzip: stdin: invalid compressed data--length error</FONT>

<BR><FONT FACE="Times New Roman">tar: Error exit delayed from previous errors</FONT>

<BR><FONT FACE="Times New Roman">Copying file ABOUT-NLS</FONT>
</P>

<P><FONT FACE="Times New Roman">And skipping to the aclocal line of bootstrap.  It is not creating the intl directory in the trunk.</FONT>
</P>

<P><FONT FACE="Times New Roman">I tried commenting out the</FONT>

<BR><FONT FACE="Times New Roman">rm -rf "$cvs_dir" "$work_dir"</FONT>
</P>

<P><FONT FACE="Times New Roman">Line at the bottom of autopoint, and could see that the cvs_dir and work_dir are, indeed, both missing an intl directory.  Therefore, when autopoint executes the part of copying files from $work_dir/archive, there is no intl there to be copied.</FONT></P>

<P><FONT FACE="Times New Roman">As a workaround, in the extras/contrib/shared/gettext directory, I made the following mod to autopoint.  At line 417, immediately following a "fi", I added:</FONT></P>

<P><FONT FACE="Times New Roman">#MFM addition</FONT>

<BR><FONT FACE="Times New Roman">cd "archive"</FONT>

<BR><FONT FACE="Times New Roman">mkdir "intl"</FONT>

<BR><FONT FACE="Times New Roman">cd "intl"</FONT>

<BR><FONT FACE="Times New Roman">for file in `find "$gettext_dir/intl" -type f -print | sed -e "s,^$work_dir/archive/,," | LC_ALL=C sort`; do</FONT>

<BR><FONT FACE="Times New Roman">  cp "$file" .</FONT>

<BR><FONT FACE="Times New Roman">done</FONT>

<BR><FONT FACE="Times New Roman">cd ..</FONT>

<BR><FONT FACE="Times New Roman">cd ..</FONT>
</P>
<BR>

<P><FONT FACE="Times New Roman">The above is indeed ugly, hackish, it simply forces the creation of the intl directory in $work_dir, and populates it with the files, which will then be properly moved to the vlc trunk's root level.</FONT></P>

<P><FONT FACE="Times New Roman">Beats me what else to do.  Trax, at least, seems to get a clean Cygwin build, but his bootstrap output looks nothing like mine, contains multiple other output lines during the bootstrap.</FONT></P>

</BODY>
</HTML>