build problem: missing icu/common/unicode/ headers
Created by: conjugateprior
Just compiled and installed the most recent ICU (58 http://site.icu-project.org/download/58) on a Centos 5 machine and tried to compile the PyICU 1.9.3 from https://pypi.python.org/pypi/PyICU/ and also the master from GitHub. Same error for both:
[iccdb@web80 pyicu-master]$ python setup.py build running build running build_py creating build creating build/lib.linux-i686-2.7 copying icu.py -> build/lib.linux-i686-2.7 copying PyICU.py -> build/lib.linux-i686-2.7 copying docs.py -> build/lib.linux-i686-2.7 running build_ext building '_icu' extension creating build/temp.linux-i686-2.7 gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.7 -c _icu.cpp -o build/temp.linux-i686-2.7/_icu.o -DPYICU_VER="1.9.3" cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ In file included from _icu.cpp:27: common.h:102:28: error: unicode/udatpg.h: No such file or directory common.h:103:30: error: unicode/dtptngen.h: No such file or directory error: command 'gcc' failed with exit status 1
udatpg.h
and dtptngen.h
are in i18n/unicode/
down in the icu source, but they don't seem to make it into the make install
ed include directory (below)
For reference, this is python 2.7.12, with a local icu stuff in /home/me/lib
and /home/me/include
, which also went into the setup.py
.
Is there perhaps a less recent ICU that is known to work better?