Go up one levelGo to Previous Go to Next

Build the Tclutil Package

To make the Tclutil package, configure and make as follows:

 
configure 
make 
make install

The default install dir is /usr/local. You can specify the -prefix argument to configure to change this:

 
configure -prefix $INSTALLDIR

If the environment variable TCLTK_ROOT is set, it is used as the default top level directory fo Tcl/Tk.

The default compilers used are g++ and gcc. If you wish to use another compiler, such as CC and cc, do this:

 
setenv CC cc 
setenv CXX CC 
configure -prefix $INSTALLDIR --with-cc

If you prefer using shared libraries and loadable Tcl modules (see 4) configure with:

 
configure --enable-shared

If you are using g++, you must also have libg++ compiled as a shared library for this to work (libg++-2.7.2 also has the "--enable-shared" option) (This requires gcc-2.7.2.1 or newer on HP-UX).


Go up one levelGo to Previous Go to Next

Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory