LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-09-2008, 06:57 PM   #1
dr.karabas
LQ Newbie
 
Registered: May 2008
Posts: 15

Rep: Reputation: 0
building openoffice 3 dev m17


Hi! I'm trying tu build open office 3 dev m17 and I get this error:
Quote:
/dane/Oo/DEV300_m17/transex3/layout
------------------------------
Making: ../unxlngx6.pro/obj/tralay.obj
x86_64-pc-linux-g++ -Wreturn-type -fmessage-length=0 -c -O2 -fno-strict-aliasing -Wuninitialized -I. -I../unxlngx6.pro/misc -I../unxlngx6.pro/inc/tralay -I../inc -I../inc/pch -I../inc -I../unx/inc -I../unxlngx6.pro/inc -I. -I/dane/Oo/DEV300_m17/solver/300/unxlngx6.pro/inc/stl -I/dane/Oo/DEV300_m17/solver/300/unxlngx6.pro/inc/external -I/dane/Oo/DEV300_m17/solver/300/unxlngx6.pro/inc -I/dane/Oo/DEV300_m17/solenv/unxlngx6/inc -I/dane/Oo/DEV300_m17/solenv/inc -I/dane/Oo/DEV300_m17/res -I/dane/Oo/DEV300_m17/solver/300/unxlngx6.pro/inc/stl -I/dane/Oo/DEV300_m17/solenv/inc/Xp31 -I/usr/lib/java/include -I/usr/lib/java/include/linux -I/usr/lib/java/include/native_threads/include -I/usr/include -I/dane/Oo/DEV300_m17/solver/300/unxlngx6.pro/inc/offuh -I. -I../res -I. -pipe -Wno-ctor-dtor-privacy -fno-use-cxa-atexit -fvisibility-inlines-hidden -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -DLINUX -DUNX -DVCL -DGCC -DC341 -DX86_64 -DCVER=C341 -DNPTL -DGLIBC=2 -DX86_64 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/x86_64-pc-linux/4.2.3/../../../../include/c++/4.2.3 -DSUPD=300 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DDEV300=DEV300 -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON -o ../unxlngx6.pro/obj/tralay.o /dane/Oo/DEV300_m17/transex3/layout/tralay.cxx
/dane/Oo/DEV300_m17/transex3/layout/tralay.cxx: In member function 'void TranslateLayout::MergeLanguage(const ByteString&)':
/dane/Oo/DEV300_m17/transex3/layout/tralay.cxx:186: error: no matching function for call to 'SimpleXMLParser::Execute(String, LayoutXMLFile*&)'
../inc/xmlparse.hxx:546: note: candidates are: XMLFile* SimpleXMLParser::Execute(const String&, const String&, XMLFile*)
../inc/xmlparse.hxx:551: note: XMLFile* SimpleXMLParser::Execute(SvMemoryStream*)
dmake: Error code 1, while making '../unxlngx6.pro/obj/tralay.obj'

ERROR: Error 65280 occurred while making /dane/Oo/DEV300_m17/transex3/layout
dmake: Error code 1, while making 'build_instsetoo_native'
does anybody know how to deal with it?
 
Old 06-09-2008, 10:43 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,703

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
i think it's easier to use the rpm and convert it using rpm2tgz
 
Old 06-09-2008, 11:46 PM   #3
dr.karabas
LQ Newbie
 
Registered: May 2008
Posts: 15

Original Poster
Rep: Reputation: 0
tried that already... didn't work well...
 
Old 06-10-2008, 02:58 AM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 7,705

Rep: Reputation: 2985Reputation: 2985Reputation: 2985Reputation: 2985Reputation: 2985Reputation: 2985Reputation: 2985Reputation: 2985Reputation: 2985Reputation: 2985Reputation: 2985
Or use RPM to install the RPMs. RPM is part of Slackware.

Use the --nodeps switch.
 
Old 06-14-2008, 07:16 AM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,703

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
it's not supported though
 
Old 06-14-2008, 11:44 AM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,881

Rep: Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564
Xou might try converting the binary rpm using src2pkg -should do a better job than rpm2tgz.

As to the original error, though, you need the perl SimpleXML module. For compiling OOO from source you will probably need lots of other things which are not included in Slackware.
 
