[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mash for Linux - Alternative Notes
OK, here's how I did it.
1) Select a directory to install all the software
packages.
I used elmer.cs:/vid30/mash-1
2) Download all the packages.
I used:
tcl8.0.5
tk8.0.5
otcl 1.0a5
tclcl 1.0b6
gsm 1.0.10
mash 5.0b2 from apu:/vid15/peterp/mash/mash/mash-1 (I
literally tarred all this directory and copied
to my machine).
3) Gunzip and untar everything. My directory composition
after doing this was:
/vid30/mash-1/gsm/
/vid30/mash-1/otcl/
/vid30/mash-1/tclcl/
/vid30/mash-1/usr/
/vid30/mash-1/mash-1/
/vid30/mash-1/tcl8.0/
/vid30/mash-1/tk8.0/
Note: /vid30/mash-1/usr is the directory where the
common tcl and tk files go.
4) Install tcl
> cd tcl8.0/unix
> ./configure --prefix=/vid30/mash-1/usr
> make
> make install
5) Install tk
> cd tk8.0/unix
> ./configure --prefix=/vid30/mash-1/usr
--with-tcl=8.0/unix
> make
> make install
6) Here's the first problem. If you list the contents of
/vid30/mash-1/usr/include you only get tcl.h and tk.h.
You also need tclCompile.h, tclInt.h, tclPort.h,
tclInitScript.h, tclMath.h, and tclRegexp.h. I don't
know why they aren't there. So you must look for a
right distribution and copy them to that directory
(e.g. elmer:/vid30/mash-1/usr/include).
7) Install otcl
> cd otcl
> ./configure --prefix=/vid30/mash-1/usr
--with-tcl=/vid30/mash-1/usr
--with-tk=/vid30/mash-1/usr
> make
> make install
8) Install tclcl
> cd tclsl
> ./configure --prefix=/vid30/mash-1/usr
--with-tcl=/vid30/mash-1/usr
--with-tk=/vid30/mash-1/usr
--with-otcl=/vid30/mash-1/usr
> make
> make install
9) Install gsm
> cd gsm
> make
> make install
10) Install mash
> cd /vid30/mash-1/mash-1
Change all instances of "osfcn.h" to "unistd.h" in these
files:
- net/tcpchan.cc
- ps/ps.cc
- ps/ps-file.cc
In the apu installation the -ldl was already added
> ./configure --prefix=/vid30/mash-1/usr
--with-tcl=/vid30/mash-1/usr
--with-tk=/vid30/mash-1/usr
--with-otcl=/vid30/mash-1/usr
--with-gsm=/vid30/mash-1/gsm
--disable-sccvideo
--enable-debug
--disable-static
> setenv LD_LIBRARY_PATH /vid30/mash-1/usr/lib/:$LD_LIBRARY_PATH
> make
> make smash
> make import
> setenv MASH_HOME /vid30/mash-1/mash-1
> make vic
> setenv PATH $MASH_HOME/bin:$PATH
11) Cross your fingers and try vic
/vid30/mash-1/mash-1/bin/vic 224.2.1.1/22334/h261/127/1
And you should see 521 Soda, Larry's office and with
a little luck Marcia's place.
Questions are welcomed.
-Chema