Joe Smith wrote:
> $ (cd $TARGET_DIR && for r in 
> $SOURCE_DIR/OOO300_m15_native_packed-1_en-US.9379/RPMS/*.rpm; do 
> rpm2cpio "$r" | cpio -id; done)

This is the same method as is described here:

NoOp wrote:
> http://wiki.services.openoffice.org/wiki/Run_OOo_versions_parallel

This unpacks the .rpm files using rpm2cpio, which works fine.  The setup
script also uses this method to unpack the JRE prior to starting the
installer utility.  I'm curious why the installer utility itself doesn't
fall back on rpm2cpio when rpm fails; instead it uses an option known
not to work.

Mike Dawe wrote:
> "Note, to use --dbpath as non root, customers will need to define the
> %_rpmlock_path macro to a location that can be written to; future
> versions of RPM use '%{_dbpath}/__db.000'."

This macro is only available in versions of rpm newer than mine.  rpm
4.3.3 has only a hard-coded path.  4.6.0 supports this macro.  I'm not
sure exactly when this feature was added.  I see that macros can be
defined in ~/.rpmmacros , but I suppose it might be possible to use the
--define command-line option from within the context of the installer
program.  I'm not sure; I'm only skimming the sources here.

Thanks for the suggestions.  Now that I have a working OpenOffice.org
installation, my remaining concern is that I'd like to see it made easy
for others to do non-root installation on Unix.

-- 
Andy Goth
<[email protected]>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to