Re: [dev] OpenOffice bootstrapping on Red Hat 4

2010-03-17 Thread K S
Dear Stephan!

I have checked this variant with the flag you noted, but the problem still
exists. Interesting moment is that when I create a bootstrap application
with OpenOffice plugin for NetBeans, its code successfully works...

-Kirill

2010/3/15 Stephan Bergmann stephan.bergm...@sun.com

 On 03/12/10 21:13, K S wrote:

 Caused by: java.lang.UnsatisfiedLinkError:

 com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I


 That class tries to load libjpipe.so JNI library.  The most typical problem
 with that nowadays is that either your OOo (and hence libjpipe.so) is 32 bit
 and the Java process you start is 64 bit, or vice versa.  At least with
 recent Sun JVMs, you can control whether the Java process is 32 or 64 bit
 via -d32 resp. -d64 command line switches.

 -Stephan

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




Re: [dev] Re: Building OO on Slackware and run it on Ubuntu

2010-01-28 Thread K S
Does anyone know about this exception?

(com::sun::star::lang::WrappedTargetRuntimeException)


2010/1/27 K S pgmb...@gmail.com

 Thank you, Michael, for your answer.

 Additional information: when OO crashes, the next exception appears:

 com::sun::star::lang::WrappedTargetRuntimeException

 And it looks like OO cannot open the odt document, which is created
 automatically when swriter starts.

 Kirill

 2010/1/27 Michael Stahl michael.st...@sun.com

 hi Kirill,

 On 26/01/2010 13:22, K S wrote:
  Dear OpenOffice Community,
 
  Please help me in next problem.
  I have made an OO build on Slackware Linux with next configuration:
 
  ./configure --with-use-shell=bash --with-system-libs
 --without-system-jars
  --without-system-icu --without-system-agg --without-system-lpsolve
  --without-system-mspack --disable-mozilla --disable-pam
  --disable-build-mozilla
 
 --with-jdk-home=/home/administrator/Downloads/ComplementSoftware/jdk1.6.0_17
  --without-system-hunspell --without-system-altlinuxhyph --disable-gconf
  --disable-gnome-vfs
 
 --with-ant-home=/home/administrator/Downloads/ComplementSoftware/apache-ant-1.7.1
 
  The OO 3.1.0 was compilled without any errors.
 
  On Slackware OO works perfectly.
 
  But when I try to run this office on various systems (Fedora, Ubuntu) I
  obtain an error: some formats could not read (odp,odt, ppt, pptx)
 instead
  doc docx. When I call ./swriter command for example, the window appears
  with the message about OO crash and
 
  Please, tell me what do you think abouit the causes of such a problem.
 Thank
  you very much.

 the most likely cause is --with-system-libs.  this will (obviously) link
 your OOo against the libraries installed on the system.
 if some other distro has the same libraries compiled with some different
 options from your distro, such that they are not binary compatible, then
 you can experience problems, or (if you're lucky) OOo will refuse to even
 start.

 but using only bundled libraries is not necessarily enough to create
 portable linux binaries; OOo does not bundle all libraries yet (even if a
 look at the source repository would give the impression), so you will
 likely still get problems if you run your OOo on a distro with older
 system libraries than the ones on the build system.
 here at Sun we build (essentially) against a chroot that contains some
 antique distro system libraries and headers, with (apparently) portable
 results.

  Sincerely yours,
  Kirill

 --
 Always do right. This will gratify some people and astonish the rest.
  -- Mark Twain


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





Re: [dev] Re: Building OO on Slackware and run it on Ubuntu

2010-01-27 Thread K S
Thank you, Michael, for your answer.

Additional information: when OO crashes, the next exception appears:

com::sun::star::lang::WrappedTargetRuntimeException

And it looks like OO cannot open the odt document, which is created
automatically when swriter starts.

Kirill

2010/1/27 Michael Stahl michael.st...@sun.com

 hi Kirill,

 On 26/01/2010 13:22, K S wrote:
  Dear OpenOffice Community,
 
  Please help me in next problem.
  I have made an OO build on Slackware Linux with next configuration:
 
  ./configure --with-use-shell=bash --with-system-libs
 --without-system-jars
  --without-system-icu --without-system-agg --without-system-lpsolve
  --without-system-mspack --disable-mozilla --disable-pam
  --disable-build-mozilla
 
 --with-jdk-home=/home/administrator/Downloads/ComplementSoftware/jdk1.6.0_17
  --without-system-hunspell --without-system-altlinuxhyph --disable-gconf
  --disable-gnome-vfs
 
 --with-ant-home=/home/administrator/Downloads/ComplementSoftware/apache-ant-1.7.1
 
  The OO 3.1.0 was compilled without any errors.
 
  On Slackware OO works perfectly.
 
  But when I try to run this office on various systems (Fedora, Ubuntu) I
  obtain an error: some formats could not read (odp,odt, ppt, pptx) instead
  doc docx. When I call ./swriter command for example, the window appears
  with the message about OO crash and
 
  Please, tell me what do you think abouit the causes of such a problem.
 Thank
  you very much.

 the most likely cause is --with-system-libs.  this will (obviously) link
 your OOo against the libraries installed on the system.
 if some other distro has the same libraries compiled with some different
 options from your distro, such that they are not binary compatible, then
 you can experience problems, or (if you're lucky) OOo will refuse to even
 start.

 but using only bundled libraries is not necessarily enough to create
 portable linux binaries; OOo does not bundle all libraries yet (even if a
 look at the source repository would give the impression), so you will
 likely still get problems if you run your OOo on a distro with older
 system libraries than the ones on the build system.
 here at Sun we build (essentially) against a chroot that contains some
 antique distro system libraries and headers, with (apparently) portable
 results.

  Sincerely yours,
  Kirill

 --
 Always do right. This will gratify some people and astonish the rest.
  -- Mark Twain


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




[dev] Building OO on Slackware and run it on Ubuntu

2010-01-26 Thread K S
Dear OpenOffice Community,

Please help me in next problem.
I have made an OO build on Slackware Linux with next configuration:

./configure --with-use-shell=bash --with-system-libs --without-system-jars
--without-system-icu --without-system-agg --without-system-lpsolve
--without-system-mspack --disable-mozilla --disable-pam
--disable-build-mozilla
--with-jdk-home=/home/administrator/Downloads/ComplementSoftware/jdk1.6.0_17
--without-system-hunspell --without-system-altlinuxhyph --disable-gconf
--disable-gnome-vfs
--with-ant-home=/home/administrator/Downloads/ComplementSoftware/apache-ant-1.7.1

The OO 3.1.0 was compilled without any errors.

On Slackware OO works perfectly.

But when I try to run this office on various systems (Fedora, Ubuntu) I
obtain an error: some formats could not read (odp,odt, ppt, pptx) instead
doc docx. When I call ./swriter command for example, the window appears
with the message about OO crash and

Please, tell me what do you think abouit the causes of such a problem. Thank
you very much.


Sincerely yours,
Kirill


Re: [dev] Re: programming OpenOffice

2010-01-26 Thread K S
I would like to develop for OpenOffice too. I have already done the first
stage - get the source and build. What is next?

2010/1/26 Michael Stahl michael.st...@sun.com

 On 26/01/2010 09:23, Brent Black wrote:
  I would like to help with the programming of OpenOffice.
 
 
 
  Brent Black
 
  blac...@yahoo.com

 hi Brent,

 please take a look at the wiki pages:

 http://wiki.services.openoffice.org/wiki/Development

 if you want to be a developer, your first task is to get OOo to build on
 your system. see the Building Guide in the wiki:

 http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide

 please be aware that OOo is large and complex, and so it is entirely
 possible that you will experience problems. if you do, please ask on this
 mailing list.

 regards, michael

 --
 If you think about it long enough,
  you'll see that it's obvious. -- Saul Bern


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




[dev] Building OO on Slackware and run it on Ubuntu

2010-01-26 Thread K S
Dear OpenOffice Community,


 I have made an OO build on Slackware Linux with next configuration:

 ./configure --with-use-shell=bash --with-system-libs --without-system-jars
 --without-system-icu --without-system-agg --without-system-lpsolve
 --without-system-mspack --disable-mozilla --disable-pam
 --disable-build-mozilla
 --with-jdk-home=/home/administrator/Downloads/ComplementSoftware/jdk1.6.0_17
 --without-system-hunspell --without-system-altlinuxhyph --disable-gconf
 --disable-gnome-vfs
 --with-ant-home=/home/administrator/Downloads/ComplementSoftware/apache-ant-1.7.1

 The OO 3.1.0 was compiled without any errors.

 On Slackware OO works perfectly.

 But when I try to run this office on other systems (Fedora, Ubuntu) I face
 the problem that some formats could not be read (odp,odt, ppt, pptx) but doc
  docx can be read, instead. When I call ./swriter command for example,
 application starts but at once crashes with the error window and proposition
 to restore documents.

 Could you tell me please about the probable causes of such a problem and
 how to solve it. In general, is it possible to make such OO build capable to
 work on different Linux families. Thank you very much.


 Sincerely yours,
 Kirill




Re: [dev] Howto for developements on Draw

2010-01-13 Thread K S
Stefan,

This is an answer on a part of your question:
http://blogs.sun.com/GullFOSS/entry/building_openoffice_org_on_windows

Wishes,
Kirill



2010/1/5 Stefan Michalowski s.michalow...@free.fr

 Hi, sorry for asking such basic question :

 I would like to develop ontop of  Draw, some graphic drawing extensions.
 I have used Netbeans already, under Windows, and built a simple application
 with java.

 How should I start with the source of Draw, how to install and update OO
 environment for this ?
 I tried to follow your installation instructions, but didi not understand
 the steps.

 As I am not experienced in Java installation and build (did it only
 automatically through Netbeans), I need some help.

 Regards

 --
 Stefan Michalowski   06 68 08 35 50   s.michalow...@free.fr



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




Re: [dev] Some issues building Open Office on OSX

2010-01-11 Thread K S
Dear Peter,

You said:

I did a clean make by doing a checkout and
another make (obviously the wrong way to do things but I couldn't find the
correct way to do a make clean :-(  Any advice here?).

Maybe you can use [dmake clean] command to this end

Sincerely yours,
Kirill



2010/1/11 Peter Kaufman peterkaufmanena...@gmail.com

 Hi Everyone,

 It compiles!  Ship it!

 I've gotten it to build on OSX Leopard successfully.  It even installs and
 runs too.  Yay!

 Taking your advice Philipp, I did a clean make by doing a checkout and
 another make (obviously the wrong way to do things but I couldn't find the
 correct way to do a make clean :-(  Any advice here?).

 After that, I had to apply a patch that I found  here:

 http://www.mail-archive.com/m...@porting.openoffice.org/msg02942.html

 Apparently, in order to get libjpipe.jnilib to be detected I had to change
 a
 line in the source.

 After that it built and I got a dmg!

 Thank you Kirill, Mathias, and Philipp for all your help.

 Next up, I'll update the AquaBuild wiki page as it seems like some of the
 instructions are out-of-date:
 http://wiki.services.openoffice.org/wiki/AquaBuild  .  Hopefully it'll
 help
 the next poor sap who tries to do what I did.

 Regards,
 Peter



 On Tue, Jan 5, 2010 at 12:41 AM, Philipp Lohmann philipp.lohm...@sun.com
 wrote:

  On 1/4/10 4:07 PM, Peter Kaufman wrote:
 
  Hi Kirill and Mathias,
 
  Thanks for the help!
 
  I recompiled with --disable-mozilla switch and it got a lot farther but
  now
  it's hit another wall:
 
 
 -
  .. checking required files ...
  . searching zip ...
  Found: /usr/bin/zip
  .. analyzing ../util/openoffice.lst ...
  rmdir: /Users/peterkaufman/open_office/instsetoo_native/
  unxmacxi.pro/OpenOffice/dmg/logging/: Directory not empty
  .. reading include pathes ...
  .. analyzing script: /Users/peterkaufman/open_office/solver/300/
  unxmacxi.pro/bin/setup_osl.ins ...
  .. analyzing directories ...
  .. analyzing files ...
  .. analyzing scpactions ...
  .. analyzing shortcuts ...
  .. analyzing unix links ...
  .. analyzing profile ...
  .. analyzing profileitems ...
  .. analyzing modules ...
  
  .. languages en-US ...
  .. analyzing files ...
  ERROR: The following files could not be found:
  ERROR: File not found: libjpipe.jnilib
  ERROR: File not found: ldapbe2.uno.dylib
  ERROR: File not found: libplmxi.dylib
  ERROR: File not found: libxsec_fw.dylib
  ERROR: File not found: libxmlsecurity.dylib
  ERROR: File not found: libxsec_xmlsec.dylib
  ERROR: File not found: mozruntime.zip
  ERROR: File not found: xmlsecen-US.res
  .. cleaning the output tree ...
  .. removing directory /tmp/ooopackaging/i_728461262616865 ...
 
  **
  ERROR: ERROR: Missing files
  in function: remove_Files_Without_Sourcedirectory
  **
 
  **
  ERROR: Saved logfile: /Users/peterkaufman/open_office/instsetoo_native/
  unxmacxi.pro/OpenOffice/dmg/logging/en-US/log_DEV300_en-US.log
  **
  Mon Jan  4 23:54:29 2010 (00:04 min.)
  dmake:  Error code 255, while making 'openoffice_en-US.dmg'
 
  1 module(s):
  instsetoo_native
  need(s) to be rebuilt
 
  Reason(s):
 
 
  Attention: if you fix the errors in above module(s) you may prolongue
 your
  the build issuing command:
 
  build --all:instsetoo_native
 
 
 -
 
  OK, to be frank, I'm not at all sure what the issue is.  It seems like a
  lot
  of the XML related dylibs aren't building.  I don't know why it's still
  looking for mozruntime.zip as I had the --disable-mozilla switch.
 
  If you could help point me in the right direction, it would be a big
 help.
 
  Thank you very much for all your help so far.
 
  -Peter
 
 
  As a guess: you didn't clean up all modules after configuring ? In that
  case you'll need to rebuilt (at least) scp2 which creates the set of
 files
  to install (which seems to include mozilla still).
 
  Just my 2 cents, pl
 
  --
  One SVN to rule them all, One SVN to check out from,
   One SVN to commit them all and on the harddisks bind them
   In Las Vegas where the server lies.
 
 
  -
  To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
  For additional commands, e-mail: dev-h...@openoffice.org
 
 



[dev] OpenOffice IDE

2010-01-09 Thread K S
Dear OpenOffice community,


I would like to ask questions concerning OpenOffice development. Could you
tell me please, what IDE can be used to open OpenOffice sources as a single
project (is this generally possible?) and to manage source code (for example
debugging or including/excluding some files/resources, etc)? I studied this
issue on Internet but found only several mentions concerning Eclipse,
NetBeans and Maven system.But really what development environment is usually
used in the development process? Where project files which contain structure
of whole solution are located  (in what folder of OO) and how they can be
used by IDE? Thank you!


Sincerely yours,
Kirill


Re: [dev] Reg: Shrinking openoffice setup size for document converter

2010-01-06 Thread K S
The first Idea which comes to mind is to disable all unnecessary modules by
using configure script.

Sincerely yours,
Kirill

2010/1/6 Aatral Arasu aatr...@gmail.com

 We have checked out the latest openoffice source code in Ubuntu Linux and
 Windows and successfully created and installed the OpenOffice setup from
 the
 source code.

 We are working on creating a portable openoffice setup based document
 converter, whose final setup size has to be shrinked to 50MB from the
 latest
 openoffice source.

 A similar setup created by PortableApps for OpenOffice 3.1 is of size 98MB.

 We are going through the wiki pages, source code and searching the
 developer
 mailing archive.
 Any help or pointers would be greatly appreciated and useful.

 Thanks in Advance,
 Aatral



[dev] OpenOffice Configure Command

2010-01-05 Thread K S
Dear Sirs,

Tell me, please, the link to the document where all OO ./configure script
parameters are described (if one exists). Thanks!

Sincerely yours,
Kirill


Re: [dev] Some issues building Open Office on OSX

2010-01-04 Thread K S
Dear Peter,

I used --disable-mozilla too (simultaneously with
--disable-build-mozilla)

Sincerely yours,
Kirill

2010/1/4 Mathias Bauer nospamfor...@gmx.de

 Peter Kaufman wrote:

  Hi Kirill,
 
  My current ./configure is loaded from a shell script.  It looks like
 this:
 
  #!/bin/sh
  export BASE=`pwd`
  export OOVERSION=`echo $BASE|sed 's/^\/.*\///'`
  echo Building from : $BASE
  echo OpenOffice Version: $OOVERSION
  ./configure \
  --with-lang=en-US de fr \
  --disable-odk \
  --disable-pasf \
  --disable-gtk \
  --disable-headless \
  --disable-build-mozilla \
  --with-build-version=$OOVERSION-`date +%d-%m-%y` \
  --disable-fontconfig \
  --without-nas \
  --with-use-shell=bash \
  --with-jdk-home=/System/Library/Frameworks/JavaVM.framework/Home \
  --with-stlport=no \
  --disable-mediawiki \
  --enable-werror \
  --disable-vba
 
  Note the --disable-build-mozilla.  I think I've already disabled building
  mozilla.  Unless I'm missing another configure option I need?

 Moz is not built in your build, it is just unpacked (you can see that
 from the Entering /Users/peterkaufman/open_office/moz/zipped line in
 your log file). OOo expects to find zipped precompiled content in this
 directory. Perhaps you didn't provide it?

 You can either fix that (I have to look where you can find this
 precompiled content in case you wanted to do that) or you can use the
 switch --disable-mozilla instead. Please note that this will prevent
 OOo from accessing any Mozilla/Thunderbird address books and from
 working with LDAP and Digital Signatures (as these functions are
 implemented with Mozilla code on Mac OSX).

 Regards,
 Mozilla

 --
 Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
 Please don't reply to nospamfor...@gmx.de.
 I use it for the OOo lists and only rarely read other mails sent to it.

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




Re: [dev] OpenOffice Integration

2009-12-30 Thread K S
Hi everybody,

Could you tell me please, what settings should I provide for OO (environment
variables, configuration files, etc.) to make it working in the context of
my application if I simply copying OO from its original installed location
on some computer to certain folder on other, or by using my own compilled
version without an installation? Thank you.

Kirill

2009/12/28 Juergen Schmidt juergen.schm...@sun.com

 Hi Kirill,

 it is already possible to have multiple instances of OOo on one computer.
 Your described scenario is also possible and you can manage your own copy of
 OOo in the context of your application. You can use your own application
 specific user directory, can control the life cycle and can connect to
 exactly your configured office from your own application.

 You can start the office listening on a specific pipe, connect your app to
 this pipe and everything else is the same as before. See the SDK examples
 how to connect to an office via a socket connection. Simply replace the
 socket connection with a pipe connection. See the DevGuide in the wiki for
 more details.

 Juergen



 On 12/28/09 12:06 PM, K S wrote:

 Dear OpenOffice Development,

 My name is Kirill, and I am Software Engineering Professional.

 Let me ask you several questions concerning integration of Open Office
 into
 my project.

 The matter is that I would like to call OpenOffice from my Java
 application.
 If there is no OpenOffice installed on the computer, I think it is good to
 run a copy of OpenOffice, supplied with my application. But As I know,
 OpenOffile under Linux can be started only if it was installed as a
 package.
 How it is possible to run OpenOffice using UNO without installing (merely
 copied OO to specified folder, for example)?  What about having several
 instances of Open Office at one time in the system? Thank you very much!


 Sincerely yours,
 Kirill



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




Re: [dev] OpenOffice Integration

2009-12-30 Thread K S
Dear Gert,

Under Windows you can use OpenOffice Portable:
http://www.keygiare.com/apps/office/openoffice_portable
It works without an installation

Sincerely yours,
Kirill

2009/12/30 Cor Nouws oo...@nouenoff.nl

 Gert van Spijker wrote (30-12-09 11:15)


  I could do with a pointer to the right information too.


 again the links:

 http://wiki.services.openoffice.org/wiki/Documentation/Administration_Guide
 http://wiki.services.openoffice.org/wiki/Run_OOo_versions_parallel

 --
 Cor Nouws
  - nl.OpenOffice.org marketing contact
  - Community Council member

  ?? Nieuwe office-software Zie www.nieuwsteoffice.nl !!


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




[dev] Re: OpenOffice Integration

2009-12-28 Thread K S
Dear OpenOffice Development Community,


 My name is Kirill, and I am Software Engineering Professional.

 Let me ask you several questions concerning integration of Open Office into
 my project.

 The matter is that I would like to call OpenOffice from my Java
 application. If there is no OpenOffice installed on the computer, I think it
 is good to run a copy of OpenOffice, supplied with my application. But As I
 know, OpenOffile under Linux can be started only if it was installed as a
 package. How it is possible to run OpenOffice using UNO without installing
 (merely copied OO to specified folder, for example)?  What about having
 several instances of Open Office at one time in the system? Thank you very
 much!


 Sincerely yours,
 Kirill


[dev] OpenOffice Integration

2009-12-28 Thread K S
Dear OpenOffice Development,

My name is Kirill, and I am Software Engineering Professional.

Let me ask you several questions concerning integration of Open Office into
my project.

The matter is that I would like to call OpenOffice from my Java application.
If there is no OpenOffice installed on the computer, I think it is good to
run a copy of OpenOffice, supplied with my application. But As I know,
OpenOffile under Linux can be started only if it was installed as a package.
How it is possible to run OpenOffice using UNO without installing (merely
copied OO to specified folder, for example)?  What about having several
instances of Open Office at one time in the system? Thank you very much!


Sincerely yours,
Kirill