Bug 2532 - ./autogen.sh fails when LC_NUMERIC=fi_FI@euro
Summary: ./autogen.sh fails when LC_NUMERIC=fi_FI@euro
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 0.9.3
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-13 11:26 UTC by Timo Lindfors
Modified: 2005-08-22 00:14 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
proposed patch that sets LC_NUMERIC=C in autogen.sh (251 bytes, patch)
2005-02-13 11:27 UTC, Timo Lindfors
Details | Splinter Review

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.