Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Openoffice won't install
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
quatsch
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2005
Posts: 104
Location: New York, NY

PostPosted: Wed Jul 12, 2006 1:14 am    Post subject: Reply with quote

I've got
hunspell-1.1.4-r1

it's marked stable for ppc.

Edit: maybe you could try ACCEPT_KEYWORDS="~x86" emerge -pv openoffice to see what gets pulled in. For me it did emerge things that are not in ppc stable.
Back to top
View user's profile Send private message
jaspal kallar
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 194
Location: Sweden

PostPosted: Wed Jul 12, 2006 11:23 am    Post subject: Reply with quote

fyi, after compiling the with latest stable hunspell and python,app-office/openoffice-2.0.3 installed (it always compiled successfully). My flags for app-office/openoffice:
Code:
app-office/openoffice-2.0.3  USE="java kde pam -binfilter -cairo -debug -eds -firefox -gnome -gtk -ldap -odk -xml" LINGUAS="-af -ar -be_BY -bg -bn -bs -ca -cs -cy -da -de -el -en -en_GB -en_US -en_ZA -es -et -fa -fi -fr -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -lt -mk -nb -nl -nn -nr -ns -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -th -tn -tr -ts -vi -xh -zh_CN -zh_TW -zu"

i.e I have kde and java.

My CFLAGS:
Code:
CFLAGS="-O3 -mcpu=G5 -mabi=altivec -maltivec"


and I have
Code:
[ebuild   R   ] sys-devel/gcc-4.1.1
[ebuild   R   ] sys-libs/glibc-2.4-r3


Also with java I usually do:
Code:
export JAVA_COMPILER=NONE

I'm not sure if it is needed but I have forced to do it in the past to openoffice2 to compile.

I have briefly tested app-office/openoffice-2.0.3 and the drop dowm menu's are visible but moving the mouse to select and option does not get shaded although they do work. I have xorg 7.1
Back to top
View user's profile Send private message
quatsch
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2005
Posts: 104
Location: New York, NY

PostPosted: Wed Jul 12, 2006 4:04 pm    Post subject: Reply with quote

jaspal kallar wrote:
the drop dowm menu's are visible but moving the mouse to select and option does not get shaded although they do work. I have xorg 7.1


The drop down menus work the way they should over here. I don't have kde in my use-flags. I just have gtk since I use Xfce as my desktop.
Back to top
View user's profile Send private message
mwallace
n00b
n00b


Joined: 08 Jul 2006
Posts: 52
Location: Frankfurt/Germany

PostPosted: Thu Jul 13, 2006 7:54 pm    Post subject: Reply with quote

So maybe we should try to find out if there is a way to fix this problem with KDE? Any issues with other Desktops?
Back to top
View user's profile Send private message
DirtyHairy
l33t
l33t


Joined: 03 Jul 2006
Posts: 608
Location: Würzburg, Deutschland

PostPosted: Fri Jul 14, 2006 9:10 am    Post subject: Reply with quote

So, after several tries, it works for me, too. I had to upgrade hunspell and to set empty CFLAGS. Also, I (surprisingly) caught a SIGHUP several times, when starting the ebuild via ssh and nohup (I always thought this would prevent exactly this problem).
As for the menu problem, I can't say I have noticed it (I use KDE and compiled openoffice with -kde +gtk +gnome).
Back to top
View user's profile Send private message
jaspal kallar
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 194
Location: Sweden

PostPosted: Fri Jul 14, 2006 1:51 pm    Post subject: Reply with quote

Quote:
I have briefly tested app-office/openoffice-2.0.3 and the drop dowm menu's are visible but moving the mouse to select and option does not get shaded although they do work. I have xorg 7.1


Quote:
So maybe we should try to find out if there is a way to fix this problem with KDE? Any issues with other Desktops?



Just like to add the the drop down menus work as they should with fluxbox. So it appears that the problem could be KDE related.
Back to top
View user's profile Send private message
/albert
n00b
n00b


