Attempting to Build PUNO 0.9.0 against LibreOffice 3.4.x SDK
Adam Tauno Williams
awilliam at whitemice.org
Tue Mar 19 06:18:41 PDT 2013
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
More information about the LibreOffice
mailing list