[pyicu-dev] has anyone built PyICU on an AMD64 machine?

Andi Vajda vajda at osafoundation.org
Mon Nov 13 13:57:43 PST 2006


On Mon, 13 Nov 2006, McCafferty Michael wrote:

> I'm a systems administrator trying to install icu 3.4.1 and PyICU 0.5 onto 
> Linux (gentoo 2006.0 and RHEL 4) on AMD 64 hardware.
>
> I installed both icu and PyICU without incident on an Intel 32-bit server and 
> works just fine. On an AMD 64 processor, however, icu-3.4.1 installs without 
> warning onto the x86_64 machine, but PyICU fails with the following error.

I don't have access to such hardware so I've not attempted that build.

On a related note, I intend to upgrade PyICU to ICU 3.6 and add support for 
the new character set sniffing functionality available in that release in the 
near future.

Andi..

>
>
> $ make
> g++ -c -o release/bases.o -O2 -fPIC  -I/usr/local/include/python2.4 
> -I/usr/local/icu-3.4.1/include bases.cpp
> bases.cpp: In function `int t_formattable_init(t_formattable*, PyObject*, 
> PyObject*)':
> bases.cpp:1638: error: call of overloaded `Formattable(long long int&)' is 
> ambiguous
> /usr/local/include/unicode/fmtable.h:138: note: candidates are: 
> icu_3_4::Formattable::Formattable(const icu_3_4::Formattable&)
> /usr/local/include/unicode/fmtable.h:132: note: 
> icu_3_4::Formattable::Formattable(icu_3_4::UObject*) <near match>
> /usr/local/include/unicode/fmtable.h:117: note: 
> icu_3_4::Formattable::Formattable(icu_3_4::UnicodeString*) <near match>
> /usr/local/include/unicode/fmtable.h:110: note: 
> icu_3_4::Formattable::Formattable(const icu_3_4::UnicodeString&)
> /usr/local/include/unicode/fmtable.h:102: note: 
> icu_3_4::Formattable::Formattable(const char*) <near match>
> /usr/local/include/unicode/fmtable.h:93: note: 
> icu_3_4::Formattable::Formattable(int64_t)
> /usr/local/include/unicode/fmtable.h:86: note: 
> icu_3_4::Formattable::Formattable(int32_t)
> /usr/local/include/unicode/fmtable.h:79: note: 
> icu_3_4::Formattable::Formattable(double)
> make: *** [release/bases.o] Error 1
>
>
> Has anyone on this list successfully built PyICU 0.5 on x86_64 hardware? If 
> so, will you share any patches you might have had to create?
>
> Thanks in advance,
>
> Michael McCafferty
> mmccafferty at thinkfive.com
>
> _______________________________________________
> pyicu-dev mailing list
> pyicu-dev at osafoundation.org
> http://lists.osafoundation.org/cgi-bin/mailman/listinfo/pyicu-dev


More information about the pyicu-dev mailing list