[gentoo-user] Re: Java jdk

2009-08-03 Thread James
walt gmail.com> writes: > $l .ooo3/user/uno_packages/cache/ > -rw-r--r-- 1 wa1ter users 9511 2009-08-02 09:29 log.txt > drwxr-xr-x 8 wa1ter users 4096 2008-10-19 18:13 registry/ > -rw-r--r-- 1 wa1ter users 1 2009-08-02 09:29 stamp.sys > drwxr-xr-x 3 wa1ter users 4096 2008-12-07 15:30 uno_p

[gentoo-user] Re: Java jdk

2009-08-03 Thread walt
On 08/03/2009 08:25 AM, James wrote: walt gmail.com> writes: # ls -alg /usr/lib64/openoffice/share/uno_packages/cache Hmm. Both my x86 machine and my ~amd64 machine have *nothing* in that directory. All of those files and directories are in my ~/.ooo3 instead. That's certainly not co

[gentoo-user] Re: Java jdk

2009-08-03 Thread James
walt gmail.com> writes: > > # ls -alg /usr/lib64/openoffice/share/uno_packages/cache > Hmm. Both my x86 machine and my ~amd64 machine have *nothing* in that > directory. All of those files and directories are in my ~/.ooo3 instead. That's certainly not consistent? Here's the files under my

[gentoo-user] Re: Java jdk

2009-08-03 Thread walt
On 08/03/2009 06:54 AM, James wrote: Well here's what I found: # ls -alg /usr/lib64/openoffice/share/uno_packages/cache total 13 drwxr-xr-x 4 root 168 Aug 2 16:34 . drwxr-xr-x 3 root72 Mar 26 02:33 .. drwx-- 8 root 520 Jul 17 08:13 registry -rw--- 1 root 1 Aug 2 16:34 stam

Re: [gentoo-user] Re: Java jdk

2009-08-03 Thread Dale
James wrote: > Mike Kazantsev gmail.com> writes: > > > >>> access("/usr/lib64/openoffice/program/../share/uno_packages/cache/registry/ >>> com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/ >>> data/org/openoffice", >>> F_OK) = -1 EACCES (Permission denied) >>> >

[gentoo-user] Re: Java jdk

2009-08-03 Thread James
walt gmail.com> writes: > And 'grep -r 1.4.2 /etc/*' may turn up obsolete config files that you don't > know you have. It's like rummaging through your attic :) Hello Walt, fixing the file permission under: /usr/lib64/openoffice/share/uno_packages/cache did the trick for me. thanks, Jam

[gentoo-user] Re: Java jdk

2009-08-03 Thread James
Mike Kazantsev gmail.com> writes: > > access("/usr/lib64/openoffice/program/../share/uno_packages/cache/registry/ > > com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/ > > data/org/openoffice", > > F_OK) = -1 EACCES (Permission denied) > Why is that? Good question, d

Re: [gentoo-user] Re: Java jdk

2009-08-03 Thread Mike Kazantsev
On Mon, 3 Aug 2009 00:38:32 + (UTC) James wrote: > Mike Kazantsev gmail.com> writes: > > > > emerge -1 dev-util/strace && strace -f ooffice 2>strace.log > > grep -2 -e EACCES -e EPERM strace.log > > tail -500 strace.log | less (to see what happened last) > > > > OK, Here are the

[gentoo-user] Re: Java jdk

2009-08-03 Thread James
Dale gmail.com> writes: > Same here. Have you tried renaming the config directory and letting it > recreate it fresh? Sometimes that helps. You know, the /home/≤user > name>/.ooo3 directory? You can rename it, move it or something then > restart OOo and see if it works. OK, Well I tried t

[gentoo-user] Re: Java jdk

2009-08-02 Thread walt
On 08/02/2009 01:42 PM, James wrote: walt gmail.com> writes: java-check-environment Java environment is sane. Congratulations! eselect java-vm list Available Java Virtual Machines: [1] sun-jdk-1.6 system-vm But look here: eix virtual/jdk [I] virtual/jdk Available versions:

Re: [gentoo-user] Re: Java jdk

2009-08-02 Thread Dale
James wrote: > Dale gmail.com> writes: > > > >> Usually if something runs as root but not a user, it's a permissions >> issue. You running something special on your system? Hardened or >> something more "secure"? >> > > > Nope, > > It's been a normal (stable) gentoo workstation > with OO

[gentoo-user] Re: Java jdk

2009-08-02 Thread James
Mike Kazantsev gmail.com> writes: > emerge -1 dev-util/strace && strace -f ooffice 2>strace.log > grep -2 -e EACCES -e EPERM strace.log > tail -500 strace.log | less (to see what happened last) OK, Here are the bottom lines: [pid 28034] stat("/usr/lib64/openoffice/program/../share/u

Re: [gentoo-user] Re: Java jdk

2009-08-02 Thread Mike Kazantsev
On Sun, 2 Aug 2009 23:45:16 + (UTC) James wrote: > Dale gmail.com> writes: > > > > Usually if something runs as root but not a user, it's a permissions > > issue. You running something special on your system? Hardened or > > something more "secure"? > > > Nope, > > It's been a normal

[gentoo-user] Re: Java jdk

2009-08-02 Thread James
walt gmail.com> writes: > Ah, that was the jog my memory needed. For reasons I don't know, > there was some old cruft remaining in either /etc/env.d or /etc/conf.d > or /etc/java-config-2, or maybe all three, that confused java-config. OK > I had to hand-edit files in one/all of those places

[gentoo-user] Re: Java jdk

2009-08-02 Thread James
Dale gmail.com> writes: > Usually if something runs as root but not a user, it's a permissions > issue. You running something special on your system? Hardened or > something more "secure"? Nope, It's been a normal (stable) gentoo workstation with OO for a couple of years. KDE4 and X starte

[gentoo-user] Re: Java jdk

2009-08-02 Thread walt
On 08/02/2009 01:42 PM, James wrote: But look here: eix virtual/jdk [I] virtual/jdk Available versions: (1.4) 1.4.1 1.4.2 (1.5) 1.5.0 (1.6) 1.6.0 Installed versions: 1.4.2(1.4)(14:13:11 07/07/09) 1.6.0(1.6)(14:10:01 Ah, that was the jog my memory

Re: [gentoo-user] Re: Java jdk

2009-08-02 Thread Dale
James wrote: > walt gmail.com> writes: > > > >> IMO unless you're doing some really unusual/obscure java thing, >> you don't want or need the blacktown-jdk. I'm guessing that if >> you delete that and run revdep-rebuild you'll probably see those >> other packages get rebuilt against the sun-jd

[gentoo-user] Re: Java jdk

2009-08-02 Thread James
walt gmail.com> writes: > IMO unless you're doing some really unusual/obscure java thing, > you don't want or need the blacktown-jdk. I'm guessing that if > you delete that and run revdep-rebuild you'll probably see those > other packages get rebuilt against the sun-jdk-1.6 and that will > get

[gentoo-user] Re: Java jdk

2009-08-02 Thread walt
On 08/02/2009 12:42 PM, James wrote: Calculating dependencies... done! virtual/jdk-1.4.2 pulled in by: dev-db/hsqldb-1.8.0.10 dev-java/jdbc-mysql-5.0.8 dev-java/jdbc-postgresql-8.3_p603-r1 dev-util/eclipse-sdk-3.2.1-r3 So it looks like I need this virtual/jdk-1.4.2 ???