Skip to content
This repository has been archived by the owner on Nov 25, 2019. It is now read-only.

Error installing aardtools on Ubuntu 11.10 #14

Closed
pyroshroom opened this issue Dec 27, 2011 · 5 comments
Closed

Error installing aardtools on Ubuntu 11.10 #14

pyroshroom opened this issue Dec 27, 2011 · 5 comments

Comments

@pyroshroom
Copy link

Everything goes smoothly following the examples on the website until the step where you have to install aard-tools with "pip install aardtools" where you get this error:

layoutengine.cpp: In function ‘void _init_layoutengine(PyObject*)’:

layoutengine.cpp:551:5: error: ‘kTypoFlagKern’ is not a member of ‘icu_44::LayoutEngine’

layoutengine.cpp:552:5: error: ‘kTypoFlagLiga’ is not a member of ‘icu_44::LayoutEngine’

error: command 'gcc' failed with exit status 1


Command /home/user/env-aard/bin/python -c "import setuptools;file='/home/user/env-aard/build/PyICU/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-4wWS0O-record/install-record.txt --install-headers /home/user/env-aard/include/site/python2.7 failed with error code 1

Any advice on what could be going wrong with the installation?

@itkach
Copy link
Member

itkach commented Dec 27, 2011

Looks like latest PyICU (1.3) no longer compiles with ICU 4.4 Earlier versions work fine though. Install PyICU 1.2 first and then aardtools:

 pip install PyICU==1.2
 pip install aardtools

@pyroshroom
Copy link
Author

Yup, that fixed it, aardtools installed properly, thanks!

@galaxor
Copy link

galaxor commented Mar 15, 2012

That didn't work for me, but I was able to get aardtools installed by installing ubuntu's pyicu:


Apparently, this installs version "1.1.1ubuntu", so maybe something like pip install PyICU==1.1.1 would work.

@arnlaugsson
Copy link

pip install PyICU==1.2

Worked for me as well!

@alexeicolin
Copy link

Filed a report upstream: https://bugzilla.osafoundation.org/show_bug.cgi?id=13074

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants