I received an update to SyBooks with my SQL Server V11.0.2
distribution. The install.me procedure does not work under Solaris
2.5. I enclose fixes.
Please note that my news server only has a few days worth of
messages; ignore this if it is old hat.
PROBLEM:
Running the install.me script from SyBooks Release 11.0.2 fails
with the message
install.me: test: argument expected
SOLUTION
Copy install.me from the CD to a local directory. On or about
line 665 there is a test (inside a case) like this:
test -Z $QUICKSCAN
This must be changed to match the other such tests - put $QUICKSCAN
in quotes as follows:
test -z "$QUICKSCAN"
PROBLEM
If you run it now, it says that it is Computing sizes for the
something collection. Then comes a string of messages like
syntax error on line 1, teletype
This is from the script diskspce.sh failing. Which version of
diskspace.sh is running depends on your system. Go back to install.me
and look at line 596, which is
DISKSPACE=$CDPATH/`$TM $TRANSTYPE $BIN/diskspce.scr`
Put in a line to this and run the script to see what it comes out
to be; it should be something like
/cdrom/cdrom0/sybooks/unix/bin/diskspce.scr
Now take a copy of that file. Go to line 14 and add "SunOS" to
the list of strings that it tests for, since it will have to use
"ls -l" instead of "ls".
Now go back to install.sh and modify line 596 to point to your
newly-modified version of diskspce.sh. Run everything again. It should
work.
But notice that it spends a long time figuring out how big some
book collections are on the CD. Hey, it's a CD. It doesn't change.
I think that Sybase should have collected this info and stored it in a
file on the CD to save a lot of running time. But for the most part I
_like_
Sybase, so don't take this as a condemnation.
| Peter A. Lynn | "The only thing necessary for the triumph of
evil |
Burke |
(work) |
| My opinions are my own, and may not reflect those of my employer
(or |
| anyone else, for that matter.) I reserve the right to change my
mind. |