Postby JimBodkins » Sat Oct 14, 2006 8:31 pm
The original error ...
Scalix Installer - extracting archive, please wait...
tail: cannot open `+154' for reading: No such file or directory
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
Error: Build does not contain version for the version of Python installed. Please ensure you have Python 2.2, 2.3 or 2.4 installed. Aborting.
Scalix Installer - cleaning up...
.... is due to a tail argument error I suspect. The +154 is the tail arg.
from the tail man page
....`tail ./+4' or `tail -n +4' rather than the ambiguous `tail +4'. ....
So I changed
tail +$SKIP $0 | tar xzm -C "$WRKDIR"
to
tail -n +$SKIP $0 | tar xzm -C "$WRKDIR"
after which this error was produced. (Note, it is a different error)
Scalix Installer - extracting archive, please wait...
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
Scalix Installer - starting version 10.0.1.24...
Scalix Installer - using Python 2.4.3.
Error: unsupported OS release: Fedora Core release 5 (Bordeaux) on i386
Scalix Installer - cleaning up...
Scalix Installer - stopped.
... as a note. I have no idea why it is complaining that Fedora Core release 5 is unsupported.
Edit --
This is the complete paragraph in the tail man page
On older systems, the leading `-' can be replaced by `+' in the
obsolete option syntax with the same meaning as in counts, and obsolete
usage overrides normal usage when the two conflict. This obsolete
behavior can be enabled or disabled with the `_POSIX2_VERSION'
environment variable (*note Standards conformance::), but portable
scripts should avoid commands whose behavior depends on this variable.
For example, use `tail -- - main.c' or `tail main.c' rather than the
ambiguous `tail - main.c', `tail -c4' or `tail -c 10 4' rather than the
ambiguous `tail -c 4', and `tail ./+4' or `tail -n +4' rather than the
ambiguous `tail +4'.