Get 'cannot find bash.dat' when executing setup.sh to install SAS 9.2 in Ubuntu 8.10

Asked by spatel

I am a newbie to Ubuntu and am trying to install SAS 9.2 in Ubuntu 8.10. Here are the steps so far:

1) I inserted the DVD media that SAS 9.2 came on and it asked me for a directory to copy files. I tried to create /usr/local/SAS_9.2 but it said I did not have write permission.

2) So, I changed to 'root' and created it successfully. After finishing copying files to this directory using both DVDs, I switched to the directory and tried to execute '>. setup.sh'. It told me bash could not be found.

3) After trying out searched on the Internet I used the 'chsh -s /bin/bash/' to switch to bash shell. I then went back to the directory to retry '>. setup.sh' and I now get 'bash.dat' not found error.

Can any one help? How do I get SAS installed?
Thanks.
spatel

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Tony Pursell
Solved:
Last query:
Last reply:
Revision history for this message
Tony Pursell (ajpursell) said :
#1

Try

. ./setup.sh

Tony

Revision history for this message
spatel (spatel32) said :
#2

Thanks. That works but now my new problem is: I don't know if everything got installed. I can't seem to launch SAS and can't find any of the SASFoundation directory. I recopied from the SAS DVD to the default directory, /usr/local/SAS (instead of the previous location, /usr/local/SAS_9.2/).

I then reinstalled using the SAS Deployment Wizard. It is then that I realized that my DVD might only allow a Windows (32-bit) install of SAS, because in the 'Stage 1 Installation' in the wizard only shows six items that it installed: 1) Java Platform Standard Edition RE; 2) SAS/Graph Java Applets; 3) Report Fonts for Clients; 4) SAS SQL Library for C; 5) SAS XML Mapper; 6) SAS/Graph ODS Graphics Editor.

I think I will have to install in Windows instead, unless someone thinks I should be able to install SAS from my DVDs in Ubuntu. My DVDs even say 'SAS 9.2 (TS1MO) fro Windows 32-bit'.

Thanks.
spatel

Revision history for this message
Best Tony Pursell (ajpursell) said :
#3

If running setup.sh (which I assume is a linux/unix shell script) works, then it was intended to do a linux/unix install. (Windows doesn't run linux/unix shell scripts!)

I don't know anything about SAS, except I assume you are trying to use the statistical analysis software and not something to do with the Scandinavian Airline or the Speacial Air Service or Surfers against Sewage or Serial attached SCSI (all found with Google on SAS).

Maybe you can get some clues at http://www.sas.com. It does list some linux releases (Red Hat & SuSE as supported systems). Do you have a licence? This is commercial software and support comes from SAS. Are there any manuals or readme files on the DVD.

Can I suggest you close this as Solved. Your question has been answered, after all. Then Google around for some help and, perhaps, post a new question here about how to run SAS on Ubuntu.

Tony

Revision history for this message
spatel (spatel32) said :
#4

Thanks Tony Pursell, that solved my question.