[cairo] problems with autogen.sh
Owen Taylor
otaylor at redhat.com
Sun Jul 24 09:35:37 PDT 2005
On Sun, 2005-07-24 at 17:21 +0200, Martin Dobias wrote:
> Hi!
>
> I checked out cairo from CVS, tried to compile, but i've a problem: I
> have set LC_ALL="slovak" (slovak locale uses comma as decimal point).
> When I run ./autogen.sh it complains about old version of autoconf (2.54
> is needed, I have 2.59). I've found out that this problem lies in that
> setting LC_NUMERIC=C isn't enough, because LC_ALL overrides it. So when
> I run my awk (GNU Awk 3.1.3 - from my gentoo):
> echo 2.59 | LC_NUMERIC=C awk 'NR==1 { print ( $NF >= 2.54 ) }'
> - returns 0
> echo 2.59 | LC_ALL=C awk 'NR==1 { print ( $NF >= 2.54 ) }'
> - returns 1
>
> Setting LC_ALL=C in autogen.sh solves my issue. Please fix it because
> probably I'm not the only one who encounters this problem.
Sounds like a fine fix, but out of curiousity, why do you set LC_ALL
and not LANG?
Owen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050724/c19c4bb3/attachment.pgp
More information about the cairo
mailing list