LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-28-2006, 09:14 PM   #1
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
OpenOffice.org does not start


I use Slackware -current and have downloaded "OOo_2.0.2_LinuxIntel_install.tar.gz" from the OpenOffice.org site. I then made Slackware packages by using this script.
OpenOffice.org always worked, until now. I have no idea what is wrong. When I start it from the commandline, I get no feedback.
 
Old 08-28-2006, 09:57 PM   #2
isuck@linux
Member
 
Registered: Jun 2006
Distribution: messed up debian
Posts: 250

Rep: Reputation: 30
check your syslogd
 
Old 08-28-2006, 10:07 PM   #3
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Original Poster
Rep: Reputation: 31
Do you mean "/var/log/syslog" ?
 
Old 08-29-2006, 07:43 AM   #4
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
I'd try building from source. OOO is known to have issues with Xorg-6.9/7.x even on version 2.0.3.....

Could be your problem. Here is a preliminary build script I used on my powerbook that is Slackware based. Should work just fine on Slackware. The patches are from BLFS so you can find them there. You'll probably want to take care of the "FIXME" tho... Not sure what I was thinking there...

If I actually used OOO, I would fix the script. As it stands now, it's in the 'I don't care' directory of my build scripts.

Code:
#!/bin/sh
#
# $CFLAGS are set globaly in /etc/bashrc

CWD=`pwd`
TEMP=/tmp
PKGNAME=openoffice
PKG=$TEMP/package-$PKGNAME
VERSION=2.0.3
SRCNAME=OOo_2.0.3_src
DIRNAME=OOC680_m7
PKGVER=${VERSION}
ARCH=powerpc
BUILD=1

rm -rf $PKG
mkdir -p $PKG/{install,opt,usr/bin}
mkdir -p $PKG/usr/share/{applications,icons}

cd $TEMP
echo
echo "$PKGNAME-$VERSION source is now extracting..."
rm -rf $DIRNAME
tar xzf $CWD/$SRCNAME.tar.gz
cd $DIRNAME
chown -R root.root .
patch -Np1 -i $CWD/patches/OOo_2.0.3-no_pam.patch
patch -Np1 -i $CWD/patches/OOo_2.0.3-system_mozilla_fixes.patch
patch -Np1 -i $CWD/patches/OOo_2.0.3-xauth.patch
# Ditch the pentiumpro flag:
if [ "$ARCH" = "i686" ]; then
   sed -i '/^ARCH_FLAGS\*=/d' solenv/inc/unx{lngi{4,5,6},fbsdi}.mk
fi
# FIXME - OOO doesn't seem to like IBM's JDK.. Look into it....
if [ "$ARCH" = "powerpc" ]; then
   NOJAVA=--without-java
fi
# FIXME: This is ass backwards. Remove --with-system-libs and
# just specify what internal libs you want to use... Using the
# system neon craped out. Also, Berkley is too new. The rest
# *=no are not installed on my system.
cd config_office
autoreconf
./configure --prefix=/opt/$PKGNAME-$VERSION \
    --with-system-libs \
    --with-system-python \
    --with-system-db=no \
    --with-system-hsqldb=no \
    --with-system-beanshell=no \
    --with-system-xml-apis=no \
    --with-system-xerces=no \
    --with-system-xalan=no \
    --with-system-sablot=no \
    --with-system-nas=no \
    --with-system-portaudio=no \
    --with-system-agg=no \
    --with-system-neon=no \
    --disable-fontooo \
    --without-fonts \
    --disable-binfilter \
    --with-package-format=native \
    --with-build-version="Slackware Linux" \
    --with-dict=ENUS \
    --with-system-mozilla \
    --with-firefox \
    $NOJAVA
# Possible build failure:
unset LANG LC_ALL

# Make
cd ../
./bootstrap
if [ "$ARCH" = "i686" ]; then
   . LinuxIntelEnv.Set.sh
fi
if [ "$ARCH" = "powerpc" ]; then
   . LinuxPPCEnv.Set.sh
fi
dmake

# Install
if [ "$ARCH" = "i686" ]; then
   cd instsetoo_native/unxlngi6.pro/OpenOffice/native/install/en-US/linux-2.6-intel/buildroot/opt
   cp -r -v openoffice.org2.0 $PKG/opt/$PKGNAME-$VERSION
