SARSE 1.37 install.txt

7 views
Skip to first unread message

Lee Nelson

unread,
Jan 1, 2010, 3:01:43 PM1/1/10
to openmanu...@googlegroups.com
- Sun's JDK/JRE 1.5.0.
- bash
- tcsh
- gawk
- perl
- optional: GD.pm
If you you have a standard Linux distribution installed most of these things will be installed as default.
Except Sun's java, there might be another Java interpretters installed but to our knowledge they are
not quite as good.

Sarse might be compatible with other implementations of Java, but it has been tested only with
 GJC from the GCC package with a negative result.

Operating system
Linux: It should run on any linux/unix distribution.
The application is developed and tested on
-Suse 8.1, x86
-Fedora core 4, amd64

Mac: The Mac version is testet on
Mac OSX 10.3 and 10.4

If you want to use alistem_plot. Test if GD module is installed by writing:
perl -e 'use GD;', on a commandline, if you get an error message GD isn't installed.
You can get instructions for installation here: http://search.cpan.org/~lds/GD-2.35/GD.pm.
NB! It is possible to run sarse without GD, but there will come some error messages if you
try to run .

Installation
------------

Single User Installation
------------------------
Here we describe how to install sarse in your home directory

Go to you home directory
cd ~
tar xpzf <download-directory>/sarse-<version>.tar.gz

On linux
echo -e '\nPATH=$PATH:~/sarse-<version>/bin' >> .bashrc
source .bashrc

On mac
echo -e '\nPATH=$PATH:~/sarse-<version>/bin' >> .bash_profile
source .bash_profile

.bashrc and .bash_profile are system files located in the users home directory.

System Wide Installation
------------------------
The example here asume you have root priviledges, and wan't to install sarse in /usr/local:

cd /usr/local
tar xpzf <download-directory>/sarse-<version>.tar.gz

The installation directory is called SARSE-HOME, in the rest of the document.

Then you add sarse to an existing bin directory in the standard path, /usr/local/bin
This way all users wil be able to start sarse easily from anywhere

cd /usr/local/bin
ln -s /usr/local/sarse-<version>/bin/SARSE


Starting the program
----------------------
To run the program simply write 'SARSE' anywhere

technologiclee

unread,
Jan 1, 2010, 3:37:42 PM1/1/10
to Open Manufacturing

> On linux
> echo -e '\nPATH=$PATH:~/sarse-<version>/bin' >> .bashrc
> source .bashrc
>
> .bashrc system files located in the users home
> directory.

does this^^ assume
/bin/bash.bashrc ?

What is the correct command for this?
http://pastebin.com/f36c6c7fa

l@EV007:~/sarse$ echo -e '\nPATH=$PATH:~/sarse-1.37/bin' >> .bashrc
l@EV007:~/sarse$ source .bashrc
bash: version: No such file or directory
bash: 1.37: No such file or directory

searching the file brower shows that i have a file at
/ect/bash.bash.rc

l@EV007:~/sarse$ echo -e '\nPATH=$PATH:~/sarse-1.37/ect' >> .bashrc
l@EV007:~/sarse$ source .bashrc
bash: version: No such file or directory
bash: 1.37: No such file or directory

Bryan Bishop

unread,
Jan 1, 2010, 3:41:22 PM1/1/10
to openmanu...@googlegroups.com, kan...@gmail.com
On Fri, Jan 1, 2010 at 2:37 PM, technologiclee <technol...@gmail.com> wrote:
>> On linux
>> echo -e '\nPATH=$PATH:~/sarse-<version>/bin' >> .bashrc
>> source .bashrc
>>
>> .bashrc  system files located in the users home
>> directory.
>
> does this^^ assume
> /bin/bash.bashrc     ?

No. Your .bashrc file is in your home (~) directory.

> l@EV007:~/sarse$ echo -e '\nPATH=$PATH:~/sarse-1.37/bin' >> .bashrc

This echoes the content of that string in to ~/sarse/.bashrc

> l@EV007:~/sarse$ source .bashrc
> bash: version: No such file or directory
> bash: 1.37: No such file or directory

Probably because you have some weird content in ~/sarse/.bashrc

Anyway, you'll probably never use ~/sarse/.bashrc again, you should
just use your ~/.bashrc file.

- Bryan
http://heybryan.org/
1 512 203 0507

Lee Nelson

