two (minor) errors on linux install

Having trouble installing Oxygen? Got a bug to report? Post it all here.
pangloss
Posts: 2
Joined: Mon Jul 19, 2004 10:29 pm

two (minor) errors on linux install

Post 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).
Dan
Posts: 501
Joined: Mon Feb 03, 2003 10:56 am

Post 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
Post Reply