You are not logged in.

#1 2010-10-27 13:23:46

vaquerito
Member
Registered: 2008-04-09
Posts: 32

packaging openoffice 3.1.1 in /opt [SOLVED]

Hi archers,
I need to stick with Openoffice 3.1 for production use due to bugs in Base.

I need to package a 3.1.1 openoffice in /opt without using system libraries, due to dependencies issues in upgrades (e.g. Openoffice 3.2.1 and webkit require icu 4.4 which breaks Arch Openoffice 3.1 package that needs 4.2)

Already tried:
- take official version from OO site with JRE, installs but crashes without complaining about anything
- take Go-OO, same as above

The only working version is ours, taken from ARM, http://arm.konnichi.com/search/, for which I have the problem described above, need to package with everything needed in /opt.

Any suggestion is welcome,
Thank you wink

Last edited by vaquerito (2010-11-13 16:40:12)

Offline

#2 2010-10-28 05:16:08

AugustePop
Member
Registered: 2010-04-27
Posts: 95

Re: packaging openoffice 3.1.1 in /opt [SOLVED]

put every dynamic linked library you need in some directory and specify LD_LIBRARY_PATH in OOo launcher?

Offline

#3 2010-11-09 10:34:49

vaquerito
Member
Registered: 2008-04-09
Posts: 32

Re: packaging openoffice 3.1.1 in /opt [SOLVED]

thank you, I've tried your solution but I failed, probably I'm missing some lib which is missing but OO doesn't complain about.

I ask some developer a hint to correctly rebuild openoffice 3.1.1 against an updated arch system (if possible):
I downloaded the PKGBUILD of OO in our repo and modified it, changed version number and commented out patch lines, that way configure is ok but it fails during make phase:
------------------------------------------------------------------------------------------------------------------------------
Module 'jfreereport' delivered successfully. 0 files copied, 13 files unchanged

1 module(s):
    soltools
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /home/fed/no-index/WIP/openoffice-base/src/OOO310_m19/soltools/mkdepend

Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from soltools"

rmdir /tmp/5669
    L'operazione sta per essere interrotta...
-------------------------------------------------------------------------------------------------------------------------------

Last edited by vaquerito (2010-11-09 13:22:38)

Offline

#4 2010-11-13 16:38:40

vaquerito
Member
Registered: 2008-04-09
Posts: 32

Re: packaging openoffice 3.1.1 in /opt [SOLVED]

Disclaimer: the solution is quick and dirty, but it works and doesn't mess with other stuff

Solution:

- took latest Openoffice 3.1 arch package (official one crashed without reason form me):
http://arm.konnichi.com/extra/os/x86_64 … pkg.tar.gz

- took latest icu 4.2 arch package
http://arm.konnichi.com/extra/os/x86_64 … pkg.tar.gz

- mkdir /opt/openoffice-3.1, copy openoffice package inside, unpack with "tar xvzf openoffice-base-3.1.1-3-x86_64.pkg.tar.gz"
copy icu package into same dir, unpack with "tar xvzf icu-4.2.1-1-x86_64.pkg.tar.gz", mv all file inside icu usr/lib in /opt/openoffice-3.1/usr/lib

create a script like:

export LD_LIBRARY_PATH=/opt/openoffice-3.1/usr/lib/:/opt/openoffice-3.1/usr/lib/openoffice/basis-link/ure-link/lib/:/opt/openoffice-3.1/usr/lib/openoffice/basis-link/program/ && /opt/openoffice-3.1/usr/lib/openoffice/program/soffice "$1"

Many thanks to AugustePop for the hint on LD_LIBRARY_PATH

Happy arching

Offline

Board footer

Powered by FluxBB