unread,
Jan 1, 2010, 3:57:21 PM1/1/10
to openmanu...@googlegroups.com
>> On linux
>> echo -e '\nPATH=$PATH:~/sarse-<version>/bin' >> .bashrc
>> source .bashrc
>>
>> .bashrc  system files located in the users home
>> directory.
>
> does this^^ assume
> /bin/bash.bashrc     ?

No. Your .bashrc file is in your home (~) directory.

l@EV007:/usr/bin$ cd ~
l@EV007:~$ ls
build-pyqt4.sh  electric.log          Nanorex       NetBeansProjects  PyQtX114.4.4               qt-x11-opensource-src-4.3.5      sip-4.7.4
code            Examples              ne1           Pictures          PyQt-x11-gpl-4.3.3         qt-x11-opensource-src-4.3.5.tar  sip-4.7.4.tar
Desktop         installbuilder-6.2.6  ne111         Public            PyQt-x11-gpl-4.4.4.tar.gz  sarse                            Templates
Documents       local                 ne112         pybsddb           Qt4                        Scratch1.3.1                     ToonTalk
Downloads       Music                 netbeans-6.8  pyqt4.3.3         qt433                      sges-v3                          Videos

 

> l@EV007:~/sarse$ echo -e '\nPATH=$PATH:~/sarse-1.37/bin' >> .bashrc

This echoes the content of that string in to ~/sarse/.bashrc

> l@EV007:~/sarse$ source .bashrc
> bash: version: No such file or directory
> bash: 1.37: No such file or directory

Probably because you have some weird content in ~/sarse/.bashrc

l@EV007:~$ ~/sarse/.bashrc
bash: /home/l/sarse/.bashrc: Permission denied

/home/l/sarse.bashrc

PATH=$PATH:~/sarse-<version>/bin

PATH=$PATH:~/sarse-<1.37>/bin

PATH=$PATH:~/sarse-1.37/bin

PATH=$PATH:~/sarse-1.37/ect

 

Anyway, you'll probably never use ~/sarse/.bashrc again, you should
just use your ~/.bashrc file.

What is the command for that?

Bryan Bishop

unread,
Jan 1, 2010, 4:00:16 PM1/1/10
to openmanu...@googlegroups.com, kan...@gmail.com
On Fri, Jan 1, 2010 at 2:57 PM, Lee Nelson <technol...@gmail.com> wrote:
>> >> On linux
>> >> echo -e '\nPATH=$PATH:~/sarse-<version>/bin' >> .bashrc
>> >> source .bashrc
>> >>
>> >> .bashrc  system files located in the users home
>> >> directory.
>> >
>> > does this^^ assume
>> > /bin/bash.bashrc     ?
>>
>> No. Your .bashrc file is in your home (~) directory.
>
> l@EV007:/usr/bin$ cd ~
> l@EV007:~$ ls
> build-pyqt4.sh  electric.log          Nanorex       NetBeansProjects
> PyQtX114.4.4               qt-x11-opensource-src-4.3.5      sip-4.7.4
> code            Examples              ne1           Pictures
> PyQt-x11-gpl-4.3.3         qt-x11-opensource-src-4.3.5.tar  sip-4.7.4.tar
> Desktop         installbuilder-6.2.6  ne111         Public
> PyQt-x11-gpl-4.4.4.tar.gz  sarse                            Templates
> Documents       local                 ne112         pybsddb
> Qt4                        Scratch1.3.1                     ToonTalk
> Downloads       Music                 netbeans-6.8  pyqt4.3.3
> qt433                      sges-v3                          Videos

ls doesn't show hidden files by default.

ls -a

>> > l@EV007:~/sarse$ echo -e '\nPATH=$PATH:~/sarse-1.37/bin' >> .bashrc
>>
>> This echoes the content of that string in to ~/sarse/.bashrc
>>
>> > l@EV007:~/sarse$ source .bashrc
>> > bash: version: No such file or directory
>> > bash: 1.37: No such file or directory
>>
>> Probably because you have some weird content in ~/sarse/.bashrc
>
> l@EV007:~$ ~/sarse/.bashrc
> bash: /home/l/sarse/.bashrc: Permission denied

.bashrc is not an executable file anyway. I don't know why you're
trying to execute it.

> /home/l/sarse.bashrc

What?

>> Anyway, you'll probably never use ~/sarse/.bashrc again, you should
>> just use your ~/.bashrc file.
>
> What is the command for that?

It's a file, not a command.

http://www.youtube.com/watch?v=cbBTcYir-4g

Lee Nelson

