Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenOffice 2.4.1 crashes when starting
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ben72
n00b
n00b


Joined: 06 Nov 2006
Posts: 30

PostPosted: Tue Jun 17, 2008 4:43 pm    Post subject: OpenOffice 2.4.1 crashes when starting Reply with quote

Hello Folks,
i've just made an RSYNC for latest portage and packages, i'm getting troubles with openoffice 2.4.1.
After emerging it, from root user i get:

~ # ooffice
/usr/lib/openoffice/program/soffice: line 254: 8220 Segmentation fault "$sd_prog/$sd_binary" "$@"

i've tried to emerge package as "openoffice" as well as "openoffice-bin", latest message comes from openoffice-bin package

here are my configs:
~ # cat /etc/make.conf
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j2"

GENTOO_MIRRORS=" \
http://trumpetti.atm.tut.fi/gentoo/ \
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ \
http://ftp.uni-erlangen.de/pub/mirrors/gentoo/ \
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ \
http://gentoo.inode.at/ \
http://gd.tuwien.ac.at/opsys/linux/gentoo/ \
http://ftp.club-internet.fr/pub/mirrors/gentoo/ \
ftp://ibiblio.org/pub/linux/distributions/gentoo/ \
"

USE="X gnome gtk -doc symlink -dlloader -ipv6 \
dbus sdl \
administrator query-browser workbench \
slang sasl jpeg png \
ads acl kerberos cups pam winbind ldap \
"
VIDEO_CARDS="fglrx"

i've previously had openoffice 2.3.x installed and everything worked fine, can someone tell me what i did wrong ?
please let me know if you need more information from the configuration i've.
I'm running Gentoo on a P4, 3Mb Ram machine (x86 32 bit)

Kind Regards

Andrea (Ben) Benini
Back to top
View user's profile Send private message
noOneCares
n00b
n00b


Joined: 28 May 2006
Posts: 9

PostPosted: Tue Jun 17, 2008 4:54 pm    Post subject: Reply with quote

same problem here. worked until i updated yesterday...

do you have a solution yet?
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Wed Jun 18, 2008 6:19 pm    Post subject: Reply with quote

same problem here....

EDIT: I use gnome, with fluxbox oo.org works well....
Back to top
View user's profile Send private message
mousedrx
n00b
n00b


Joined: 20 Jun 2007
Posts: 27

PostPosted: Wed Jun 18, 2008 7:36 pm    Post subject: Reply with quote

I can not even compile openoffice 2.4.1
All it says after hours of compiling that scsolver symbols are not found...
[ebuild U ] app-office/openoffice-2.4.1 [2.3.1-r1] USE="cups dbus firefox gnome gstreamer gtk ldap opengl%* pam -binfilter -debug -eds -java -kde -mono -odk -seamonkey -xulrunner (-cairo%*) (-sound%) (-webdav%)"
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Wed Jun 18, 2008 8:21 pm    Post subject: Reply with quote

I found a workaround for my problem googling : set OOO_FORCE_DESKTOP=none as environment variable works well also in gnome.
I added this OOO_FORCE_DESKTOP="none" to /etc/env.d/99local
Back to top
View user's profile Send private message
ben72
n00b
n00b


Joined: 06 Nov 2006
Posts: 30

PostPosted: Thu Jun 19, 2008 1:03 pm    Post subject: Reply with quote

I'll try it now, give me a day and i'll report it back.
OpenOffice takes ages to get compiled (something like 10h)

by the way, as you i'm using Xorg with Gnome Desktop Environment, OS-X Theme (don't think this theme could make mistakes), maybe gnome or gentoo settings are the problem.

Andrea (Ben) Benini
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6655
Location: The soundosphere

PostPosted: Thu Jun 19, 2008 3:43 pm    Post subject: Reply with quote

If all else fails, try emerging openoffice-bin. I had the previous version of OO compiled, then the next version wouldn't compile. But openoffice-bin emerged just fine.

I've noticed OO has a lot of problems installing, so I'm glad someone just compiled some binaries that just run.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
psdasilva
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 239

PostPosted: Fri Jun 20, 2008 12:33 am    Post subject: Reply with quote

magowiz wrote:
I found a workaround for my problem googling : set OOO_FORCE_DESKTOP=none as environment variable works well also in gnome.
I added this OOO_FORCE_DESKTOP="none" to /etc/env.d/99local


This works for me, but is not a solution!

