[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
./configure --with-something fails when LANG=et_EE.UTF-8
From: |
Priit Pääsukene |
Subject: |
./configure --with-something fails when LANG=et_EE.UTF-8 |
Date: |
Tue, 28 Apr 2009 22:45:17 +0300 |
Hi,
I found a bug in autoconf and gathered the courage to report it:
Bug when compiling php 5.2.9:
:/usr/src/php-5.2.9$ export LANG=et_EE.UTF-8
:/usr/src/php-5.2.9$ ./configure --with-curl
configure: error: curl: invalid package name
buggy code part in "configure" script:
if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
{ echo "configure: error: $ac_package: invalid package name" 1>&2;
exit 1; }
fi
bug happens because "Z" isnt the final letter in estonian alphabet.
Solution: use [:alpha:] instead a-zA-z in various regular expressions.
See shell examples on http://bugs.php.net/bug.php?id=48098
Best Regards
Priit Pääsukene
- ./configure --with-something fails when LANG=et_EE.UTF-8,
Priit Pääsukene <=