libicudata in non-standard directory linking issues.
Jonathan Adams
t12nslookup at gmail.com
Thu Jun 21 07:54:41 PDT 2012
umm ... it's 14Mb worth of patch ... oh, I've compiled 4.0.1 (i wonder
how I got to that version ...) ... downloading and working through
49.1.2 ...
compiled ...
running a "check" ...
[All tests passed successfully...]
Elapsed Time: 00:00:24.619
Ok, applying to the in-tree icu ... not quite the same icu ... ok
copying the intree, making the changes, makefile.mk modified to use
the solaris patch ...
compiled successfully ... apart from these errors:
gmake[2]: Leaving directory
`/home/sal/LibreOffice/libo/icu/unxsogi/misc/build/icu/source'
cp: cannot stat
`./unxsogi/misc/build/icu/source/lib/libicudata.so.4.0.1': No such
file or directory
cp: cannot stat `./unxsogi/misc/build/icu/source/lib/libicudata.so.4':
No such file or directory
cp: cannot stat
`./unxsogi/misc/build/icu/source/lib/libicuuc.so.4.0.1': No such file
or directory
cp: cannot stat `./unxsogi/misc/build/icu/source/lib/libicuuc.so.4':
No such file or directory
cp: cannot stat
`./unxsogi/misc/build/icu/source/lib/libicui18n.so.4.0.1': No such
file or directory
cp: cannot stat `./unxsogi/misc/build/icu/source/lib/libicui18n.so.4':
No such file or directory
cp: cannot stat
`./unxsogi/misc/build/icu/source/lib/libicule.so.4.0.1': No such file
or directory
cp: cannot stat `./unxsogi/misc/build/icu/source/lib/libicule.so.4':
No such file or directory
cp: cannot stat
`./unxsogi/misc/build/icu/source/lib/libicutu.so.4.0.1': No such file
or directory
cp: cannot stat `./unxsogi/misc/build/icu/source/lib/libicutu.so.4':
No such file or directory
dmake: Error code 1, while making './unxsogi/misc/build/so_predeliver_so_icu'
diff attached ...
Jon
On 21 June 2012 13:51, Michael Stahl <mstahl at redhat.com> wrote:
> On 20/06/12 00:15, Jonathan Adams wrote:
>> to get icu working on Openindiana/Illumos/Solaris ...
>>
>> http://bugs.icu-project.org/trac/ticket/9390
>>
>> I downloaded the very latest icu4c from icu-project and then worked
>> through the source till I compiled it ... :)
>>
>> I put a patch on their bug system to get it to compile on Solaris ...
>> although someone would need to check if that actually fixed it for
>> other platforms.
>
> can you try to add this patch to the internal ICU build?
>
> i.e. something like
>
> diff -ur misc/build/icu-unpatched/ misc/build/icu/ > solarisgcc.patch
>
> then add that patch in icu/makefile.mk to the PATCH_FILES variable.
>
> that would allow you to use the internal ICU.
>
>> I do set PATH and LD_LIBRARY_PATH before autogen/configure/gmake ...
>> this specific batch of commands is especially annoying because it
>> overrides the default LD_LIBRARY_PATH, rather than setting
>> 'LD_LIBRARY_PATH="$O/lib:$LD_LIBRARY_PATH"' or similar.
>
> yes that is kind of sub-optimal, but if LO can't use the library on the
> system then eventually we'll need to build our bundled one so we can put
> it into the installation set anyway...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icu4c-solarisgcc.patch
Type: application/octet-stream
Size: 2937 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120621/6c272ed6/attachment.obj>
More information about the LibreOffice
mailing list