artemp/tickets2issues — Issue #226: ICU_INCLUDE and ICU_LIBS search path is not working
Author: artemp
Created: 2011-10-11 15:03:38+00:00
State: open
Labels: Scons_Build_Scripts

When testing the Scons build on a fresh install of Mac OS 10.5, I noticed that after installing icu with macports Scons was still unable to find the header or shared library. I confirmed the g++ was installed correctly.

Clearly there is a problem since setting:
{{{
ICU_INCLUDES=/opt/local/include ICU_LIBS=/opt/local/lib
}}}

made no difference and still prompted:
{{{
Checking for C++ library icuuc... no
Could not find header or shared library for icuuc, exiting!
}}}

while icu _was_ properly found if the LIBS and INCLUDES of a C library was set with the same path at ICU. For example even though PNG Libs are not available in `/opt/local' setting:
{{{
PNG_LIBS=/opt/local/lib PNG_INCLUDES=/opt/local/include
}}}
... allowed icuuc to be found.