What version of Splus are you using?
The installation and build process for Splus5 or Splus6 is a bit different than for previous versions. Basically one follows the instructions in Chambers, J.M. (1998) Programming with Data, Springer-Verlag: New York on page 233. Here summarised are some instructions.
Note that if you are using Splus 6.x then replace all calls to Splus5 with Splus6 (that is of course if your Splus executable is called Splus5 or Splus6; it might just be called Splus). With Splus6 none of the bugs outlined below occured under Redhat 8.0.
sh WaveThresh3.9.6v5.shar
cd
to the WaveThresh directory.
Splus5 CHAPTER
S chapter initialized.
LOCAL_CFLAGS=-O
Splus5 make boot
S datasets booted
There is basically a problem in the makefile. Edit the makefile
and find the make section for booting (labelled boot: in the makefile).
On the 3rd line after the label you will see an echo
line. Change the part at the end which reads
$(SHOME)/S
to
$(SHOME)/cmd/S
In other words just insert a cmd
. Try the
Splus5 make boot
command again.)
You should get the message
S datasets booted
if all goes well.
/bin/sh: -c: line 2: syntax error: unexpected end of file
I didn't have the time to figure out exactly what was wrong. However, I did this step manually. Type:
setenv SHOME /usr/local/splus
or whatever your SHOME directory is. Then
setenv BOOTING_S "TRUE"
I was using tcsh as my shell, csh should be the same. With sh you
need to export
the variables.
Then type
${SHOME}/cmd/S
You should get the message
S datasets booted
if all goes well.
Splus5 make S.so
library("WaveThresh")
library
call with the appropriate
lib.loc
argument.