I'm going to downgrade until a solution is found.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6655
Location: The soundosphere

PostPosted: Fri Jun 20, 2008 2:37 am    Post subject: Reply with quote

Can I ask, out of curiosity, why some people are averse to openoffice-bin? I'm not picking on anyone. I've noticed that some folks just don't seem to want to, and now I'm wondering if there's some reason that the compiled e-build is better than the download-and-run binaries.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
ben72
n00b
n00b


Joined: 06 Nov 2006
Posts: 30

PostPosted: Fri Jun 20, 2008 12:14 pm    Post subject: Reply with quote

I've tried with and without openoffice-bin, it doesn't work with "openoffice" package and it doesn't work with "openoffice-bin" package. Now after Magowiz suggestions i've added:
OOO_FORCE_DESKTOP=none into a new /etc/env.d/99local file
and i've even setup:
LINGUAS="it en"
in my /etc/make.conf file (please see my original one in the top of the thread)

now after reemerging and compiling world i finally got this message:

~ # ooffice
I18N: Operating system doesn't support locale "en_US"
/usr/lib/openoffice/program/soffice: line 254: 11354 Segmentation fault "$sd_prog/$sd_binary" "$@"
~ # locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
~ #

from root account, i get the same result from local account
~ $ ooffice
/usr/lib/openoffice/program/soffice: line 254: 11423 Segmentation fault "$sd_prog/$sd_binary" "$@"
~ $ locale
LANG=it_IT@euro
LC_CTYPE="it_IT@euro"
LC_NUMERIC="it_IT@euro"
LC_TIME="it_IT@euro"
LC_COLLATE="it_IT@euro"
LC_MONETARY="it_IT@euro"
LC_MESSAGES="it_IT@euro"
LC_PAPER="it_IT@euro"
LC_NAME="it_IT@euro"
LC_ADDRESS="it_IT@euro"
LC_TELEPHONE="it_IT@euro"
LC_MEASUREMENT="it_IT@euro"
LC_IDENTIFICATION="it_IT@euro"
LC_ALL=

I've tried with openoffice as well as openoffice-bin package, same results from both
Can someone help me to fix this ?

Thank in advance
Ben
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6655
Location: The soundosphere

PostPosted: Fri Jun 20, 2008 1:13 pm    Post subject: Reply with quote

Ben,

I know this doesn't solve your problem with emerging it, but what about going to openoffice.org and downloading it? From your LINGUAS flag it looks like you want Italian and English, and there is a download at openoffice.org for Italian. Their web site says it would be an RPM for linux, but you can certainly extract from RPMs on Gentoo if you want to try this.

I have for a couple of things not been successful in emerging a package and went and compiled it (or simply installed it) from a web site. It means you have to do updates for that software yourself, but it usually bypasses whatever the holdup is on the Gentoo system, and sometimes when there's an update on portage, things fix themselves. Thought it would be worth mentioning.

One more thing, which doesn't always work for me, but has once or twice: comment out all the extra stuff in make.conf (comment out all USE and LINGUAS flags, etc. Don't comment out the basics like CFLAGS). Same problem as above - you have to remember what you did and hope a future update through portage fixes it. Also, if you're using ~arch (like ACCEPT_KEYWORDS="~x86"), try commenting that out.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
ben72
n00b
n00b


Joined: 06 Nov 2006
Posts: 30

PostPosted: Fri Jun 20, 2008 10:45 pm    Post subject: Reply with quote

Hi again,
i've never tried to solve problem by downloading rpms from openoffice site, in two years i've downloaded each single package and compiled it without troubles, including OpenOffice, no troubles with these packages since few days ago (OpenOffice 2.4.1, previous 2.2.x was working fine).
I didn't changed make.conf or other files, my previous portage update was maded in the same conditions, is there someone else who has solved this problem with OO ?
Back to top
View user's profile Send private message
ova
Retired Dev
Retired Dev


Joined: 06 Nov 2003
Posts: 120
Location: Russia, Moscow

PostPosted: Sat Jun 21, 2008 7:36 am    Post subject: Reply with quote

This bug was fixed. Take a look at https://bugs.gentoo.org/show_bug.cgi?id=225853 for further details.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Jun 21, 2008 11:25 am    Post subject: Reply with quote

there's another bug with openoffice 2.4.1 which appeared 2-3 days ago for me:

https://bugs.gentoo.org/show_bug.cgi?id=228703

if the above tips don't work, try to following:

