adjohu / puno

PHP PUNO updated for PHP 5.5
4 stars 5 forks source link

Attempting to build on CentOS 6.7 #1

Open whitemice opened 8 years ago

whitemice commented 8 years ago

If I run the failed command 'manually', the repmerge, it appears to exit without an error.

[deploy@yannigan-beige puno]# . /usr/lib64/libreoffice/sdk/setsdkenv_unix.sh
 ************************************************************************
 * SDK environment is prepared for Linux
 * SDK = /usr/lib64/libreoffice/sdk
 * Office = /usr/lib64/libreoffice
 * URE = /usr/lib64/libreoffice/ure
 * Make = /usr/bin
 * Zip = /usr/bin
 * cat = @OO_SDK_CAT_HOME@
 * sed = @OO_SDK_SED_HOME@
 * C++ Compiler = /usr/bin
 * Java = 
 * SDK Output directory = /deploy/sdk
 * Auto deployment = NO
 ************************************************************************
[deploy@yannigan-beige puno]# make distclean
[deploy@yannigan-beige puno]# phpize
[deploy@yannigan-beige puno]# export OO_PROGRAM_OFFAPI_RDB_PATH=/usr/lib64/libreoffice/program/types/offapi.rdb
[deploy@yannigan-beige puno]# ./configure --with-puno=/usr/lib64/libreoffice/sdk
[deploy@yannigan-beige puno]# make
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/program/types/offapi.rdb" 
make: *** [/tmp/puno/modules/types.rdb] Error 254
whitemice commented 8 years ago

performing the command manually and going back to running make gets to a unknown-BUCR

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//program/types/offapi.rdb" 
make: *** [/tmp/puno/modules/types.rdb] Error 254
[root@yannigan-beige puno]# ls -l /usr/lib64/libreoffice//ure/bin/regmerge
-rwxr-xr-x 1 root root 16568 Dec 14 17:10 /usr/lib64/libreoffice//ure/bin/regmerge
[root@yannigan-beige puno]# "/usr/lib64/libreoffice//ure/bin/regmerge" /tmp/puno/modules/types.rdb / "/usr/lib64/libreoffice//ure/share/misc/types.rdb" "/usr/lib64/libreoffice//program/types/offapi.rdb" 
[root@yannigan-beige puno]# 
[root@yannigan-beige puno]# make
mkdir -p /tmp/puno/.libs/puno_automatic_generated/misc
rm -f /tmp/puno/.libs/puno_automatic_generated/misc/cpp_types_prepare_env.flag
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Generating C++ representations for idl types.
THIS MAY TAKE A WHILE!!
--------------------------------------------------------------------------------
mkdir -p .
rm -f /tmp/puno/.libs/puno_automatic_generated/misc/cpp_types_types.flag
"/usr/lib64/libreoffice/sdk/bin/cppumaker" -Gc -BUCR -O/tmp/puno/.libs/puno_automatic_generated/inc/types    "/usr/lib64/libreoffice//ure/share/misc/types.rdb" "/usr/lib64/libreoffice//program/types/offapi.rdb"
Illegal option the option is unknown-BUCR
make: *** [cppumaker] Error 1
whitemice commented 8 years ago

Reducing the options to -C make is run

"/usr/lib64/libreoffice/sdk/bin/cppumaker" -C -Gc  -O/tmp/puno/.libs/puno_automatic_generated/inc/types    "/usr/lib64/libreoffice//ure/share/misc/types.rdb" "/usr/lib64/libreoffice//program/types/offapi.rdb"

... however ...

In file included from /tmp/puno/puno.cpp:20:
/tmp/puno/puno_class.cpp: In function ‘int puno_class_call_method(const char*, int, zval*, zval**, zval*, int)’:
/tmp/puno/puno_class.cpp:80: warning: ‘void php_set_error_handling(zend_error_handling_t, zend_class_entry*)’ is deprecated (declared at /usr/include/php/main/php.h:296)
/tmp/puno/puno_class.cpp:80: warning: ‘void php_set_error_handling(zend_error_handling_t, zend_class_entry*)’ is deprecated (declared at /usr/include/php/main/php.h:296)
/tmp/puno/puno_class.cpp:81: warning: ‘void php_set_error_handling(zend_error_handling_t, zend_class_entry*)’ is deprecated (declared at /usr/include/php/main/php.h:296)
/tmp/puno/puno_class.cpp:81: warning: ‘void php_set_error_handling(zend_error_handling_t, zend_class_entry*)’ is deprecated (declared at /usr/include/php/main/php.h:296)
In file included from /tmp/puno/puno.cpp:21:
/tmp/puno/puno_converters.cpp: In function ‘zval* create_zval_from_any(com::sun::star::uno::Any)’:
/tmp/puno/puno_converters.cpp:145: warning: ‘virtual com::sun::star::uno::Reference<com::sun::star::uno::XInterface> com::sun::star::lang::XSingleServiceFactory::createInstanceWithArguments(const com::sun::star::uno::Sequence<com::sun::star::uno::Any>&)’ is deprecated (declared at /tmp/puno/.libs/puno_automatic_generated/inc/types/com/sun/star/lang/XSingleServiceFactory.hdl:26)
In file included from /tmp/puno/puno.cpp:22:
/tmp/puno/puno_functions.cpp: In function ‘void zif_get_remote_xcomponent(int, zval*, zval**, zval*, int)’:
/tmp/puno/puno_functions.cpp:117: error: ‘createSimpleRegistry’ is not a member of ‘cppu’
/tmp/puno/puno_functions.cpp:145: error: ‘bootstrap_InitialComponentContext’ is not a member of ‘cppu’
/tmp/puno/puno_functions.cpp:245: warning: ‘virtual com::sun::star::uno::Reference<com::sun::star::uno::XInterface> com::sun::star::lang::XSingleServiceFactory::createInstanceWithArguments(const com::sun::star::uno::Sequence<com::sun::star::uno::Any>&)’ is deprecated (declared at /tmp/puno/.libs/puno_automatic_generated/inc/types/com/sun/star/lang/XSingleServiceFactory.hdl:26)
make: *** [puno.lo] Error 1