autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug or feature in autoconf under Mandrake 8.2 + et_EE?


From: kalle volkov
Subject: Bug or feature in autoconf under Mandrake 8.2 + et_EE?
Date: Fri, 19 Jul 2002 09:31:01 +0300

Hi!

Since I'm not so good in patching code, or finding relevant part of
code, I can't submit a patch, but maybe someone else can. Sorry.

Well, it's related to my latest effort on installing Apache+PHP from
source code on Mandrake 8.2 which uses Estonian locale. It failed. I
then backtraced the problem (well, it took couple of hours), and found,
that the problem is in configure script, in the part, where opt args are
parsed with sed. To be excact, when i started "./configure
--prefix=/home/www" in Apache src dir, the opt "--prefix=/home/www" did
not transform into "/home/www", but to "--prefix/home/www", and so on
:-(

OK, some backtracing, logical thinking, and I found a temporary
solution, changing locale to English. Everything worked fine. Back to
Estonian, and it failed again.

After examining configure script, I found regex in sed, which CAN'T work
("sed 's/[-_a-zA-Z0-9]*=//'") under et_EE locale, becouse alphabet
doesn't end with "z".

Here is a small example:
---
$ cat /etc/sysconfig/i18n 
SYSFONT=lat0-16
LC_CTYPE=en
LC_MONETARY=en
LANGUAGE=en
LC_TIME=en
LC_NUMERIC=en
LC_COLLATE=en
LC_MESSAGES=en
LANG=en
SYSFONTACM=iso15

$ echo --prefix=/home/www | sed 's/[-_a-zA-Z0-9]*=//'
/home/www

===============

$ cat /etc/sysconfig/i18n 
SYSFONT=lat0-16
LC_CTYPE=et
LC_MONETARY=et
LANGUAGE=et
LC_TIME=et
LC_NUMERIC=et
LC_COLLATE=et
LC_MESSAGES=et
LANG=et
SYSFONTACM=iso15

$ echo --prefix=/home/www | sed 's/[-_a-zA-Z0-9]*=//'
--prefix/home/www
---

Obvious.

Reported the bug to Apache and PHP developers, they both said, that it's
a autoconf problem, not their.

Hope I was some help, and the text wasn't off-topic.

Best wishes and blue skies,
cal6

-- 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM d-(---)/dpu s+:- a- C+++$ UL+++$ P+ L+++$ E--- W+++$ N+ w+(--) 
M- PS+ Y+(-) t+(++) 5+++ X-- tv b++(+++) DI+++ D++ G e* h-- r++ 
y++++ 
------END GEEK CODE BLOCK------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]