Re: Psyche-list digest, Vol 1 #832 - 15 msgs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 16 January 2003 02:29 am, anthony baldwin wrote:

> >No... RPMS can not satisfy dependencies from source installed
> > software.  If an rpm has a dep, you must install an rpm to fix
> > it.
>
> Really?  that seems kinda silly to me...I thought rpm was just a rh
> self-extracting way of packaging, and when installed, the same code
> was installed as if compiled from source.  guess that shows what I
> know.

It is like compiled from source but rpms look for dependencies in the 
rpm database.  If you are sure the dependencies are satisifed then 
install with the --nodeps flag.

> $ rpm -ql $javarpm
> rpmq: no arguments given for query
> [tony@localhost programs]$
>
> There is a nice little howto found here:
> >http://www.halley.cc/ed/linux/howto/
>
> Hmmm...I just did this:
> $ rpm -ivh j2re-1_4_1-rc-linux-i586.rpm
> and got this:
> error: cannot get exclusive lock on /var/lib/rpm/Packages
> error: cannot open Packages index using db3 - Operation not
> permitted (1) error: cannot open Packages database in /var/lib/rpm
> [tony@localhost programs]$

This is a permission issue.  You normally need to be root to install 
from rpms.

Once your java is installed add to your environment something like:

JDK_HOME=/usr/java
JAVA_HOME=/usr/java/jdk

CLASSPATH=$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$JAVA_HOME/jre/lib/ext

PATH=$PATH:$JAVA_HOME/bin

export JDK_HOME JAVA_HOME CLASSPATH PATH

The above is for the jdk so YMMV.

Then go to Tools->Configure->OpenOffice.org->Security to turn on Java

-- 
Stephen Carville http://www.heronforge.net/~stephen/gnupgkey.txt
Blessed are those who, in the face of death, think only of the front 
sight.



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux