Go to the first, previous, next, last section, table of contents.
Execute the provided configure script specifying a --prefix option for a GNU-style directory heriarchy you would like to install in (e.g. "./configure --prefix=/opt/tools"). This will generate a base copy of WebMagick that has been edited to reflect the location of your PERL interpreter and the X11 RGB database. The configure script will ask you questions to provide definitions of $opt_prefixpath, $opt_rootpath, $opt_iconpath, $opt_htimage, and $opt_maptype in the `webmagick' script and the sample `webmagickrc' file. Read the Introduction section of this manual to learn the details. A few examples are provided below. The script provides a running narrative with examples so it should not be necessary to read much documentation before running it. Then "make install". This will install WebMagick, sample icons, the WebMagick JavaScript interface, and TexInfo documentation. The WebMagick icons must be installed in a directory somewhere under the same server "root" as the images you want to catalogue. This root does not neccessarily have to be the actual server root. The "root" may be established via a server path mapping (rather than symbolic link) that offsets onto another filesystem. In order for JavaScript mode to operate correctly, the file `webmagick.js' must be installed in the location specified by $opt_iconpath and the server must be updated to associate MIME type "application/x-javascript" with the extension ".js". This file contains the various JavaScript routines that define WebMagick's JavaScript interface. See the formal documentation for more on JavaScript.
By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc. You can specify an
installation prefix other than `/usr/local' by giving
configure
the option `--prefix=path'.
In addition, if you use an unusual directory layout you can give options like `--bindir=path' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them.
Go to the first, previous, next, last section, table of contents.