Joined: 17 Jan 2005
Posts: 58

PostPosted: Tue Jul 18, 2006 9:26 am    Post subject: Reply with quote

Hi

I tried it several times, again and again.
It takes very long on my machine, up to ~24 hours. (I think it is to long, but I don't know any reason for this. It is a iBook G4 with 1,33 Ghz, I think it has to be faster.)
And now at the end, I get it to work! I tried different CFLAG-settings and there was anew ebuild (same version, in every case 2.0.3, but the new ebuild want to download some new files; the other ebuilds of older versions are removed now completly).

My first problem was the IBM Java IDK 1.4.2.5. There are some trouble with it (after ~8 hours compiling) so I removed simply the USE-flag because I don't know if I need any java-stuff from OpenOffice (what contains it exactly?).

Then I always used the following USE-flags:
[ebuild R ] app-office/openoffice-2.0.3 USE="cairo eds firefox gnome gtk ldap pam xml -binfilter -debug -java -kde -mono -odk" LINGUAS="de -af -ar -be_BY -bg -bn -bs -ca -cs -cy -da -el -en -en_GB -en_US -en_ZA -es -et -fa -fi -fr -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -lt -mk -nb -nl -nn -nr -ns -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -th -tn -tr -ts -vi -xh -zh_CN -zh_TW -zu" 0 kB

My last 2 tries are with the new ebuild.
First I tried it with this CFLAGS:
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -pipe"
This don't work, same error as described here while installing (something with "can't register all components").

Then I changed it to:
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
And now, everything went fine and it's working good (can't see any problems at the moment; using Gnome 2.14).

This is perhaps also interesting for you (my glibc and gcc version; they never changed while trying to install OpenOffice):
[ebuild R ] sys-libs/glibc-2.4-r3 USE="nls nptl nptlonly -build -glibc-omitfp -hardened -profile" 0 kB
[ebuild R ] sys-devel/gcc-4.1.1 USE="altivec fortran gtk nls objc -bootstrap -build -doc -gcj -hardened -ip32r10k -mudflap -multislot -nocxx -objc++ -objc-gc -vanilla" 0 kB

To the differences with the CFLAGS:
Is the 740 much older than the G4 or why does it work now? Is the -mtune option not inherited by -mcpu?

Albert
Back to top
View user's profile Send private message
Sodki
Guru
Guru


Joined: 11 Aug 2003
Posts: 419
Location: London, U.K. & Lisbon, Portugal

PostPosted: Mon Jul 24, 2006 10:04 am    Post subject: Reply with quote

/albert wrote:
My first problem was the IBM Java IDK 1.4.2.5. There are some trouble with it (after ~8 hours compiling) so I removed simply the USE-flag because I don't know if I need any java-stuff from OpenOffice (what contains it exactly?).

OpenOffice.org's help needs Java support. Also, some presentations in Impress need Java support. There's probably more stuff that requires Java, but these are the only 2 I know of.


Quote:
My last 2 tries are with the new ebuild.
First I tried it with this CFLAGS:
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -pipe"
This don't work, same error as described here while installing (something with "can't register all components").

Then I changed it to:
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
And now, everything went fine and it's working good (can't see any problems at the moment; using Gnome 2.14).

If you got it working, I should too. Can you please tell me how much RAM do you have and how much swapspace do you have?


Quote:
To the differences with the CFLAGS:
Is the 740 much older than the G4 or why does it work now? Is the -mtune option not inherited by -mcpu?

Disclaimer: I don't know what I'm talking about, but...

G4 CPUs can be 7400 (older G4) or 7450 (newer). I read somewhere that in GCC 3.2 the 7450 optimization code could still have problems. I don't know if those were fixed or not and I don't know if in your case GCC translates G4 in 7400 or 7450. That could be an explanation, but... I don't really know what i'm talking about. :)
Back to top
View user's profile Send private message
/albert
n00b
n00b


Joined: 17 Jan 2005
Posts: 58

