Difference between revisions of "Running"

From Apache OpenOffice Wiki
Jump to: navigation, search
(See also)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Vanilla up-stream ==
+
Run the office from an installed version. Do not attempt to run it from the
 +
solver/bin directory, it won't work. Also do not run it from within the build
 +
environment's shell, as libraries from the wrong path would be pulled in and
 +
subsequent libraries not be found. Use a clean shell instead.
  
On Linux you would type 'openoffice', and bingo ...
+
Installation with an accompanying separated ''UserInstallation'' directory
 +
happened automatically at the indicated location if you used the
 +
<tt>LOCALINSTALLDIR="/my/Destination/Dir"</tt> and
 +
<tt>PKGFORMAT="installed"</tt> environment variables during the build.
 +
Invocation then would be
 +
<code>/my/Destination/Dir/openoffice.org3/program/soffice</code>
  
== ooo-build ==
+
Otherwise, you'll have to install the package created for your platform after the [[Building OpenOffice.org|building phase]].
 
+
That means, if you used for instance <code>--with-package-format=deb</code>, you should install the .debs which were created after compilation. These may be for instance at <code>./instsetoo_native/unxlngi6.pro/OpenOffice/deb/install/en-US/DEBS/</code> in the source tree. Install them with your package normal like you do with other applications.
  <p>
+
      Now wander into <code>/opt/OOInstall/program</code> and do:
+
      <code>source ./ooenv</code> this will setup your (bash) shell for
+
      running OO.o directly. Then simply <code>./soffice.bin -writer</code>.
+
      This is better than running soffice, or a wrapper script since
+
      it's very easy to use the debugger: <code>gdb soffice.bin</code>.
+
    </p>
+
 
+
    <p>
+
      <strong>Note:</strong> <code>ooenv</code> was formerly known as
+
      <code>env</code>. It was renamed not to conflict with /usr/bin/env.
+
    </p>
+
  
 
== See also ==
 
== See also ==
  
*[[Hacking]]
+
* [[Run OOo versions parallel]]
 +
* [[User:ErAck/WorkFlow#Running| erAck's workflow running]]
  
  
[[Category:Development]]
+
[[Category:Build System]]

Latest revision as of 12:58, 28 March 2010

Run the office from an installed version. Do not attempt to run it from the solver/bin directory, it won't work. Also do not run it from within the build environment's shell, as libraries from the wrong path would be pulled in and subsequent libraries not be found. Use a clean shell instead.

Installation with an accompanying separated UserInstallation directory happened automatically at the indicated location if you used the LOCALINSTALLDIR="/my/Destination/Dir" and PKGFORMAT="installed" environment variables during the build. Invocation then would be /my/Destination/Dir/openoffice.org3/program/soffice

Otherwise, you'll have to install the package created for your platform after the building phase. That means, if you used for instance --with-package-format=deb, you should install the .debs which were created after compilation. These may be for instance at ./instsetoo_native/unxlngi6.pro/OpenOffice/deb/install/en-US/DEBS/ in the source tree. Install them with your package normal like you do with other applications.

See also

Personal tools