OFFICAL QSMACK SITE


QSmack Frontend on UNIX


First, you can delete the libtcl_qsmackfe.dll file. That is for Windows only.

Now you can just execute the script. To work properly, there must be a program named "wish" somewhere in your path. The version of "wish" must be 4.2 or greater. If this doesn't work, you may have an older version of "wish". On our systems, we keep around binaries named "wish4.2" or "wish8.0" and then simply link "wish" to the latest version.

If your default version of "wish" is older than 4.2, but you have a newer version available and installed, you simply type:

wish4.2 qsmackfe.tcl

or

wish8.0 qsmackfe.tcl

to explicitly specify which version to run.

qsmackfe.tcl takes one command line argument. That is the name of a config file. The frontend also will search for a ".qsmack" config file in the user's home directory. If both a "~/.qsmack" file and a command line argument exist, the file given on the command line takes precedence.

Side note: to enable the nslookup command, you're going to need to compile the included "tcl_qsmackfe.c" into a shared object. This is actually really easy and only involves typing one line. On SPARC/Solaris platforms, this should do the trick:

gcc -O -G tcl_qsmackfe.c -o libtcl_qsmackfe.so

On Linux and IRIX platforms, the command is:

gcc -O -shared tcl_qsmackfe.c -o libtcl_qsmackfe.so

Of course, your mileage may vary. Basically, you want to enable the creation of a shared object with your compiler. If your system/compiler doesn't support shared objects then you're out of luck with the "nslookup" command.

You can skip this compilation for now, if you like. The frontend will run fine without this library; you just won't be able to do nslookup without it. When/if you do create the libtcl_qsmackfe.so file, put it in the same directory that contains qsmackfe.tcl. The frontend expects to find it there.

Now start up the frontend with the "qsmackfe.cfg.quickstart" config file and continue with the rest of the Quickstart directions. Once you've verified that everything works, you can try more complicated config files, like the examples in "qsmackfe.cfg.highres" and "qsmackfe.cfg.lowres".