Commit ae7fcb30 authored by Andi Vajda's avatar Andi Vajda
Browse files

mentioned pkg-config with examples

parent 568f892c
......@@ -80,10 +80,14 @@ to each system's instructions for more information.
PyICU is built with distutils or setuptools:
- verify that the icu-config program is available or that the ``INCLUDES``,
``LFLAGS``, ``CFLAGS`` and ``LIBRARIES`` dictionaries in ``setup.py``
contain correct values for your platform. Starting with ICU 60, -std=c++11
must appear in your CFLAGS.
- verify that ``pkg-config`` is available (the ``icu-config`` program is
[deprecated](http://userguide.icu-project.org/howtouseicu#TOC-C-Makefiles)
as of ICU 63.1): ``pkg-config --cflags --libs icu-i18n``
If this commands returns an error or doesn't return the paths expected
then ensure that the ``INCLUDES``, ``LFLAGS``, ``CFLAGS`` and ``LIBRARIES``
dictionaries in ``setup.py`` contain correct values for your platform.
Starting with ICU 60, -std=c++11 must appear in your CFLAGS or be the
default for your C++ compiler.
- ``python setup.py build``
- ``sudo python setup.py install``
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment