On Fri, 2010-10-22 at 15:03 +0200, Thomas Klausner wrote:

> error (CannotRegisterImplementationException): loading component library 
> failed: ./pythonloader.uno.so
> dmake:  Error code 1, while making '../../unxbsdx3.pro/lib/pyuno_services.rdb'
> 
> I don't know what it's doing here or why it fails -- verbose=1 doesn't
> tell me more.

Here's where porting gets hard unfortunately. 

This is just a generic error, and from an exception. What might help you
out there is find exactly where the exceptions is being thrown and see
what the exact error is at the throw point. Which might be rather
painful with exceptions being caught, and something else thrown instead.

e.g. adding the attached patch
and export GDBREGCOMPTRACE=1
you get the picture, even if I've typos etc in this.

The other (horror possibility) is that your uno bridge isn't working at
all. Running the basic part of the uno bridge test might be already
possible for you if you try...

cd testtools/source/bridgetest
dmake

C.
--- solenv/inc/settings.mk.orig	2010-10-22 14:39:32.000000000 +0100
+++ solenv/inc/settings.mk	2010-10-22 14:41:16.000000000 +0100
@@ -1048,19 +1048,24 @@
 # allow seperate handling
 EXTMAXPROCESS*=$(MAXPROCESS)
 
+
+GDBTRACE=gdb --command=$(SOLARENV)/bin/gdbtrycatchtrace --args
+.IF "$(DEBUGCPPUNIT)" != ""
+GDBCPPUNITTRACE=$(GDBTRACE)
+.ENDIF
+.IF "$(GDBREGCOMPTRACE)" != ""
+GDBCPPUNITTRACE=$(GDBTRACE)
+.ENDIF
+
 IDLC*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/idlc
 REGMERGE*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/regmerge
 REGCOMPARE*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/regcompare
-REGCOMP*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/regcomp
+REGCOMP*=$(AUGMENT_LIBRARY_PATH) $(GDBREGCOMPTRACE) $(SOLARBINDIR)/regcomp
 CPPUMAKER*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/cppumaker
 JAVAMAKER*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/javamaker
 RDBMAKER*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/rdbmaker
 CLIMAKER*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/climaker
 
-.IF "$(DEBUGCPPUNIT)" != ""
-GDBCPPUNITTRACE=gdb --command=$(SOLARENV)/bin/gdbtrycatchtrace --args
-.ENDIF
-
 CPPUNITTESTER=$(AUGMENT_LIBRARY_PATH_LOCAL) $(GDBCPPUNITTRACE) $(SOLARBINDIR)/cppunittester
 HELPEX=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/helpex
 LNGCONVEX=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/lngconvex
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to