Page 1 of 1

two (minor) errors on linux install

Posted: Mon Jul 19, 2004 11:06 pm
by pangloss
I came across the following two errors installing oxygen 4.2 for Linux (RHEL WS 3.0). They appear to be harmless, but if it doesn't break anything to fix, why not fix them? ;)

The first error was already reported in this forum (tail: `-1' option is obsolete; use `-n 1'), but I didn't see any report of the second.
$ ./oxygen.bin
Preparing to install...
tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.
./oxygen.bin: line 327: [: `)' expected, found -z
WARNING! The amount of /tmp disk space required and/or available
could not be determined. The installation will be attempted anyway.
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...
Line 327 reads:

Code: Select all


if [ ! \( -z $AVAIL_SPACE -o -z $NEEDED_SPACE \) ]; then
$AVAIL_SPACE is null because of the first error. The script needs the -n 1 (at least on my RedHat system when POSIXLY_CORRECT=1 is set).

Posted: Wed Jul 21, 2004 10:43 am
by Dan
Hello,

We tested the kit on a Mandrake Linux and it gave no warnings. (sure it had different utilities versions than RH )
The oxygen.bin package is created using the InstallAnywhere installer. We will check to see if it is possible to change the generated installation script.

Thank you,
Dan