Code:
1. killall -9 soffice.bin
2. declare -x LC_ALL="en_US"
3. oowriter

_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
mousedrx
n00b
n00b


Joined: 20 Jun 2007
Posts: 27

PostPosted: Sat Jul 19, 2008 5:42 am    Post subject: Reply with quote

Does anoyone tried to compile openoffice?
on my machine,
Code:

[ebuild     U ] app-office/openoffice-2.4.1 [2.3.1-r1] USE="cups dbus firefox gnome gstreamer gtk java* ldap opengl%* pam -binfilter -debug -eds -kde -mono -odk -seamonkey -xulrunner (-cairo%*) (-sound%) (-webdav%)" LINGUAS="en ru -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en_GB -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -rw -sh% -sk -sl -sr% -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu (-sh_YU%) (-sr_CS%)" 0 kB

this crashes with the following message:
Code:

../unxlngi6.pro/slo/dialog.o: In function `scsolver::SolverDialog::initialize()':
dialog.cxx:(.text+0x1dac): undefined reference to `void scsolver::ObjProperty::setPropertyValue<com::sun::star::uno::Any>(char const*, com::sun::star::uno::Any const&)'
dialog.cxx:(.text+0x1eaa): undefined reference to `void scsolver::ObjProperty::setPropertyValue<com::sun::star::uno::Any>(char const*, com::sun::star::uno::Any const&)'
../unxlngi6.pro/slo/dialog.o: In function `scsolver::ConstEditDialog::initialize()':
dialog.cxx:(.text+0x2c58): undefined reference to `void scsolver::ObjProperty::setPropertyValue<com::sun::star::uno::Any>(char const*, com::sun::star::uno::Any const&)'
dialog.cxx:(.text+0x2c76): undefined reference to `void scsolver::ObjProperty::setPropertyValue<com::sun::star::uno::Any>(char const*, com::sun::star::uno::Any const&)'
dialog.cxx:(.text+0x2c90): undefined reference to `void scsolver::ObjProperty::setPropertyValue<com::sun::star::uno::Any>(char const*, com::sun::star::uno::Any const&)'
../unxlngi6.pro/slo/dialog.o:dialog.cxx:(.text+0x2cae): more undefined references to `void scsolver::ObjProperty::setPropertyValue<com::sun::star::uno::Any>(char const*, com::sun::star::uno::Any const&)' follow
collect2: ld returned 1 exit status
dmake:  Error code 1, while making '../unxlngi6.pro/lib/scsolver.uno.so'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /home/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/scsolver/util
make: *** [stamp/build] Error 1
 *
 * ERROR: app-office/openoffice-2.4.1 failed.
 * ...


If anyone has clues;
_________________
Anything-but-Micro$oft.
Back to top
View user's profile Send private message
ova
Retired Dev
Retired Dev


Joined: 06 Nov 2003
Posts: 120
Location: Russia, Moscow

PostPosted: Sat Jul 19, 2008 8:19 am    Post subject: Reply with quote

Yes, I've tried and succeed many times in different configurations (I had to do that to localize different problem which was dependent on USE flags and it is not issue with the current ebuild). So it should build. If you have problem report it at bugs.gentoo.org and show your emerge --info there. Also don't forgive to show a little bit more of output there.
Back to top
View user's profile Send private message
Apollyon
n00b
n00b


Joined: 10 Mar 2003
Posts: 22
Location: Spain

PostPosted: Mon Jul 21, 2008 9:32 am    Post subject: Reply with quote

I'm having the same problem as described in #228703, except that for me it doesn't even work with LC_ALL="en_US". The only way I can get OpenOffice to run properly is if I use the -norestore flag.

2.4.0 worked fine but I can't downgrade because its no longer in portage. Why was it removed if there were problems with the latest version?? Can someone (suka?) please put it back?
Back to top
View user's profile Send private message
ova
Retired Dev
Retired Dev


Joined: 06 Nov 2003
Posts: 120
Location: Russia, Moscow

PostPosted: Mon Jul 21, 2008 10:31 am    Post subject: Reply with quote

2.4.0 has security issues and such packages are to be removed from the tree. There is no way back. If you really need that old ebuild, you can download them e.g from webcvs. Also there is buildpkg FEATURE of portage or quickpkg program which allow you to have built version of the package at hand in case (like this) you wish to downgrade package. If you don't know about them, search the web and learn them and it'll be possible to install previous version without need to rebuild package ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum