HOME | 1. Sather vs C++: a performance comparison | Try Sather | 3. Playing with Sather | Post Messages |
(You should be the root user.)
# ln -s libtcl8.3.so libtcl.so
# ln -s libtk8.3.so libtk.so
# ln -s libgc.so.1.0.2 libgc.so
tar xjvf *.tar.bz2 tar xzvf *.tar.gz
cd (directory produced by extracting the tar ball) ./configure make sudo make install
# ldconfig (you need to be the root.)
Following shows how to install the compiler, the viewer, and others.
su be the root cp sather-1.2.2.tar.bz2 /usr/local/src copy the tar ball to /usr/local/src) cd /usr/local/src (go to /usr/local/src) tar xjvf sather-1.2.2.tar.bz2 (extract the tar ball) cd sather-1.2.2 (go to sather-1.2.2) SATHER_HOME=/usr/local/src/sather-1.2.2;export SATHER_HOME (set SATHER_HOME (bash)) make compiler (make sacomp (sather compiler)) make browser (make sabrowse (sather source and class viewer)) make info (make info¡Ë cp Emacs/*.info /usr/local/info (copy the info file to the directory which info refers) cat Emacs/dir >> /usr/local/info/dir (add the entry to Sather in /usr/local/info/dir) ln -s /usr/local/src/sather-1.2.2/Bin/sacomp /usr/local/bin (make the soft link of sacomp in /usr/local/bin) ln -s /usr/local/src/sather-1.2.2/Bin/sabrowse /usr/local/bin (make the soft link of sabrowse in /usr/local/bin)
Everything okeyat the end.
cd /usr/local/src/sather-1.2.2/Test
make test-full
...........
wait 10 min
...........
TEST DONE
Everything okey
SATHER_HOME=/usr/local/src/sather-1.2.2;export SATHER_HOME
su cp /usr/local/src/sather-1.2.2/Emacs/*.el /usr/local/share/emacs/site-lisp
cd /usr/local/share/emacs/site-lisp emacs -batch -f batch-byte-compile sather*.el
(add-to-list 'auto-mode-alist '("\\.sa$" . sather-mode)) (add-to-list 'auto-mode-alist '("\\.psa$" . sather-mode)) (autoload 'sather-mode "sather" "Major mode for Sather programs" t)
For instance
emacs /usr/local/src/sather-1.2.2/Test/test-all.sa
If you could not, send a message to the guest book. I may be able to advice.
HOME | 1. Sather vs C++: a performance comparison | Try Sather | 3. Playing with Sather | Post Messages |