[tlbuild] TL'11 build schedule

Ken Brown kbrow1i at gmail.com
Tue Mar 22 13:31:06 CET 2011

On 3/22/2011 4:57 AM, Peter Breitenlohner wrote:
> On Mon, 21 Mar 2011, Ken Brown wrote:
>> The biber integration doesn't work in Cygwin because of the .exe magic
>> that Cygwin uses:
>> checking for a biber binary... bin/i386-cygwin/biber
>> [...]
>> make[3]: Entering directory `/tmp/tl2011/source/Work/utils/biber'
>> make[3]: *** No rule to make target `bin/i386-cygwin/biber', needed by
>> `all-am'. Stop.
>> The problem is that the biber binary is named biber.exe, but when
>> configure tests for bin/i386-cygwin/biber/biber, the test succeeds
>> because of the .exe magic. So BIBER_BINARY is set to the non-existent
>> file bin/i386-cygwin/biber. The following fixes it for Cygwin (and I
>> hope still does the right thing on other platforms):
>> --- utils/biber/configure.ac 2011-03-18 09:37:58.940569900 -0400
>> +++ utils/biber/configure.ac 2011-03-21 15:25:40.771040800 -0400
>> @@ -24,11 +24,9 @@
>> dnl Check if we have an executable for this platform.
>> AC_MSG_CHECKING([for a biber binary])
>> -biber_bin="bin/$TL_PLATFORM/biber"
>> +biber_bin="bin/$TL_PLATFORM/biber${ac_exeext}"
>> if test -r "$srcdir/$biber_bin"; then
>> BIBER_BINARY="$biber_bin"
>> -elif test -r "$srcdir/$biber_bin.exe"; then
>> - BIBER_BINARY="$biber_bin.exe"
>> else
>> fi
> Hi Ken,
> that's more or less what Karl originally had. But at that time the cygwin
> binary was named biber (and later renamed biber.exe). Thus I'd prefer a
> solution that works for both names. According to my tests "test -r foo"
> detects foo.exe but not vice versa. Thus testing first with and then
> without .exe should do it, e.g.:
> biber_bin="bin/$TL_PLATFORM/biber"
> if test -n "$ac_exeext" && test -r "$srcdir/$biber_bin.exe"; then
> BIBER_BINARY="$biber_bin.exe"
> elif test -r "$srcdir/$biber_bin"; then
> BIBER_BINARY="$biber_bin"
> else
> fi
> Could you please test this (with the binary named biber or biber.exe)

Hi Peter,

Yes, that works with both binary names.  By the way, the fact that the 
binary was originally named biber was a mistake.  I pointed it out to 
Philip Kime, and he changed his build script so that the name would be 
biber.exe.  Nevertheless, I agree that it's better to make the test work 
with both names.



More information about the tlbuild mailing list