Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-28-2006, 09:14 PM
|
#1
|
Member
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512
Rep:
|
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.
|
|
|
08-28-2006, 09:57 PM
|
#2
|
Member
Registered: Jun 2006
Distribution: messed up debian
Posts: 250
Rep:
|
check your syslogd
|
|
|
08-28-2006, 10:07 PM
|
#3
|
Member
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512
Original Poster
Rep:
|
Do you mean "/var/log/syslog" ?
|
|
|
08-29-2006, 07:43 AM
|
#4
|
Senior Member
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914
Rep:
|
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
|
|
|
08-29-2006, 08:15 AM
|
#5
|
Slackware Contributor
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 632
|
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.
|
|
|
08-29-2006, 08:31 AM
|
#6
|
LQ Newbie
Registered: Jan 2006
Location: Brooklyn, NY
Distribution: Slackware 12.0
Posts: 18
Rep:
|
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.
|
|
|
08-29-2006, 08:35 AM
|
#7
|
Member
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512
Original Poster
Rep:
|
Thanks to all for the replies. I removed "/tmp/OSL_PIPE_1000_SingleOfficeIPC_9dda32a3d73215f86e9477f2b93d23" and it worked again.
|
|
|
All times are GMT -5. The time now is 10:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|