unread,
Jan 1, 2010, 4:30:27 PM1/1/10
to openmanu...@googlegroups.com
>> >> On linux
>> >> echo -e '\nPATH=$PATH:~/sarse-<version>/bin' >> .bashrc
>> >> source .bashrc
>> >>
>> >> .bashrc  system files located in the users home
>> >> directory.
>> >
>> > does this^^ assume
>> > /bin/bash.bashrc     ?
>>
>> No. Your .bashrc file is in your home (~) directory.


l@EV007:~/sarse$ cd ~
l@EV007:~$ ls -a
.bashrc
 

>> > l@EV007:~/sarse$ echo -e '\nPATH=$PATH:~/sarse-1.37/bin' >> .bashrc
>> > l@EV007:~/sarse$ source .bashrc
>> > bash: version: No such file or directory
>> > bash: 1.37: No such file or directory
>> just use your ~/.bashrc file.
>
> What is the command for that?

It's a file, not a command.



What do I type here?

echo -e '\nPATH=$PATH:~/sarse-<version>/bin' >> .bashrc

@EV007:~/sarse$ echo -e '\nPATH=$PATH:~/.bashrc' >> .bashrc

Lee Nelson

unread,
Jan 1, 2010, 7:23:33 PM1/1/10
to openmanu...@googlegroups.com
I tried the System Wide Installation
------------------------
The example here asume you have root priviledges, and wan't to install sarse in /usr/local:

cd /usr/local
tar xpzf <download-directory>/sarse-<version>.tar.gz

The installation directory is called SARSE-HOME, in the rest of the document.

Then you add sarse to an existing bin directory in the standard path, /usr/local/bin
This way all users wil be able to start sarse easily from anywhere

cd /usr/local/bin
ln -s /usr/local/sarse-<version>/bin/SARSE


Starting the program
----------------------
To run the program simply write 'SARSE' anywhere


l@EV007:~/sarse$ su root
Password:
root@EV007:/home/l/sarse# cd /usr/local
root@EV007:/usr/local# tar xpzf /tmp/sarse-1.37.tar.gz
root@EV007:/usr/local# ls
bin  etc  games  include  lib  man  sarse-1.37  sbin  share  src  Trolltech
root@EV007:/usr/local# cd /usr/local/bin
root@EV007:/usr/local/bin# ln -s /usr/local/sarse-<version>/bin/SARSE

bash: version: No such file or directory
root@EV007:/usr/local/bin# ln -s /usr/local/sarse-1.37/bin/SARSE
root@EV007:/usr/local/bin# SARSE
SARSE: command not found


From :
/home/l/sarse/sarse-1.37/linux/README.txt
QUICK START
-----------
To run the program execute bin/SARSE


l@EV007:~/sarse$ cd sarse-1.37/
l@EV007:~/sarse/sarse-1.37$ ls
linux  mac_intel  README  src
l@EV007:~/sarse/sarse-1.37$ cd linux
l@EV007:~/sarse/sarse-1.37/linux$ ls
bin  doc  fonts  lib  log  programs  projects  properties  README  tmp  tutorial-data
l@EV007:~/sarse/sarse-1.37/linux$ cd bin
l@EV007:~/sarse/sarse-1.37/linux/bin$ ls
SARSE
l@EV007:~/sarse/sarse-1.37/linux/bin$ ./SARSE


This made it work

Bryan Bishop

unread,
Jan 2, 2010, 9:33:37 AM1/2/10
to openmanu...@googlegroups.com, kan...@gmail.com
On Fri, Jan 1, 2010 at 3:30 PM, Lee Nelson <technol...@gmail.com> wrote:
> What do I type here?
>
> l@EV007:~/sarse$ source .bashrc
> bash: version: No such file or directory
> bash: 1.37: No such file or directory
> bash: version: No such file or directory

Sounds like you messed up your .bashrc file.. I'd open it up and take
a look, see if you can find where it says "version", "1.37" and so on.

Lee Nelson

unread,
Jan 2, 2010, 12:46:48 PM1/2/10
to openmanu...@googlegroups.com

Sounds like you messed up your .bashrc file.. I'd open it up and take
a look, see if you can find where it says "version", "1.37" and so on.

it works using the commands i listed

Bryan Bishop

unread,
Jan 2, 2010, 6:37:57 PM1/2/10
to openmanu...@googlegroups.com, kan...@gmail.com

Yes, but your .bashrc file is still messed up. You should fix it.

Reply all
Reply to author
Forward
0 new messages