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



Attempting to build PUNO 0.9.0 (PHP connector for UNO) with the
LibreOffice 3.4.x SDK,  over from the OpenOffice 3.2 SDK.  Theoretically
it supports the 3.4.x SDK.  I know I have had linker drama in the past
with building this... but I can't find my &@^$&*@@( notes.  Drats!

Anwyay, tips, hinds, suggestions...

# . /usr/lib64/libreoffice/basis3.4/sdk/setsdkenv_unix.sh
# make distclean
# export OO_PROGRAM_OFFAPI_RDB_PATH=
$OFFICE_HOME/basis3.4/program/offapi.rdb
# export OO_URE_TYPES_RDB_PATH=$OO_SDK_URE_HOME/share/misc/types.rdb
# phpize
# ./configure --with-puno=$OO_SDK_HOME
...
checking for OpenOffice.org support... yes, shared
checking for OpenOffice.org URE
types.rdb ... /usr/lib64/libreoffice/ure/share/misc/types.rdb
checking for OpenOffice.org PROGRAM
offapi.rdb ... /usr/lib64/libreoffice/basis3.4/program/offapi.rdb
...
# ls -l /usr/lib64/libreoffice/basis3.4/program/offapi.rdb
-rw-r--r--. 1 root root 6698496 Aug  1
2012 /usr/lib64/libreoffice/basis3.4/program/offapi.rdb
# ls -l /usr/lib64/libreoffice/ure/share/misc/types.rdb
-rw-r--r--. 1 root root 831488 Aug  1
2012 /usr/lib64/libreoffice/ure/share/misc/types.rdb
# cd $OO_SDK_URE_HOME/lib
# for i in $(ls *.so?* ); do ln -s $i `echo $i | cut -f1 -d.`.so; done 
# cd /tmp/PUNO
# make cppumaker
mkdir -p /tmp/PUNO/modules
rm -f /tmp/PUNO/modules/types.rdb
"/usr/lib64/libreoffice/ure/bin/regmerge" /tmp/PUNO/modules/types.rdb /
"/usr/lib64/libreoffice/ure/share/misc/types.rdb"
"/usr/lib64/libreoffice/basis3.4/program/offapi.rdb" 
mkdir -p /tmp/PUNO/.libs/puno_automatic_generated/misc
rm
-f /tmp/PUNO/.libs/puno_automatic_generated/misc/cpp_types_prepare_env.flag
--------------------------------------------------------------------------------
Register necessary runtime components in the types.rdb
--------------------------------------------------------------------------------
"/usr/lib64/libreoffice/ure/bin/regcomp" -register
-r /tmp/PUNO/modules/types.rdb -c connector.uno.so
connector.uno.so
register component 'connector.uno.so' in registry
'/tmp/PUNO/modules/types.rdb' failed!
error (CannotRegisterImplementationException): connector.uno.so: cannot
get symbol: component_writeInfo
make: ***
[/tmp/PUNO/.libs/puno_automatic_generated/misc/cpp_types_prepare_env.flag] Error 1



-- 
Adam Tauno Williams  GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA


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.