PostPosted: Mon Jul 24, 2006 11:09 am    Post subject: Reply with quote

This is $(cat /proc/cpuinfo):
processor : 0
cpu : 7447A, altivec supported
clock : 1333.333000MHz
revision : 0.2 (pvr 8003 0102)
bogomips : 73.47
timebase : 18432000
platform : PowerMac
machine : PowerBook6,5
motherboard : PowerBook6,5 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags : 0000001b
L2 cache : 512K unified
pmac-generation : NewWorld

Not an 7450, but a 7447. Perhaps your explanation can be right in the way that GCC tries more optimationing with this G4.

I have 768MB RAM and a 512MB swap partition. I also have about 10GB free space on my root partition (this includes /var/tmp and everything).
Back to top
View user's profile Send private message
Sodki
Guru
Guru


Joined: 11 Aug 2003
Posts: 419
Location: London, U.K. & Lisbon, Portugal

PostPosted: Mon Jul 24, 2006 12:35 pm    Post subject: Reply with quote

/albert wrote:
Not an 7450, but a 7447. Perhaps your explanation can be right in the way that GCC tries more optimationing with this G4.

According to Wikipedia, the 7447 evolved from the 7450, so the explanation might still be valid. I'll try to compile OpenOffice.org with your settings and see if it works for me.
Back to top
View user's profile Send private message
Sodki
Guru
Guru


Joined: 11 Aug 2003
Posts: 419
Location: London, U.K. & Lisbon, Portugal

PostPosted: Tue Jul 25, 2006 10:02 pm    Post subject: Reply with quote

Thanks, using -mcpu=7400 worked for me too, while -mcpu=g4 didn't work. Maybe it should be filtered for ppc?
Back to top
View user's profile Send private message
mwallace
n00b
n00b


Joined: 08 Jul 2006
Posts: 52
Location: Frankfurt/Germany

PostPosted: Fri Aug 18, 2006 8:57 pm    Post subject: Reply with quote

There is still one problem with OOo on my machine: If I want to open a file with OOo directly from konqueror, Openoffice starts, the splashscreen appears, and after that: nothing. the main window with the opened document does not appear. I have to start i.e. Writer manually and open the document via the File open dialog. Strange.
Anybody with the same problem?
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Sat Aug 19, 2006 3:53 am    Post subject: Reply with quote

mwallace wrote:
There is still one problem with OOo on my machine: If I want to open a file with OOo directly from konqueror, Openoffice starts, the splashscreen appears, and after that: nothing. the main window with the opened document does not appear. I have to start i.e. Writer manually and open the document via the File open dialog. Strange.
Anybody with the same problem?

Does it happens when you "click" on the file in the konqueror or you right-click and choose
to open with OOo from the menu or both? I don't suffer from this problem.
Back to top
View user's profile Send private message
mwallace
n00b
n00b


Joined: 08 Jul 2006
Posts: 52
Location: Frankfurt/Germany

PostPosted: Sat Aug 19, 2006 11:34 am    Post subject: Reply with quote

Now, that's strange: It's working! 8O I don't know what happened. It didn't work a few weeks ago.
Back to top
View user's profile Send private message
quickshiftin
Guru
Guru


Joined: 27 Jul 2004
Posts: 345
Location: Denver, CO

PostPosted: Fri Sep 01, 2006 5:59 pm    Post subject: Reply with quote

Sodki ~
did you compile with java enabled or disabled? on this topic i thought OO was written in java so can someone explain how it can be built w/o java support in the first place?

Pylon ~
i successfully installed your OO build, but all the menus are in German; can you tell me how to change these to English?

