Bug 2532

Summary: ./autogen.sh fails when LC_NUMERIC=fi_FI@euro
Product: cairo Reporter: Timo Lindfors <timo.lindfors>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high CC: jwatt
Version: 0.9.3   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: proposed patch that sets LC_NUMERIC=C in autogen.sh

Description Timo Lindfors 2005-02-13 11:26:55 UTC
Building cairo from cvs with

cvs -d :pserver:anoncvs@cvs.cairographics.org:/cvs/cairo co cairo
cd cairo
./autogen.sh

fails with

./autogen.sh: ERROR: `autoconf' is too old.
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
           (version 2.54 or newer is required)


if LC_NUMERIC is set to "fi_FI@euro". I initially reported this as an awk bug
at https://bugzilla.redhat.com/beta/show_bug.cgi?id=147746 but I was pointed out
that it is actully a feature of localization :=)

I suggest the following patch:

--- autogen.sh.orig     2005-02-13 21:25:21.872537432 +0200
+++ autogen.sh  2005-02-13 21:25:31.068514486 +0200
@@ -22,6 +22,7 @@

 # The awk-based string->number conversion we use needs a C locale to work as
expected.
 LANG=C
+LC_NUMERIC=C

 ARGV0=$0
Comment 1 Timo Lindfors 2005-02-13 11:27:31 UTC
Created attachment 1894 [details] [review]
proposed patch that sets LC_NUMERIC=C in autogen.sh
Comment 2 Carl Worth 2005-02-13 12:01:30 UTC
Thanks. Committed.
Comment 3 Carl Worth 2005-08-22 17:14:14 UTC
Move bugs against "cvs" version to "0.9.3" so we can remove the "cvs" version.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.