tixwish
autoconf
utility. It should compile and run with little or no effort on
any UNIX-like system that approximates POSIX, BSD, or System V and
runs the X Window System. I know that it runs on Sun and SGI
workstations and also works on Linux boxes. Please follow steps when compiling and installing Tix:
/home/blah/src/
, then it should directory
structure should look like this,:
/home/blah/src/tcl7.4/ /home/blah/src/tk4.0/ /home/blah/src/Tix4.0b2/
./configure
" in the directory
Tix4.0b2/src
. This runs a configuration
script created by GNU autoconf
, which configures
Tix for your system and creates a Makefile
. The
configure script allows you to customize the Tix configuration
for your site; for details on how you can do this, check out
the autoconf documentation at
http://csugrad.cs.vt.edu/manuals/autoconf/autoconf_toc.html
.
There are several options for running
"./configure
". You can type
"./configure --help
" for a list of all the
options. The options that are specific for this version of Tix
are:
--enable-xpm
: This will enable
the XPM image reader in the Tix library. If you choose
this option, you must have the Xpm library installed on
your system. The Xpm library is usually installed on
"modern" Unix/X systems as
/usr/lib/libXpm.a
. If you don't have it on
your system, you can get a copy of the Xpm library from
ftp://ftp.cis.upenn.edu/pub/ioi/xpm-3.4e.tar.gz.
--enable-debug
: If you choose this
option, the Tix library will be compiled with debug
information.
--enable-patches
: If you want to use
the tixMwm command, you must enable this flag.
You can specify these options as command line arguments to
./configure
. For example:
% ./configure --enable-xpm
make
" in the directory
Tix4.0b2/src
. This will create a library archive
called "libtix.a
" and an interpreter
application called "tixwish
" that allows
you to type Tcl commands interactively or execute script
files.
Makefile
for your site or possibly modify the
distribution in other ways. First check the file docs/Porting.html to see if there are
hints for compiling on your system. If you need to modify
Makefile
, there are comments at the beginning of
it that describe the things you might want to change and how to
change them.
make install
" to install Tix's
binaries and script files in standard places. In the default
configuration information will be installed in
/usr/local
so you'll need write permission
on this directory. If you'd like to use a default installation
directory, you can change the "exec_prefix
"
and "prefix
" definitions in the
Makefile
.
tixwish
" program and typing Tcl commands.
However, if you haven't installed Tix then you'll first need to
set your TIX_LIBRARY
environment variable
to hold the full path name of the
"Tix4.0b2/library
" subdirectory. You could
try doing the following in the Unix C Shell or Bourne Shell
env TIX_LIBRARY=/PATH/TO/TIX/SOURCES/library ./tixwish
If you haven't installed Tcl and/or Tk then
you'll need to set your TCL_LIBRARY and TK_LIBRARY environment
variable as well (see the Tcl and Tk README files for
information on this).
Back to the Tix Documentation Master Index