| SPECFE: a User Friendly Front End to Spec | ||
|---|---|---|
| <<< Previous | Detailed Installation Instructions | Next >>> |
Specfe uses the GNU autotools to perform package configuration. These provide a wide variety of configuration options which can be used to fine-tune the installation. You can see a list of the most widely used options by typing ./configure --help in the specfe-<xxx> directory. Some of the more useful options are described below:
--prefix=PREFIX
Used to control where specfe is to be installed - it will be installed in various subdirectories of PREFIX, the default is /usr/local. For example, if you want to install specfe in your home directory, type
./configure --prefix=$HOME
and specfe will be configured to be installed in the bin, lib and share directories in your home directory.
--with-tclconfig=TCLCONFIG
Used to give the path of the "tclConfig.sh" file containing the configuration parameters for the current tcl installation. This is usually in the lib directory of the tcl installation. For example, if tcl were installed in the /opt/local directory you should use
./configure --with-tclconfig=/opt/local/lib/tclConfig.sh
--with-tkconfig=TCLCONFIG
Used to give the path of the "tkConfig.sh" file containing the configuration parameters for the current tk installation. This is usually in the lib directory of the tk installation. For example, if tk were installed in the /opt/local directory you should use
./configure --with-tkconfig=/opt/local/lib/tkConfig.sh
--with-blt=BLTDIR
Used to specify the path to the BLT libraries and header files. The script looks
for (at least) two files, $BLTDIR/include/blt.h and
$BLTDIR/lib/libBLT.* (it is OK if more than one file matches
the second file pattern - the build script will merely attempt to link with the
-L$(BLTDIR)/lib -lBLT options.
--with-wish=CMD
Used to specify an alternative tcl/tk shell to run when the specfe command is typed. The default is "wish" and this will usually be satisfactory. You might choose a different command to force a particular version of wish to be run. The option was actually added to support the 'fink' package collection on Mac OS X where the installed expect package cannot be 'loaded' dynamically from wish and it was necessary to use the 'expectk' shell in this case.
--with-nup
--without-nup
Used to control whether specfe is built with the 'N-up' printing option. If included this option allows you to print miniature graphs, packed several to a page. The default is to include this code. It requires that the ghostscript ('gs') postscript interpreter and the 'psnup' command (from the 'psutils' package are both installed and available in your PATH. The default is to include N-up printing
--with-watcher
--without-watcher
Used to control whether the auxiliary 'specwatcher' program is to be built. This
program 'watches' a running copy of spec and communicates changes in the motors and counters
to specfe. If you
do not have an available spec distribution you can still use specfe as a program
to display data from spec data files - if you configure specfe with the
--without-watcher option
--with-specd=DIR
Used to specify the location of the spec auxiliary file directory. The default is /usr/local/lib/spec.d. You can find out the correct value for your spec installation by running spec and executing the command print SPECD at the spec prompt.
This option is only relevant if the previous --without-watcher was
NOT given
--with-geometry=GEOM
Used to specify the spec geometry to run by default. The default value is 'fourc'. GEOM should be the name of the command that you would run to start spec.
This option is only relevant if the previous --without-watcher was
NOT given
--with-exafs
--without-exafs
Used to control whether specfe's EXAFS scanning facilities are enabled or disabled by default. These consist of a spec macro, and a user interface dialog. Even if the EXAFS scanning facilities are disabled in the configure script, they are still installed, and may be activated for individual users from the specfe preferences dialog.
--with-powder
--without-powder
Used to control whether specfe's powder scanning facilities are enabled or disabled by default. These consist of a spec macro, and a user interface dialog. Even if the powder scanning facilities are disabled in the configure script, they are still installed, and may be activated for individual users from the specfe preferences dialog.
| <<< Previous | Home | Next >>> |
| Getting and unpacking the specfe source code | Up | Compilation and installation |