Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi Jonathan,

On Tuesday, 2012-06-19 17:55:09 +0100, Jonathan Adams wrote:

Having had trouble getting icu compiled on Solaris with GCC, I
compiled it out of tree and placed it in /opt/icu on my computer (I
want to know what specifically needs to attach to non-standard
libraries on my system for portability)

We'd like to learn how you solved your problems compiling ICU and why it
didn't compile in-tree :)
Btw, on current master and 3-6 we switched to ICU 49, maybe that solves
your problem already?

however I noticed that although LibreOffice is happy to know it exists
it seems to go out of it's way not to try and include it in any paths
(LD_LIBRARY or CFLAGS).

whilst I can hack config_host.mk to make sure that it includes
"-I/opt/icu/include" and set my LD_LIBRARY_PATH so that it includes
the /opt/icu/lib, I have an issue with compiling tail_build on certain
modules because they redefine the LD)LIBRARY_PATH:

This sounds actually like a mix of --with-system-icu but without icu
being a system library, i.e. not registered with ldconfig. Quite
a corner case I'd say..

Despite that, for your scenario those places would indeed have to
augment and extend LD_LIBRARY_PATH instead of replacing it.

can anyone tell me where this is defined in the source code, and how
to tell it to go away, or how to tell the system to include the ICU
path given to it via icu-config?

Detection source is in configure.in ICU* variables, icu-config is used
there to obtain the system's path. The gencoll_rule calls during build
you mentioned are emitted through gb_Helper_execute somewhere in
solenv/gbuild/*, it's the $(call gb_Helper_execute,gencoll_rule) in
i18npool/CustomTarget_collator.mk

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

Attachment: pgpAunCJZ0GId.pgp
Description: PGP signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.