fi
if [ "$ARCH" = "powerpc" ]; then
   cd instsetoo_native/unxlngppc.pro/OpenOffice/native/install/en-US/linux-2.6-ppc/buildroot/opt
   cp -r -v openoffice.org2.0 $PKG/opt/$PKGNAME-$VERSION
fi

# Link the binaries
cd $PKG/usr/bin
for app in sbase scalc sdraw simpress smath soffice spadmin swriter
do
   ln -svf ../../opt/$PKGNAME-$VERSION/program/$app $app
done

# Icons:
cd $TEMP/$DIRNAME/sysui/desktop/icons
find . -type d -name CVS | xargs rm -rf
cp -r -v HighContrast $PKG/usr/share/icons
cp -r -v hicolor $PKG/usr/share/icons

# Desktop files
cd $PKG/opt/$PKGNAME-$VERSION/share/xdg
for dsktp in *.desktop
do
    sed -i '/Exec/d' $dsktp
    echo "Exec=/usr/bin/s`echo $dsktp | sed 's/.desktop//'`" >> $dsktp
    sed -i '/Icon/d' $dsktp
    echo "Icon=`echo $dsktp | sed 's/.desktop//'`" >> $dsktp
done
sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop
cp -v *.desktop $PKG/usr/share/applications

# Compress and strip
( cd $PKG
  find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
  find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null )

# Make the package description:
cat << EOF > $PKG/install/slack-desc
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.

          |-----handy-ruler----------------------------------------------------|
openoffice: openoffice (office productivity suite)
openoffice:
openoffice: OpenOffice is a multi-platform office productivity suite. It
openoffice: includes the key desktop applications, such as a word processor,
openoffice: spreadsheet, presentation manager, and drawing program, with a
openoffice: user interface and feature set similar to other office suites.
openoffice: Sophisticated and flexible, OpenOffice.org also works
openoffice: transparently with a variety of file formats, including those
openoffice: of Microsoft Office, and the vendor-neutral OpenDocument standard
openoffice: from OASIS.
openoffice:
EOF

# Build the package:
cd $PKG
makepkg -l y -c n $TEMP/$PKGNAME-$PKGVER-$ARCH-$BUILD.tgz
 
Old 08-29-2006, 08:15 AM   #5
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
I have some similar problem. OOo does actually start, but quits without warnings.
But I can start it as root with no problems and also sudo does work fine.

I did find a forum-entry somewhere over google, but can't remember the link. Did tell something about using "strace" to see what's going on, but no solution.

Did fall back to build ooo also from source, but have no time to actually try it.

Last edited by ppr:kut; 08-29-2006 at 08:17 AM.
 
Old 08-29-2006, 08:31 AM   #6
MariuszK
LQ Newbie
 
Registered: Jan 2006
Location: Brooklyn, NY
Distribution: Slackware 12.0
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by merchtemeagle
I use Slackware -current and have downloaded "OOo_2.0.2_LinuxIntel_install.tar.gz" from the OpenOffice.org site. OpenOffice.org always worked, until now. I have no idea what is wrong. When I start it from the commandline, I get no feedback.
I had similar issue few months ago, hope this helps. I removed some stale sockets in /tmp. They began like OSL_PIPE_0_SingleOffice...

Mariusz

Last edited by MariuszK; 08-29-2006 at 11:20 AM.
 
Old 08-29-2006, 08:35 AM   #7
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Original Poster
Rep: Reputation: 31
Thanks to all for the replies. I removed "/tmp/OSL_PIPE_1000_SingleOfficeIPC_9dda32a3d73215f86e9477f2b93d23" and it worked again.
 
  


Reply



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
OpenOffice.org: Microsoft Buys OpenOffice.org! nx5000 General 6 04-03-2006 02:15 AM
LXer: IBM, Sun (and OpenOffice!) Say "No Way" to VNUnet OpenOffice.org Control Story LXer Syndicated Linux News 0 02-09-2006 03:01 AM
OpenOffice.org will not launch / start up hfinger Mandriva 2 09-15-2004 12:01 AM
OpenOffice.org 1.1.0rc3 - registration msg keeps popping up on program start Locura Linux - Software 12 09-30-2003 10:02 AM

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

All times are GMT -5. The time now is 06:33 AM.

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
Open Source Consulting | Domain Registration