Old 06-14-2008, 03:20 PM   #7
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 7,705

Rep: Reputation: 2985Reputation: 2985Reputation: 2985Reputation: 2985Reputation: 2985Reputation: 2985Reputation: 2985Reputation: 2985Reputation: 2985Reputation: 2985Reputation: 2985
Another possibility (which hasn't been mentioned yet) is to use alien to convert the RPMs.
 
Old 06-15-2008, 07:34 AM   #8
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 14
Posts: 330

Rep: Reputation: 46
Hi,

I was looking for a rainy day project yesterday so...
I built this using (or should I say butchering) Robby's slackbuild script for 2.4.
I'm pretty new at this so please feel free to check my work and comment.

I put the following in my build directory:

OOo-Dev_DEV300_m19_LinuxIntel_install_en-US.tar.gz
openoffice.org.SlackBuild
slack-desc

I removed the following RPM's from the source archive:

jre-6u6-linux-i586.rpm
ooobasis-dev3.0-gnome-integration-3.0.0-9317.i586.rpm
ooobasis-dev3.0-kde-integration-3.0.0-9317.i586.rpm

I edited the SlackBuild to look like this:

Code:
#!/bin/bash

# Slackware build script for OpenOffice.org (binary repackaging)

# Copyright 2006-2008  Robby Workman, Northport, Alabama, ASA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
#
#  THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
#  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
#  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO
#  EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
#  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
#  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
#  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
#  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
#  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

PRGNAM=openoffice.org
VERSION=DEV300_m19
ARCH=i586
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

OOLANG=${OOLANG:-en-US}
PKG_LANG=$(echo $OOLANG | sed s/-/_/)

set -e

SOURCEDIR=$(tar -tzf $CWD/OOo-Dev_${VERSION}_LinuxIntel_install_${OOLANG}.tar.gz | head -1 | tr -d \/)

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SOURCEDIR
tar xvf $CWD/OOo-Dev_${VERSION}_LinuxIntel_install_${OOLANG}.tar.gz
cd $SOURCEDIR/RPMS/
for FILE in *.rpm ; do rpm2cpio < $FILE | cpio -imdv ; done
mv opt $PKG
cd $PKG

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

chown -R root:root .
find . -type d -exec chmod 755 {} \;
chmod -R u+rw,go+r-w,a-s .
/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-${VERSION}_${PKG_LANG}-$ARCH-$BUILD$TAG.tgz
It builds fine and the resulting package installs everything to /opt/ooo-dev and /opt/ooo-dev3.
I intentionally left out all desktop integration.
Nothing installs outside of the /opt directory (no docs, symlinks, etc).
The package uninstalls cleanly and has no interaction with OpenOffice 2.4.

The startup scripts are in /opt/ooo-dev3/program/.

You can symlink to them or create your own menu entries manually.

screenshot1

screenshot2

Dig
 
Old 06-15-2008, 09:28 PM   #9
dr.karabas
LQ Newbie
 
Registered: May 2008
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks simplexml was the one I needed

Quote:
Originally Posted by gnashley View Post
Xou might try converting the binary rpm using src2pkg -should do a better job than rpm2tgz.

As to the original error, though, you need the perl SimpleXML module. For compiling OOO from source you will probably need lots of other things which are not included in Slackware.
 
Old 06-16-2008, 09:30 PM   #10
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 14
Posts: 330

Rep: Reputation: 46
Hi dr.karabas,

Very glad you got everything worked out. I posted the slackbuild info because I love playing around with Slackware and I thought others might benefit from building the package as I did. It was just for information purposes only.

So what do you think of OpenOffice 3.0 so far?

I think it's pretty cool, and I especially like that the Optimization Solver in Calc is built in now.

Regards,

Dig
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using flash drive changes device /dev/sr0 to /dev/sr1 for mapping to /dev/pktcdvd/0? lugoteehalt Linux - Software 3 10-24-2007 11:27 AM
/dev/audio, /dev/dsp and /dev/mixer missing in Debian Etch 1337_penguin Debian 2 04-11-2007 12:33 PM
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 08:11 PM
building problems in openoffice sailajabhandaru Linux - Software 1 05-03-2005 08:21 AM
Building project jvmaccess error in compiling OpenOffice subirbp Debian 0 11-23-2004 05:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration