[dev] Off the records (Ubuntu's LO) ... (Re: Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2011-05-31 Thread rony
Hi there,

totally off the records for this list, but maybe nevertheless
interesting/amusing: Ubuntu 11.04 replaced OOo with LibreOffice (LO).
Whatever they did, they probably did what they did with their OOo
installation in the past with the effect that using the Java interface
from the command line does not work (using their unoinfo-output for Java) !

Instead one needs to deinstall LO, remove ~/.libreoffice in home, get
the official LO distribution and install it, then things start to work
as was the case in the past with OOo.

Unbelievable !

---rony

P.S.: Maybe the Ubuntu people do not realize their problem back with OOo
and now with LO, when using Java from outside of OOo/LO.


-- 
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-25 Thread rony
Retrying...

On 24.08.2010 11:54, rony wrote:
 Hi René,

 On 24.08.2010 10:38, Rene Engelhard wrote:
   
 rony, OK please try

 $ cd /usr/lib/ure/share/java
 $ ln -f ../../../../share/java/openoffice/jurt.jar jurt.jar
   
 
 Yup, that makes it work !

 ---rony

   

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-25 Thread rony
Hi René,

On 24.08.2010 10:38, Rene Engelhard wrote:

 rony, OK please try

 $ cd /usr/lib/ure/share/java
 $ ln -f ../../../../share/java/openoffice/jurt.jar jurt.jar
   
Yup, that makes it work !

---rony


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-24 Thread Stephan Bergmann

On 08/23/10 14:09, Rene Engelhard wrote:

On Mon, Aug 23, 2010 at 11:42:22AM +0200, Michael Stahl wrote:

i think i remember this error... it is caused by not finding some URE
dynamic libraries, like libjpipe.so.
the Java UNO bridge apparently uses native code via JNI for some things.


Then that is a bug in the bridge or the extension itself IMHO ...


on a Ubuntu box here the libraries seems to be in /usr/lib/ure/lib/libjpipe.so

so try adding /usr/lib/ure/lib/ to CLASSPATH, see if that helps.


.. because ure-link is exactly what points to that /usr/lib/ure thing.
Anything which assumes that the ure is inside the OOo dir is wrong;
the only valid assumption is that *ure-link* is. That's how the three-layewr
OOo interface was defined.


The static 
NativeLibraryLoader.loadLibrary(PipeConnection.class.getClassLoader(), 
jpipe); in class com.sun.star.lib.connections.pip.PipeConnection 
within jurt.jar effectively depends on finding a jpipe dynamic library 
(libjpipe.so on Linux) through the Class-Path in the jurt.jar 
META-INF/MANIFEST.MF, ridl.jar unoloader.jar ../../lib/ ../bin/.


This works in standard OOo installations, where the jpipe dynamic 
library is found relative to jurt.jar within the URE installation either 
in ../../lib (Unix) or ../bin (Windows).


This fails if you either use a jurt.jar copied elsewhere, or the given 
OOo installation does not preserve the above requirement.


-Stephan

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-24 Thread Rene Engelhard
Hi,

On Tue, Aug 24, 2010 at 08:50:13AM +0200, Stephan Bergmann wrote:
 The static  
 NativeLibraryLoader.loadLibrary(PipeConnection.class.getClassLoader(),  
 jpipe); in class com.sun.star.lib.connections.pip.PipeConnection  
 within jurt.jar effectively depends on finding a jpipe dynamic library  
 (libjpipe.so on Linux) through the Class-Path in the jurt.jar  
 META-INF/MANIFEST.MF, ridl.jar unoloader.jar ../../lib/ ../bin/.

Ah, OK.

 This works in standard OOo installations, where the jpipe dynamic  
 library is found relative to jurt.jar within the URE installation either  
 in ../../lib (Unix) or ../bin (Windows).

 This fails if you either use a jurt.jar copied elsewhere, or the given  
 OOo installation does not preserve the above requirement.

r...@frodo:~$ cd /usr/lib/ure/share/java/
r...@frodo:/usr/lib/ure/share/java$ ls -l ../../lib/libj
libjava_unolibjuh.so  libjvmfwk.so.3
libjava_uno.so libjuhx.so 
libjpipe.solibjvmaccessgcc3.so.3  
r...@frodo:/usr/lib/ure/share/java$ ls -l ../../lib/libjpipe.so 
-rw-r--r-- 1 root root 9280 23. Aug 21:19 ../../lib/libjpipe.so

But:

r...@frodo:/usr/lib/ure/share/java$ ls -l jurt.jar 
lrwxrwxrwx 1 root root 31 23. Aug 21:58 jurt.jar - 
../../../../share/java/jurt.jar

So the symlink is the problem? Grmpf.

Why can't you for one time just handle symlinks correctly

Grüße/Regards,

René

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-24 Thread Rene Engelhard
Hi,

On Tue, Aug 24, 2010 at 08:50:13AM +0200, Stephan Bergmann wrote:
 This works in standard OOo installations, where the jpipe dynamic  
 library is found relative to jurt.jar within the URE installation either  
 in ../../lib (Unix) or ../bin (Windows).

 This fails if you either use a jurt.jar copied elsewhere, or the given  
 OOo installation does not preserve the above requirement.

rony, OK please try

$ cd /usr/lib/ure/share/java
$ ln -f ../../../../share/java/openoffice/jurt.jar jurt.jar

(my paste in the last mail is from 3.3 packages where I cleaned up the paths
a bit and got rid of openoffice/ as mandated by the Debian Java policy)

Looks I need to use a hardlink here in the package... :(
(But the underlying problem still should be fixed. Symlinks should work..)

Grüße/Regards,

René

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-24 Thread Rene Engelhard
On Tue, Aug 24, 2010 at 10:26:58AM +0200, Rene Engelhard wrote:
 Hi,
 
 On Tue, Aug 24, 2010 at 08:50:13AM +0200, Stephan Bergmann wrote:
  The static  
  NativeLibraryLoader.loadLibrary(PipeConnection.class.getClassLoader(),  
  jpipe); in class com.sun.star.lib.connections.pip.PipeConnection  
  within jurt.jar effectively depends on finding a jpipe dynamic library  
  (libjpipe.so on Linux) through the Class-Path in the jurt.jar  
  META-INF/MANIFEST.MF, ridl.jar unoloader.jar ../../lib/ ../bin/.
 
 Ah, OK.
[...]
 So the symlink is the problem? Grmpf.
 
 Why can't you for one time just handle symlinks correctly

Hmm. Or I just fix the Class-Path: there.
Stephan, can I just put a /usr/lib/ure/lib there (in addition to ../../lib/)
or will there be other stuff still not working then?

Grüße/Regards,

René

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-24 Thread rony
Hi René, hi Michael,

just managed to re-install the Ubuntu version of OOo.

Out of the box the reported error occurs.

Then, following Michael's advice and adding  /usr/lib/ure/lib/ to
CLASSPATH resolved the problem and OOo can be addressed via Java from
the commandline  !

So there is at least a problem in the Ubuntu distribution with the setup
somewhere.

Regards,

---rony



On 23.08.2010 11:42, Michael Stahl wrote:
 On 21/08/2010 23:57, rony wrote:
   
 Hi René,

 sorry that it took a while to get back, but I got totally carried away
 changing/enhancing the installation scripts and had to get everything
 into sync again, before coming back to check out and analyze the problem
 with the Ubuntu distribution.

 Here's to what boils it down:

 * Using latest 64-bit Ubuntu, having everything updated to today,
 * Running an ooRexx script which uses the OOo/UNO Java bridge to
   interact with OOo, yielding the following error:

 40 *-* xContext = UNO.connect() -- connect to server and
 retrieve the XContext object
 REX0040E: Error 40 running /usr/bin/UNO.CLS line 1804:  Incorrect
 call to routine
 REX0634E: Error 40.900:  BSF4ooRexx/routine/BSF(), error 3: Java
 exception occurred: [org.apache.bsf.BSFException: /// Java-exception
 (RexxAndJava) occurred:
 [java.lang.reflect.InvocationTargetException], g*etCause():
 [java.lang.UnsatisfiedLinkError:
 
 com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I*]
 
 i think i remember this error... it is caused by not finding some URE
 dynamic libraries, like libjpipe.so.
 the Java UNO bridge apparently uses native code via JNI for some things.

   
 \\\?BSF4ooRexx subfunction invoke: object
 'java.lang.cl...@593d93f4' - method [FINDINTERFACEWITHMEMBER],
 method not found or error (exception) executing method!]

 Uninstalling the Ubuntu OOo and instead installing the genuine OOo,
 downloaed from http://OpenOffice.org/download, installing it and running
 the very same program works without an error!

 In the case it matters, here is the CLASSPATH setting for the Ubuntu OOo:

 
 /opt/BSF4ooRexx/bsf-v400-20090910.jar:/opt/BSF4ooRexx/bsf-rexx-engine.jar:.::/usr/lib/openoffice/program/../basis-link/ure-link/share/java/ridl.jar:/usr/lib/openoffice/program/../basis-link/ure-link/share/java/jurt.jar:/usr/lib/openoffice/program/../basis-link/ure-link/share/java/juh.jar:/usr/lib/openoffice/program/../basis-link/program/classes/unoil.jar:/usr/lib/openoffice/progra
 
 on a Ubuntu box here the libraries seems to be in /usr/lib/ure/lib/libjpipe.so

 so try adding /usr/lib/ure/lib/ to CLASSPATH, see if that helps.

   
 The genuine OOo will have practically the same setting, except that its
 directory would be pointed to:
 /opt/openoffice.org3/program/../basis-link/ure-link/share/java/*.

 HTH,

 ---rony
 
   

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-24 Thread Rene Engelhard
On Mon, Aug 23, 2010 at 08:53:26PM +0200, rony wrote:
 So there is at least a problem in the Ubuntu distribution with the setup
 somewhere.

As we already found out in this thread.
It's a problem in Debian and Ubuntu because we move the Java libs to
a standardized path with symlinks and OOo cannot handle the symlink...

Now I am waiting for Stephan to tell me whether my proposed solution works.

Grüße/Regards,

René

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-24 Thread Stephan Bergmann

On 08/24/10 10:41, Rene Engelhard wrote:

On Tue, Aug 24, 2010 at 10:26:58AM +0200, Rene Engelhard wrote:

On Tue, Aug 24, 2010 at 08:50:13AM +0200, Stephan Bergmann wrote:

The static
NativeLibraryLoader.loadLibrary(PipeConnection.class.getClassLoader(),
jpipe); in class com.sun.star.lib.connections.pip.PipeConnection
within jurt.jar effectively depends on finding a jpipe dynamic library
(libjpipe.so on Linux) through the Class-Path in the jurt.jar
META-INF/MANIFEST.MF, ridl.jar unoloader.jar ../../lib/ ../bin/.


So the symlink is the problem? Grmpf.

Why can't you for one time just handle symlinks correctly


For one, there is no correct handling of symlinks.  Sometimes, you 
want to treat them transparently, sometimes not.  And for another, it is 
the Java machinery that threats the symlinks incorrectly here, not us.



Hmm. Or I just fix the Class-Path: there.
Stephan, can I just put a /usr/lib/ure/lib there (in addition to ../../lib/)
or will there be other stuff still not working then?


Please do not put an absolute path into plain OOo's jurt.jar Class-Path. 
 (And whether there would be other stuff still not working I don't 
know---you would need to try it out.)


-Stephan

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-24 Thread Rene Engelhard
Hi,

On Tue, Aug 24, 2010 at 12:02:55PM +0200, Rene Engelhard wrote:
 On Mon, Aug 23, 2010 at 08:53:26PM +0200, rony wrote:
  So there is at least a problem in the Ubuntu distribution with the setup
  somewhere.
 
 As we already found out in this thread.
 It's a problem in Debian and Ubuntu because we move the Java libs to
 a standardized path with symlinks and OOo cannot handle the symlink...
 
 Now I am waiting for Stephan to tell me whether my proposed solution works.

Fixed (for 1:3.2.1-7) with adding /usr/lib/ure/lib to Class-Path:

+   # fix up Class-Path of jurt.jar to be able to find libjpipe.so. 
+   # See http://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=27765   
+   t=`mktemp -q -d`; \ 
+   mkdir -p $$t  cd $$t  \ 
+   unzip $(CURDIR)/debian/ure/usr/share/java/$(OODIRNAME)/jurt.jar \   
+   META-INF/MANIFEST.MF  \   
+   perl -pi -e 's#../../lib/#../../lib/ /$(OOUREDIR)/lib/#g' \ 
+   META-INF/MANIFEST.MF  \   
+   zip -r $(CURDIR)/debian/ure/usr/share/java/$(OODIRNAME)/jurt.jar \  
+   META-INF/MANIFEST.MF  \   
+   cd $(CURDIR)  rm -rf $$t

No idea whether I'll still be allowed to have the fix in squeezes 3.2.1
(we're in freeze in Debian) but already merged that into 3.3, too, so
it surely will be fixed there.

Grüße/Regards,

René

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-24 Thread Stephan Bergmann

On 08/24/10 13:31, Rene Engelhard wrote:

On Tue, Aug 24, 2010 at 01:19:43PM +0200, Stephan Bergmann wrote:

Please do not put an absolute path into plain OOo's jurt.jar Class-Path.


It's for *Debians* OOo. The path won't change in Debian anyways (and if it did
it would automaticatilly be adapted). I don't think there's a safe way
to detect the problem in vanilla OOo.


Your Debian-only fix is of course fine with me.

-Stephan

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-23 Thread Rene Engelhard
Hi,

On Sat, Aug 21, 2010 at 11:57:26PM +0200, rony wrote:
[...]
 Uninstalling the Ubuntu OOo and instead installing the genuine OOo,
 downloaed from http://OpenOffice.org/download, installing it and running
 the very same program works without an error!

We (at least Debian, can't speak of Ubuntu) don't patch anything in that
area, and we use OpenJDK (which should be sufficiently compatible and
doesn't cripple stuff for building). Using Sun JDK is no option, no.

So sorry, no idea.

What I *can* say, though is that not veretyhing exposed on distros is a bug
*caused* by those distros. We had many bugs in the last years where it
just occurred with some circumstances, other compilers, ...

 In the case it matters, here is the CLASSPATH setting for the Ubuntu OOo:
 
 
 /opt/BSF4ooRexx/bsf-v400-20090910.jar:/opt/BSF4ooRexx/bsf-rexx-engine.jar:.::/usr/lib/openoffice/program/../basis-link/ure-link/share/java/ridl.jar:/usr/lib/openoffice/program/../basis-link/ure-link/share/java/jurt.jar:/usr/lib/openoffice/program/../basis-link/ure-link/share/java/juh.jar:/usr/lib/openoffice/program/../basis-link/program/classes/unoil.jar:/usr/lib/openoffice/progra

Looks OK.

Grüße/Regards,

René

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-23 Thread Michael Stahl
On 21/08/2010 23:57, rony wrote:
 Hi René,
 
 sorry that it took a while to get back, but I got totally carried away
 changing/enhancing the installation scripts and had to get everything
 into sync again, before coming back to check out and analyze the problem
 with the Ubuntu distribution.
 
 Here's to what boils it down:
 
 * Using latest 64-bit Ubuntu, having everything updated to today,
 * Running an ooRexx script which uses the OOo/UNO Java bridge to
   interact with OOo, yielding the following error:
 
 40 *-* xContext = UNO.connect() -- connect to server and
 retrieve the XContext object
 REX0040E: Error 40 running /usr/bin/UNO.CLS line 1804:  Incorrect
 call to routine
 REX0634E: Error 40.900:  BSF4ooRexx/routine/BSF(), error 3: Java
 exception occurred: [org.apache.bsf.BSFException: /// Java-exception
 (RexxAndJava) occurred:
 [java.lang.reflect.InvocationTargetException], g*etCause():
 [java.lang.UnsatisfiedLinkError:
 
 com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I*]

i think i remember this error... it is caused by not finding some URE
dynamic libraries, like libjpipe.so.
the Java UNO bridge apparently uses native code via JNI for some things.

 \\\?BSF4ooRexx subfunction invoke: object
 'java.lang.cl...@593d93f4' - method [FINDINTERFACEWITHMEMBER],
 method not found or error (exception) executing method!]
 
 Uninstalling the Ubuntu OOo and instead installing the genuine OOo,
 downloaed from http://OpenOffice.org/download, installing it and running
 the very same program works without an error!
 
 In the case it matters, here is the CLASSPATH setting for the Ubuntu OOo:
 
 
 /opt/BSF4ooRexx/bsf-v400-20090910.jar:/opt/BSF4ooRexx/bsf-rexx-engine.jar:.::/usr/lib/openoffice/program/../basis-link/ure-link/share/java/ridl.jar:/usr/lib/openoffice/program/../basis-link/ure-link/share/java/jurt.jar:/usr/lib/openoffice/program/../basis-link/ure-link/share/java/juh.jar:/usr/lib/openoffice/program/../basis-link/program/classes/unoil.jar:/usr/lib/openoffice/progra

on a Ubuntu box here the libraries seems to be in /usr/lib/ure/lib/libjpipe.so

so try adding /usr/lib/ure/lib/ to CLASSPATH, see if that helps.

 The genuine OOo will have practically the same setting, except that its
 directory would be pointed to:
 /opt/openoffice.org3/program/../basis-link/ure-link/share/java/*.
 
 HTH,
 
 ---rony

-- 
I wish you success, and may your lambdas always beta reduce. -- dons


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-23 Thread Rene Engelhard
On Mon, Aug 23, 2010 at 11:42:22AM +0200, Michael Stahl wrote:
 i think i remember this error... it is caused by not finding some URE
 dynamic libraries, like libjpipe.so.
 the Java UNO bridge apparently uses native code via JNI for some things.

Then that is a bug in the bridge or the extension itself IMHO ...

 on a Ubuntu box here the libraries seems to be in /usr/lib/ure/lib/libjpipe.so
 
 so try adding /usr/lib/ure/lib/ to CLASSPATH, see if that helps.

... because ure-link is exactly what points to that /usr/lib/ure thing.
Anything which assumes that the ure is inside the OOo dir is wrong;
the only valid assumption is that *ure-link* is. That's how the three-layewr
OOo interface was defined.

Grüße/Regards,

René

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-23 Thread Rene Engelhard
Michael Stahl wrote.
 so try adding /usr/lib/ure/lib/ to CLASSPATH, see if that helps.

Or LD_LIBRARY_PATH (no idea whether that helps for JNI Linkage but
it can be tried, too)

Grüße/Regards,

René

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-23 Thread rony


On 23.08.2010 14:09, Rene Engelhard wrote:
 On Mon, Aug 23, 2010 at 11:42:22AM +0200, Michael Stahl wrote:
   
 i think i remember this error... it is caused by not finding some URE
 dynamic libraries, like libjpipe.so.
 the Java UNO bridge apparently uses native code via JNI for some things.
 
 Then that is a bug in the bridge or the extension itself IMHO ...
   
The extension just employs the Bootstrap class if invoked outside of OOo.

 n a Ubuntu box here the libraries seems to be in /usr/lib/ure/lib/libjpipe.so

 so try adding /usr/lib/ure/lib/ to CLASSPATH, see if that helps.
 
 ... because ure-link is exactly what points to that /usr/lib/ure thing.
 Anything which assumes that the ure is inside the OOo dir is wrong;
 the only valid assumption is that *ure-link* is. That's how the three-layewr
 OOo interface was defined.
   
What would be the easiest way to re-install the Ubuntu-OOo after
deinstalling the genuine OOo?
(Or do I have to go through Synaptic manager and check all sort of
modules (with the risk that I am overlooking an important one, given
that the OOo related modules seem to be quite dispersed.)

---rony




-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-23 Thread Rene Engelhard
On Mon, Aug 23, 2010 at 03:29:47PM +0200, rony wrote:
 (Or do I have to go through Synaptic manager and check all sort of

Eww, synaptic.

 modules (with the risk that I am overlooking an important one, given
 that the OOo related modules seem to be quite dispersed.)

apt-get install openoffice.org. Which is a dummy package which
is supposed (unless Ubuntu patched somthing) there install all modules +
Java suppoer (including officebean), but of course without SDK)

(or select openoffice.org in synaptic).

Grüße/Regards,

René

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-22 Thread rony
Hi René,

sorry that it took a while to get back, but I got totally carried away
changing/enhancing the installation scripts and had to get everything
into sync again, before coming back to check out and analyze the problem
with the Ubuntu distribution.

Here's to what boils it down:

* Using latest 64-bit Ubuntu, having everything updated to today,
* Running an ooRexx script which uses the OOo/UNO Java bridge to
  interact with OOo, yielding the following error:

40 *-* xContext = UNO.connect() -- connect to server and
retrieve the XContext object
REX0040E: Error 40 running /usr/bin/UNO.CLS line 1804:  Incorrect
call to routine
REX0634E: Error 40.900:  BSF4ooRexx/routine/BSF(), error 3: Java
exception occurred: [org.apache.bsf.BSFException: /// Java-exception
(RexxAndJava) occurred:
[java.lang.reflect.InvocationTargetException], g*etCause():
[java.lang.UnsatisfiedLinkError:

com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I*]
\\\?BSF4ooRexx subfunction invoke: object
'java.lang.cl...@593d93f4' - method [FINDINTERFACEWITHMEMBER],
method not found or error (exception) executing method!]

Uninstalling the Ubuntu OOo and instead installing the genuine OOo,
downloaed from http://OpenOffice.org/download, installing it and running
the very same program works without an error!

In the case it matters, here is the CLASSPATH setting for the Ubuntu OOo:


/opt/BSF4ooRexx/bsf-v400-20090910.jar:/opt/BSF4ooRexx/bsf-rexx-engine.jar:.::/usr/lib/openoffice/program/../basis-link/ure-link/share/java/ridl.jar:/usr/lib/openoffice/program/../basis-link/ure-link/share/java/jurt.jar:/usr/lib/openoffice/program/../basis-link/ure-link/share/java/juh.jar:/usr/lib/openoffice/program/../basis-link/program/classes/unoil.jar:/usr/lib/openoffice/progra
  

The genuine OOo will have practically the same setting, except that its
directory would be pointed to:
/opt/openoffice.org3/program/../basis-link/ure-link/share/java/*.

HTH,

---rony



On 17.08.2010 21:32, rony wrote:
 Hi René,

 On 17.08.2010 21:05, Rene Engelhard wrote:
   
 On Mon, Aug 16, 2010 at 06:49:24PM +0200, rony wrote:
   
 
 (Due to a package that excercises the Java-UNO-bridge I have stumbled
 over Ubuntu's distro which seems to be broken in that area and read
 
   
 Where exactly? (Ubuntu borrows my packages and breaks them at times,
 but what you experience could also be bug in Debian, so...)
   
 
 I noticed that in the Java bindings when trying to install the ooRexx
 scripting framework (which extends from OOo's Java scirpting framework
 and which macros get dispatched via this Java infrastructure).

 Have one 64-bit Ubuntu untampered which I will take a closer look
 tomorrow evening, trying to come up with more (hopefully useful) pointers.


   
 about other distributions that at least used to cripple OOo by removing
 some if not all of the genuine Java support).
 
   
 used to is right, I think nowadays all ship it compiled with OpenJDK
 at least on mainstream architectures. (Or use Sun JDK, which truly free
 distros of course cannot use).
   
 
 Grüße/Regards,

 ---rony


 -
 To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
 For additional commands, e-mail: dev-h...@openoffice.org


   


Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-17 Thread rony
Hi Sigrid,

thank you very much for your interesting and helpful answers!

* the package (3.2.1) just has an update script, but not an
  install script which makes it very cumbersome to install the
  genuine OOo from all the individual packages in the DEB
  subdirectory (after having removed the Ubuntu version of OOo
  beforehand): where could one find/locate the appropriate install
  script?
 
 Isn't it just enough to go into the directory and use the command

 dpkg -i *.deb (or something similar, I've never had a Debian-based system).

 With rpm or urpmi you can just do this, and the installer figures out,
 what to install first.
   

That easy ?
;)

Again, thank you very much (and also Konstantin!).

As I have never used dpkg directly I was not aware of that functionality
at all.


* does the genuine OOo install into /opt on Fedora or SuSE as well?
 
 I can tell you, that on Mandriva OOo installs itself into /opt, so I
 would expect a similar behaviour on Fedora and SuSE as well, since the
 rpm-packages are all the same. ;)
   
Good to know!Maybe a last question: which Linux distributions are known
to be 100%

Regards,

---rony


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-17 Thread rony
Björn,

On 16.08.2010 16:56, Björn Michaelsen wrote:
 Am Mon, 16 Aug 2010 16:12:50 +0200
 schrieb Rony G. Flatscher rony.flatsc...@wu-wien.ac.at:

   
 Maybe a last question: which Linux distributions are known to be 100%
 compatible in their Java interfaces to OOo with the genuine OOo ?
 
 At least openoffice-bin on gentoo as it _is_ the genuine OOo build by
 Hamburg RelEng.
   
Great, thank you very much for this information!

Does anyone of any other distributions by any chance?

(Due to a package that excercises the Java-UNO-bridge I have stumbled
over Ubuntu's distro which seems to be broken in that area and read
about other distributions that at least used to cripple OOo by removing
some if not all of the genuine Java support).

Regards,

---rony





-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-17 Thread Rene Engelhard
Hi,

On Mon, Aug 16, 2010 at 06:49:24PM +0200, rony wrote:
 (Due to a package that excercises the Java-UNO-bridge I have stumbled
 over Ubuntu's distro which seems to be broken in that area and read

Where exactly? (Ubuntu borrows my packages and breaks them at times,
but what you experience could also be bug in Debian, so...)

 about other distributions that at least used to cripple OOo by removing
 some if not all of the genuine Java support).

used to is right, I think nowadays all ship it compiled with OpenJDK
at least on mainstream architectures. (Or use Sun JDK, which truly free
distros of course cannot use).

Grüße/Regards,

René

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-17 Thread rony
Hi René,

On 17.08.2010 21:05, Rene Engelhard wrote:
 On Mon, Aug 16, 2010 at 06:49:24PM +0200, rony wrote:
   
 (Due to a package that excercises the Java-UNO-bridge I have stumbled
 over Ubuntu's distro which seems to be broken in that area and read
 
 Where exactly? (Ubuntu borrows my packages and breaks them at times,
 but what you experience could also be bug in Debian, so...)
   
I noticed that in the Java bindings when trying to install the ooRexx
scripting framework (which extends from OOo's Java scirpting framework
and which macros get dispatched via this Java infrastructure).

Have one 64-bit Ubuntu untampered which I will take a closer look
tomorrow evening, trying to come up with more (hopefully useful) pointers.


 about other distributions that at least used to cripple OOo by removing
 some if not all of the genuine Java support).
 
 used to is right, I think nowadays all ship it compiled with OpenJDK
 at least on mainstream architectures. (Or use Sun JDK, which truly free
 distros of course cannot use).
   
Grüße/Regards,

---rony


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] OOo installation packages for Linux, a few (easy) questions

2010-08-16 Thread Rony G. Flatscher
Hi there,

not sure whether this is the correct e-mail list. If not please advise,
which one would be the appropriate one.

An observation, two questions ad the OOo installateion packages on
http://download.openoffice.org/index.html; when entered from a German,
32-bit Ubuntu system:

* the package (3.2.1) just has an update script, but not an
  install script which makes it very cumbersome to install the
  genuine OOo from all the individual packages in the DEB
  subdirectory (after having removed the Ubuntu version of OOo
  beforehand): where could one find/locate the appropriate install
  script?
* does the genuine OOo install into /opt on Fedora or SuSE as well?

Maybe a last question: which Linux distributions are known to be 100%
compatible in their Java interfaces to OOo with the genuine OOo ?

TIA,

---rony





Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-16 Thread Sigrid Carrera
Hi Rony,

2010/8/16 Rony G. Flatscher rony.flatsc...@wu-wien.ac.at:
 Hi there,

 not sure whether this is the correct e-mail list. If not please advise,
 which one would be the appropriate one.

I think the users list is the better place, but I'm not 100 % sure
about this myself. ;)


 An observation, two questions ad the OOo installateion packages on
 http://download.openoffice.org/index.html; when entered from a German,
 32-bit Ubuntu system:

    * the package (3.2.1) just has an update script, but not an
      install script which makes it very cumbersome to install the
      genuine OOo from all the individual packages in the DEB
      subdirectory (after having removed the Ubuntu version of OOo
      beforehand): where could one find/locate the appropriate install
      script?

Isn't it just enough to go into the directory and use the command

dpkg -i *.deb (or something similar, I've never had a Debian-based system).

With rpm or urpmi you can just do this, and the installer figures out,
what to install first.


    * does the genuine OOo install into /opt on Fedora or SuSE as well?

I can tell you, that on Mandriva OOo installs itself into /opt, so I
would expect a similar behaviour on Fedora and SuSE as well, since the
rpm-packages are all the same. ;)


 Maybe a last question: which Linux distributions are known to be 100%
 compatible in their Java interfaces to OOo with the genuine OOo ?

Sorry, but here I have no answer for you.

Sigrid

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-16 Thread Björn Michaelsen
Am Mon, 16 Aug 2010 16:12:50 +0200
schrieb Rony G. Flatscher rony.flatsc...@wu-wien.ac.at:

 Maybe a last question: which Linux distributions are known to be 100%
 compatible in their Java interfaces to OOo with the genuine OOo ?

At least openoffice-bin on gentoo as it _is_ the genuine OOo build by
Hamburg RelEng.

BR,

Bjoern

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-16 Thread Konstantin Tokarev


16.08.10, 18:55, Sigrid Carrera sigrid.carr...@googlemail.com:

  Isn't it just enough to go into the directory and use the command
  
  dpkg -i *.deb (or something similar, I've never had a Debian-based system).

This command works fine, I can prove it.


-- 
Regards,
Konstantin

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org