[Mac OS X] Very close with OOo 2.0 build on Jaguar

Terry Teague <[email protected]>
Newsgroups gmane.comp.openoffice.devel.porting
Message-ID <l03130300beab5a0a4b10@[17.219.130.27]>
Dear Folks,

Over the past week or so, off and on, I have been trying to build OOo 2.0
(more specifically 1.9m97) in Mac OS X 10.2.x Jaguar.

I have had to make a few fixes, and a couple of hack workarounds for the
moment, but it finished building today.

Unfortunately the build failed while putting together the installation
(instsetoo_native), with the following error (from the
"instsetoo_native/unxmacxp.pro/OpenOffice/logging/en-US/log_SRC680_en-US.log" fi
le) :

######################################################
Registering python UNO components:
######################################################
SUCCESS: Source for types.rdb:
/Volumes/MacintoshHD/ooo_2.0/solver/680/unxmacxp.pro/bin/types.rdb
SUCCESS: Source for pyuno_services.rdb:
/Volumes/MacintoshHD/ooo_2.0/solver/680/unxmacxp.pro/bin/pyuno_services.rdb
Systemcall:
/Volumes/MacintoshHD/ooo_2.0/solver/680/unxmacxp.pro/bin/regcomp -register
-br /Volumes/MacintoshHD/ooo_2.0/solver/680/unxmacxp.pro/bin/types.rdb -br
/Volumes/MacintoshHD/ooo_2.0/solver/680/unxmacxp.pro/bin/pyuno_services.rdb
-r
/Volumes/MacintoshHD/ooo_2.0/instsetoo_native/unxmacxp.pro/OpenOffice/services.r
db/en-US_inprogress_1/services.rdb -c vnd.openoffice.pymodule:pythonscript
-l com.sun.star.loader.Python 2>&1 |
register component 'vnd.openoffice.pymodule:pythonscript' in registry
'/Volumes/MacintoshHD/ooo_2.0/instsetoo_native/unxmacxp.pro/OpenOffice/services.
rdb/en-US_inprogress_1/services.rdb' failed!
error (RuntimeException): python-loader:exceptions.ImportError: dynamic
module does not define init function (initpyuno), traceback follows
Couldn't find uno._uno_extract_printable_stacktrace
ERROR:  /Volumes/MacintoshHD/ooo_2.0/solver/680/unxmacxp.pro/bin/regcomp
-register -br
/Volumes/MacintoshHD/ooo_2.0/solver/680/unxmacxp.pro/bin/types.rdb -br
/Volumes/MacintoshHD/ooo_2.0/solver/680/unxmacxp.pro/bin/pyuno_services.rdb
-r
/Volumes/MacintoshHD/ooo_2.0/instsetoo_native/unxmacxp.pro/OpenOffice/services.r
db/en-US_inprogress_1/services.rdb -c vnd.openoffice.pymodule:pythonscript
-l com.sun.star.loader.Python 2>&1 |

Moved directory from
/Volumes/MacintoshHD/ooo_2.0/instsetoo_native/unxmacxp.pro/OpenOffice/services.r
db/en-US_inprogress_1 to
/Volumes/MacintoshHD/ooo_2.0/instsetoo_native/unxmacxp.pro/OpenOffice/services.r
db/en-US_witherror_1

Removing directory
/Volumes/MacintoshHD/ooo_2.0/instsetoo_native/unxmacxp.pro/OpenOffice/zipfiles/e
n-US

Removing directory
/Volumes/MacintoshHD/ooo_2.0/instsetoo_native/unxmacxp.pro/OpenOffice/services.r
db/en-US_witherror_1

***************************************************************
ERROR: Could not register all components!
in function: create_services_rdb
***************************************************************



I'm not a Python user, so I don't know how to debug this problem. The code
is executing Python 2.3.4 that was built in OOo (successfully).

The only thing I can think is one of the files I had to patch to compile
was "odk/source/unoapploader/unx/unoapploader.c", and I temporarily
conditionalized out the Linux specific code that used the "dlxxx" routines.

Any clues as to how I might go about debugging this problem?


Regards, Terry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.