also here is output from /proc/cpuinfo on my machine:
Code:
processor       : 0
cpu             : 7447A, altivec supported
clock           : 1499.999000MHz
revision        : 0.5 (pvr 8003 0105)
bogomips        : 73.47
timebase        : 18432000
platform        : PowerMac
machine         : PowerBook6,8
motherboard     : PowerBook6,8 MacRISC3 Power Macintosh
detected as     : 287 (PowerBook G4 12")
pmac flags      : 0000001a
L2 cache        : 512K unified
pmac-generation : NewWorld


it is a 12" powerbook; i have been using the following to compile everything so far:
Code:
CFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-strict-aliasing -pipee"
CHOST="powerpc-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"


there have been issues compiling some packages, but in general emerge has been running fairly smoothly on a stage 3 build.
however, openoffice just wont merge; ive tried it about 4 or 5 times now at the expense of at least 3 hours every time.

tried last night w/o optimizations and it still failed, although it did seem to last longer then usual; i have saved the error output this time as well; maybe someone will recognize this??
Code:
register component 'javavm.uno.so' in registry '../../unxlngppc.pro/misc/bridgetest/bootstrap.rdb' succesful!
register component 'uriproc.uno.so' in registry '../../unxlngppc.pro/misc/bridgetest/bootstrap.rdb' succesful!
mkdir ../../unxlngppc.pro/lib/
mkdir: cannot create directory `../../unxlngppc.pro/lib/': File exists
cd ../../unxlngppc.pro/lib &&  regcomp -register -br uno_types.rdb -r uno_services.rdb\
        -c acceptor.uno.so \
        -c bridgefac.uno.so \
        -c connector.uno.so \
        -c remotebridge.uno.so \
        -c uuresolver.uno.so \
        -c bridgetest.uno.so \
        -c cppobj.uno.so \
        -c uriproc.uno.so \
        -c constructors.uno.so
register component 'acceptor.uno.so' in registry 'uno_services.rdb' succesful!
register component 'bridgefac.uno.so' in registry 'uno_services.rdb' succesful!
register component 'connector.uno.so' in registry 'uno_services.rdb' succesful!
register component 'remotebridge.uno.so' in registry 'uno_services.rdb' succesful!
register component 'uuresolver.uno.so' in registry 'uno_services.rdb' succesful!
register component 'bridgetest.uno.so' in registry 'uno_services.rdb' succesful!
register component 'cppobj.uno.so' in registry 'uno_services.rdb' succesful!
register component 'uriproc.uno.so' in registry 'uno_services.rdb' succesful!
register component 'constructors.uno.so' in registry 'uno_services.rdb' succesful!
regcomp -register -br ../../unxlngppc.pro/lib/uno_types.rdb -r ../../unxlngppc.pro/lib/uno_services.rdb \
        -c javaloader.uno.so -c javavm.uno.so
register component 'javaloader.uno.so' in registry '../../unxlngppc.pro/lib/uno_services.rdb' succesful!
register component 'javavm.uno.so' in registry '../../unxlngppc.pro/lib/uno_services.rdb' succesful!
regcomp -register  -br ../../unxlngppc.pro/misc/bridgetest/bootstrap.rdb -r ../../unxlngppc.pro/lib/uno_services.rdb -c \
        file:///var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/testtools/source/bridgetest/../../unxlngppc.pro/class/testComponent.jar \
        -env:URE_INTERNAL_JAVA_DIR=file:///var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngppc.pro/bin
using loader com.sun.star.loader.Java2
[Java framework]sunjavaplugin.so could not load Java runtime library:
file:///opt/ibm-jdk-bin-1.4.2.5/jre/bin/classic/libjvm.so.register component 'file:///var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/testtools/source/bridgetest/../../unxlngppc.pro/class/testComponent.jar' in registry '../../unxlngppc.pro/lib/uno_services.rdb' failed!
error (CannotRegisterImplementationException): Could not create Java implementation loader
dmake:  Error code 1, while making '../../unxlngppc.pro/lib/uno_services.rdb'
dmake:  '../../unxlngppc.pro/lib/uno_services.rdb' removed.
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/testtools/source/bridgetest
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.3 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  openoffice-2.0.3.ebuild, line 252:   Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Back to top
View user's profile Send private message
quickshiftin
Guru
Guru


Joined: 27 Jul 2004
Posts: 345
Location: Denver, CO

PostPosted: Fri Sep 01, 2006 7:09 pm    Post subject: Reply with quote

ok before anybody calls me out on it, i just noticed that i had
FLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-strict-aliasing -pipee"


i wonder how long thats been there! :oops:

i have since changed to
FLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-strict-aliasing -pipe"

that doesnt account for the OO compilation failure though; since i just tried to compile w/o any optimizations last night and failed
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Fri Sep 01, 2006 7:16 pm    Post subject: Reply with quote

@quickshiftin :

Some time ago I successfully built OpenOffice 2.0.3 on my G4 7447 Albook, multi-lingual, partially-optimized, with almost all USE flags enabled.
It is built against:
Code:

# ( for p in glibc sys-devel/gcc-4 hunspell myspell ibm-jdk-1.4; do equery -q list -i $p ; done )
[I--] [ -] sys-libs/glibc-2.4-r3 (2.2)
[I--] [ -] sys-devel/gcc-4.1.1 (4.1)
[I--] [  ] app-text/hunspell-1.1.4-r1 (0)
[I--] [  ] app-dicts/myspell-en-20060316 (0)
[I--] [  ] app-dicts/myspell-es-20060316 (0)
[I--] [ ~] dev-java/ibm-jdk-bin-1.4.2.04-r1 (1.4)


GCC was previously installed with USE flag "gcj" to enable java, which may or may not affect the openoffice build (I always enable it on all of my systems, so I do not know the consequences of disabling it).

Code:

# settings of openoffice builds
CFLAGS='-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec'
CXXFLAGS='-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec'
USE="binfilter cairo firefox gnome gtk java kde ldap pam xml -debug -eds -mono -odk"
LINGUAS="en en_GB es he zh_CN"


You are welcome to download the package from:
http://tstotts.net/~tas/oo/
I'll leave it up there for a few days.

EDIT x2 : fixed a few typos
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html


Last edited by timotheus25 on Fri Sep 01, 2006 8:11 pm; edited 2 times in total
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Fri Sep 01, 2006 7:37 pm    Post subject: Reply with quote

@quickshiftin :

[UNRELATED] Your CFLAGS are sub-optimal for your machine model. See: http://tstotts.net/linux/gentoopb.html. Also, did you notice that you are using FLAGS instead of CFLAGS?
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
Back to top
View user's profile Send private message
Sodki
Guru
Guru


Joined: 11 Aug 2003
Posts: 419
Location: London, U.K. & Lisbon, Portugal

PostPosted: Sat Sep 02, 2006 11:34 am    Post subject: Reply with quote

quickshiftin wrote:
Sodki ~
did you compile with java enabled or disabled? on this topic i thought OO was written in java so can someone explain how it can be built w/o java support in the first place?

I've built it without Java support, because it would fail otherwise. OOo is written mainly in C++, I believe, and only has a few parts in Java, like the help system and a few other things that can be important. For example, without Java support I cannot watch presentations in OOo's Impress.
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Sun Sep 03, 2006 6:57 am    Post subject: Reply with quote

Sodki wrote:

I've built it without Java support, because it would fail otherwise.

Strange. I've always built with Java to prevent the build from failing (since version 1.1 on PPC).
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
Back to top
View user's profile Send private message
quickshiftin
Guru
Guru


Joined: 27 Jul 2004
Posts: 345
Location: Denver, CO

PostPosted: Wed Sep 06, 2006 9:57 pm    Post subject: Reply with quote

i managed to have OO compile finally without java and with mcpu=7400

i have compiled everything else on my system with mcpu=7450

OO is extremely sensetive; it took me about 10 attempts to get this to compile.

another question while speculating; if OO is written mostly in C++, how come it is so slow (esp. with loading)?
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Wed Sep 06, 2006 10:59 pm    Post subject: Reply with quote

I personaly only compile OOo with
Code:
CFLAGS=""
CXXFLAGS="${CFLAGS}"
I even put it in a special file in /etc/portage/env/app-office/openoffice
so I don't have to worry about it. However the problem is ppc specific apparently,
my x86 box doesn't require any special CFLAGS.
As for it being slow, it is quite a big binary blob with many libraries loading, just
getting it in memory takes so time I suspect.
Back to top
View user's profile Send private message
djpearman
n00b
n00b


Joined: 19 Jul 2005
Posts: 40
Location: UK

PostPosted: Fri Oct 20, 2006 8:29 am    Post subject: Reply with quote

quickshiftin wrote:
tried last night w/o optimizations and it still failed, although it did seem to last longer then usual; i have saved the error output this time as well; maybe someone will recognize this??
Code:
register component 'javavm.uno.so' in registry '../../unxlngppc.pro/misc/bridgetest/bootstrap.rdb' succesful!
register component 'uriproc.uno.so' in registry '../../unxlngppc.pro/misc/bridgetest/bootstrap.rdb' succesful!
mkdir ../../unxlngppc.pro/lib/
mkdir: cannot create directory `../../unxlngppc.pro/lib/': File exists
cd ../../unxlngppc.pro/lib &&  regcomp -register -br uno_types.rdb -r uno_services.rdb\
        -c acceptor.uno.so \
        -c bridgefac.uno.so \
        -c connector.uno.so \
        -c remotebridge.uno.so \
        -c uuresolver.uno.so \
        -c bridgetest.uno.so \
        -c cppobj.uno.so \
        -c uriproc.uno.so \
        -c constructors.uno.so
register component 'acceptor.uno.so' in registry 'uno_services.rdb' succesful!
register component 'bridgefac.uno.so' in registry 'uno_services.rdb' succesful!
register component 'connector.uno.so' in registry 'uno_services.rdb' succesful!
register component 'remotebridge.uno.so' in registry 'uno_services.rdb' succesful!
register component 'uuresolver.uno.so' in registry 'uno_services.rdb' succesful!
register component 'bridgetest.uno.so' in registry 'uno_services.rdb' succesful!
register component 'cppobj.uno.so' in registry 'uno_services.rdb' succesful!
register component 'uriproc.uno.so' in registry 'uno_services.rdb' succesful!
register component 'constructors.uno.so' in registry 'uno_services.rdb' succesful!
regcomp -register -br ../../unxlngppc.pro/lib/uno_types.rdb -r ../../unxlngppc.pro/lib/uno_services.rdb \
        -c javaloader.uno.so -c javavm.uno.so
register component 'javaloader.uno.so' in registry '../../unxlngppc.pro/lib/uno_services.rdb' succesful!
register component 'javavm.uno.so' in registry '../../unxlngppc.pro/lib/uno_services.rdb' succesful!
regcomp -register  -br ../../unxlngppc.pro/misc/bridgetest/bootstrap.rdb -r ../../unxlngppc.pro/lib/uno_services.rdb -c \
        file:///var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/testtools/source/bridgetest/../../unxlngppc.pro/class/testComponent.jar \
        -env:URE_INTERNAL_JAVA_DIR=file:///var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngppc.pro/bin
using loader com.sun.star.loader.Java2
[Java framework]sunjavaplugin.so could not load Java runtime library:
file:///opt/ibm-jdk-bin-1.4.2.5/jre/bin/classic/libjvm.so.register component 'file:///var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/testtools/source/bridgetest/../../unxlngppc.pro/class/testComponent.jar' in registry '../../unxlngppc.pro/lib/uno_services.rdb' failed!
error (CannotRegisterImplementationException): Could not create Java implementation loader
dmake:  Error code 1, while making '../../unxlngppc.pro/lib/uno_services.rdb'
dmake:  '../../unxlngppc.pro/lib/uno_services.rdb' removed.
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/testtools/source/bridgetest
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.3 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  openoffice-2.0.3.ebuild, line 252:   Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


I have exactly the same problem when compiling Openoffice with the java USE flag enabled. I changed my java vm to ibm-jdk-bin-1.5.0.3, since I seem to remember that being a dependency of Openoffice, and am recompiling now, so in about 12 hours I'll be able to report back if it's succeeded or not.
_________________
Laptop: PowerBook G4 Titanium 500 MHz 768MB ppc
Desktop: Athlon 2500+ 1GB Asus A7V600 ~x86
Desktop: Athlon64 3000+ Venice 2GB Asus A8V Deluxe ~amd64
Back to top
View user's profile Send private message
djpearman
n00b
n00b


Joined: 19 Jul 2005
Posts: 40
Location: UK

PostPosted: Fri Oct 20, 2006 9:00 am    Post subject: Reply with quote

Actually, I don't think changing my generation-2 java vm to 1.5* is going to change anything since I just noticed that Openoffice uses a generation-1 java vm, which is ibm-jdk-bin-1.4.2.5 and can't be altered.

Anyone got any other ideas?

Code:
powerbook ~ # emerge --info
Portage 2.1.1-r1 (default-linux/ppc/ppc32/2006.0/G4, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 ppc)
=================================================================
System uname: 2.6.17-gentoo-r7 ppc 7410, altivec supported
Gentoo Base System version 1.12.5
Last Sync: Tue, 08 Nov 2005 20:00:08 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/ ftp://mirrors.blueyonder.co.uk/mirrors/gentoo ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X alsa altivec apache2 apm arts berkdb bitmap-fonts bonobo cdr cli cracklib crypt cups dlloader dri dvd eds elibc_glibc emboss encode esd flac foomaticdb fortran gcj gdbm gif gpm gstreamer gtkhtml hal imagemagick imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux ldap libg++ libwww linguas_en mad mikmod motif mp3 mpeg musicbrainz ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pcre perl png ppds pppd python qt qt3 qt4 quicktime readline reflection ruby samba sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_r128 visualization vorbis xine xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Code:
[ebuild   R   ] sys-devel/gcc-4.1.1  USE="altivec fortran gcj nls -bootstrap -build -doc -gtk (-hardened) (-ip28) -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB

[ebuild     U ] app-office/openoffice-2.0.3 [2.0.1-r1] USE="eds java* kde ldap pam%* xml -binfilter -cairo% -debug% -firefox% -gnome -gtk -odk% (-mozilla%)" LINGUAS="en%* -af% -ar% -be_BY% -bg% -bn% -bs% -ca% -cs% -cy% -da% -de% -el% -en_GB% -en_US% -en_ZA% -es% -et% -fa% -fi% -fr% -gu_IN% -he% -hi_IN% -hr% -hu% -it% -ja% -km% -ko% -lt% -mk% -nb% -nl% -nn% -nr% -ns% -pa_IN% -pl% -pt% -pt_BR% -ru% -rw% -sh_YU% -sk% -sl% -sr_CS% -st% -sv% -sw_TZ% -th% -tn% -tr% -ts% -vi% -xh% -zh_CN% -zh_TW% -zu%" 0 kB

_________________
Laptop: PowerBook G4 Titanium 500 MHz 768MB ppc
Desktop: Athlon 2500+ 1GB Asus A7V600 ~x86
Desktop: Athlon64 3000+ Venice 2GB Asus A8V Deluxe ~amd64
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Fri Oct 20, 2006 10:12 am    Post subject: Reply with quote

djpearman wrote:
Actually, I don't think changing my generation-2 java vm to 1.5* is going to change anything since I just noticed that Openoffice uses a generation-1 java vm, which is ibm-jdk-bin-1.4.2.5 and can't be altered.

Anyone got any other ideas?

You are correct, OOo-2.0.3 use java-1.4 or generation 1 (mine is 1.4.2.6-r4 but never mind it was working
with 1.4.2.03). This is set to change with OOo-2.0.4 except there is a bug with ibm-jdk-1.5* on ppc at least.

The only thing that I think is really different compared to my build is that I don't use "eds" or "ldap".
You are also failling on that very last leg component registration which is an install phase. Comiseration.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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