What To Read ================== You should read the 'Installation' section. Read the other sections if you want more details on configure's options. 'File list' at the bottom provides a list of files installed by the package. It might be useful if the need arises to un-install the software later. Installation ================== System requirements: Unix system - this package has been built and run on Solaris and various Linux systems. tcl - version 8.3 or later, available from http://www.tcl.tk. On most systems, tclgeomap can be built and installed with the usual sequence: ./configure make make install configure studies the local system and determines how to build and install the software. It stores the resulting instructions in a file called Makefile. make actually builds the software. 'make install' moves the software files and documentation to their destination directories and creates any necessary links. See section "File list" below for a list of files installed by 'make install'. By default, the software is installed in /usr/local. This destination can be over-ridden with the prefix option to configure, i.e. for the first step above enter './configure --prefix=install_dir'. You can correct a build failure or customize the build and install process by giving options to configure. Enter 'configure --help' for a complete list of available options. Here is a list of options specific to tclgeomap: --with-tcl specifies the directory that contains tclConfig.sh Default location is /usr/local/lib. --with-tclinclude specifies the directory that contains the tcl headers (e.g. tcl.h, tclDecls.h). Default location is /usr/local/include, but some systems have several versions of tcl installed with a header directory for each. ===================== The rest of this file gives extra options and details for the configure and build process. The file list is at the end. Most users do not need to read beyond this point. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. You can give `configure' initial values for variables by setting them in the environment. Using a Bourne-compatible shell, you can do that on the command line like this: CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure Or on systems that have the `env' program, you can do it like this: env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. If you have to use a `make' that does not supports the `VPATH' variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. Installation Names ================== By default, `make install' will install the package's files in the directory tree occupied by Tcl. You can specify an installation prefix other than the Tcl default by giving `configure' the option `--prefix=PATH'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you give `configure' the option `--exec-prefix=PATH', the package will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. 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. If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Optional Features ================= Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Specifying the System Type ========================== There may be some features `configure' can not figure out automatically, but needs to determine by the type of host the package will run on. Usually `configure' can figure that out, but if it prints a message saying it can not guess the host type, give it the `--host=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name with three fields: CPU-COMPANY-SYSTEM See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the host type. If you are building compiler tools for cross-compiling, you can also use the `--target=TYPE' option to select the type of system they will produce code for and the `--build=TYPE' option to select the type of system on which you are compiling the package. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Operation Controls ================== `configure' recognizes the following options to control how it operates. `--cache-file=FILE' Use and save the results of the tests in FILE instead of `./config.cache'. Set FILE to `/dev/null' to disable caching, for debugging `configure'. `--help' Print a summary of the options to `configure', and exit. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `--version' Print the version of Autoconf used to generate the `configure' script, and exit. `configure' also accepts some other, not widely useful, options. File list ================== 'make install' creates the following files and links. Library files and indeces (this is the actual software): /usr/local/lib/libtclgeomap2.11.4.so /usr/local/lib/tclgeomap2.11.4/tclgeomap_procs.tcl /usr/local/lib/tclgeomap2.11.4/pkgIndex.tcl Headers (needed to compile other extensions that use tclgeomap): /usr/local/include/tclgeomap2.11.4/geoLines.h /usr/local/include/tclgeomap2.11.4/geoLnArrToMap.h /usr/local/include/tclgeomap2.11.4/geoProj.h /usr/local/include/tclgeomap2.11.4/geography.h /usr/local/include/tclgeomap2.11.4/mapLines.h /usr/local/include/tclgeomap2.11.4/tclgeomap.h Man pages (note, most of these are just links): /usr/local/man/man3/geoLn.3 /usr/local/man/man3/geoLnArr.3 /usr/local/man/man3/geoLnArrToMap.3 /usr/local/man/man3/geoProj.3 /usr/local/man/man3/geography.3 /usr/local/man/man3/mapLn.3 /usr/local/man/man3/mapLnArr.3 /usr/local/man/man3/tclgeomap.3 /usr/local/man/man3/GeoLn.3 /usr/local/man/man3/GeoLnCreate.3 /usr/local/man/man3/GeoLnClear.3 /usr/local/man/man3/GeoLnSetAlloc.3 /usr/local/man/man3/GeoLnAddPt.3 /usr/local/man/man3/GeoLnInfo.3 /usr/local/man/man3/GeoLnGetPt.3 /usr/local/man/man3/GeoLnDestroy.3 /usr/local/man/man3/GeoLnCtr.3 /usr/local/man/man3/GeoLnContainGeoPt.3 /usr/local/man/man3/GeoLnArr.3 /usr/local/man/man3/GeoLnArrCreate.3 /usr/local/man/man3/GeoLnArrSetDescr.3 /usr/local/man/man3/GeoLnArrSetAlloc.3 /usr/local/man/man3/GeoLnArrAddLine.3 /usr/local/man/man3/GeoLnArrPutLine.3 /usr/local/man/man3/GeoLnArrContainGeoPt.3 /usr/local/man/man3/GeoLnArrGetDescr.3 /usr/local/man/man3/GeoLnArrGetInfo.3 /usr/local/man/man3/GeoLnArrGetLine.3 /usr/local/man/man3/GeoLnArrFree.3 /usr/local/man/man3/GeoLnArrDestroy,.3 /usr/local/man/man3/GeoProj.3 /usr/local/man/man3/GeoProjAlloc.3 /usr/local/man/man3/GeoProjInit.3 /usr/local/man/man3/GeoProjFree.3 /usr/local/man/man3/GeoProjDestroy.3 /usr/local/man/man3/GeoProjGetInfo.3 /usr/local/man/man3/GeoProjGetType.3 /usr/local/man/man3/GeoProjDescriptor.3 /usr/local/man/man3/ProjToLatLon.3 /usr/local/man/man3/LatLonToProj.3 /usr/local/man/man3/SetCylEqDist.3 /usr/local/man/man3/SetCylEqArea.3 /usr/local/man/man3/SetMercator.3 /usr/local/man/man3/SetLambertConfConic.3 /usr/local/man/man3/SetLambertEqArea.3 /usr/local/man/man3/SetStereographic.3 /usr/local/man/man3/SetOrthographic.3 /usr/local/man/man3/REarth.3 /usr/local/man/man3/SetREarth.3 /usr/local/man/man3/BadAngle.3 /usr/local/man/man3/AngleIsOK.3 /usr/local/man/man3/AngleIsBad.3 /usr/local/man/man3/AngleFmDeg.3 /usr/local/man/man3/AngleToDeg.3 /usr/local/man/man3/AngleFmRad.3 /usr/local/man/man3/AngleToRad.3 /usr/local/man/man3/ISin.3 /usr/local/man/man3/ICos.3 /usr/local/man/man3/GeoPtSetDeg.3 /usr/local/man/man3/GeoPtSetRad.3 /usr/local/man/man3/GeoPtGetDeg.3 /usr/local/man/man3/GeoPtGetRad.3 /usr/local/man/man3/GeoStep.3 /usr/local/man/man3/GeoPtIsSomewhere.3 /usr/local/man/man3/GeoPtIsNowhere.3 /usr/local/man/man3/GeoPtNowhere.3 /usr/local/man/man3/MapPtIsSomewhere.3 /usr/local/man/man3/MapPtIsNowhere.3 /usr/local/man/man3/MapPtNowhere.3 /usr/local/man/man3/ScaleMapPt.3 /usr/local/man/man3/GeoDistance.3 /usr/local/man/man3/GeoQuickDistance.3 /usr/local/man/man3/Azimuth.3 /usr/local/man/man3/GCircleX.3 /usr/local/man/man3/DomainLat.3 /usr/local/man/man3/DomainLon.3 /usr/local/man/man3/GwchLon.3 /usr/local/man/man3/DomainLonPt.3 /usr/local/man/man3/GwchLonPt.3 /usr/local/man/man3/LonCmp.3 /usr/local/man/man3/LatCmp.3 /usr/local/man/man3/AngleCmp.3 /usr/local/man/man3/LonBtwn.3 /usr/local/man/man3/LonBtwn1.3 /usr/local/man/man3/Rotation.3 /usr/local/man/man3/NewRotation.3 /usr/local/man/man3/SetRotation.3 /usr/local/man/man3/GetRotation.3 /usr/local/man/man3/DeleteRotation.3 /usr/local/man/man3/Rotate.3 /usr/local/man/man3/MapLn.3 /usr/local/man/man3/MapLnCreate.3 /usr/local/man/man3/MapLnClear.3 /usr/local/man/man3/MapLnSetAlloc.3 /usr/local/man/man3/MapLnAddPt.3 /usr/local/man/man3/MapLnGetInfo.3 /usr/local/man/man3/MapLnGetPt.3 /usr/local/man/man3/MapLnDestroy.3 /usr/local/man/man3/MapLnArr.3 /usr/local/man/man3/MapLnArrCreate.3 /usr/local/man/man3/MapLnArrSet.3 /usr/local/man/man3/MapLnArrSetDescr.3 /usr/local/man/man3/MapLnArrSetAlloc.3 /usr/local/man/man3/MapLnArrAddLine.3 /usr/local/man/man3/MapLnArrGetDescr.3 /usr/local/man/man3/MapLnArrGetInfo.3 /usr/local/man/man3/MapLnArrGetLine.3 /usr/local/man/man3/MapLnArrDestroy.3 /usr/local/man/man3/Tclgeomap_Init.3 /usr/local/man/man3/Tclgeomap_NewGeoPtObj.3 /usr/local/man/man3/Tclgeomap_SetGeoPtObj.3 /usr/local/man/man3/Tclgeomap_GetGeoPtFromObj.3 /usr/local/man/man3/Tclgeomap_NewMapPtObj.3 /usr/local/man/man3/Tclgeomap_SetMapPtObj.3 /usr/local/man/man3/Tclgeomap_GetMapPtFromObj.3 /usr/local/man/man3/Tclgeomap_GetProj.3 /usr/local/man/man3/Tclgeomap_ProjName.3 /usr/local/man/man3/Tclgeomap_AddProjUpdateTask.3 /usr/local/man/man3/Tclgeomap_CnxProjUpdateTask.3 /usr/local/man/man3/Tclgeomap_AddProjDeleteTask.3 /usr/local/man/man3/Tclgeomap_CnxProjDeleteTask.3 /usr/local/man/man3/Tclgeomap_AddLnArr.3 /usr/local/man/man3/Tclgeomap_GetLnArr.3 /usr/local/man/man3/Tclgeomap_LnArrName.3 /usr/local/man/man3/Tclgeomap_AddLnArrDeleteTask.3 /usr/local/man/man3/Tclgeomap_CnxLnArrDeleteTask.3 /usr/local/man/man3/Tclgeomap_AddPlaceUpdateTask.3 /usr/local/man/man3/Tclgeomap_CnxPlaceUpdateTask.3 /usr/local/man/man3/Tclgeomap_AddPlaceDeleteTask.3 /usr/local/man/man3/Tclgeomap_CnxPlaceDeleteTask.3 /usr/local/man/man3/Tclgeomap_GetPlace.3 /usr/local/man/man3/Tclgeomap_PlaceLoc.3 /usr/local/man/man3/Tclgeomap_PlaceName.3 /usr/local/man/mann/tclgeomap.n /usr/local/man/mann/tclgeomap_procs.n /usr/local/man/mann/georadius.n /usr/local/man/mann/latlonok.n /usr/local/man/mann/mapptok.n /usr/local/man/mann/lonbtwn.n /usr/local/man/mann/gclcross.n /usr/local/man/mann/rotatpt.n /usr/local/man/mann/scalept.n /usr/local/man/mann/domnlat.n /usr/local/man/mann/domnlon.n /usr/local/man/mann/domnlonpt.n /usr/local/man/mann/gwchlon.n /usr/local/man/mann/gwchpt.n /usr/local/man/mann/dmstodec.n /usr/local/man/mann/dectodm.n /usr/local/man/mann/dectodms.n /usr/local/man/mann/cartg.n /usr/local/man/mann/projection.n /usr/local/man/mann/lnarr.n /usr/local/man/mann/place.n /usr/local/man/mann/latitude.n /usr/local/man/mann/longitude.n /usr/local/man/mann/latlon.n /usr/local/man/mann/circle.n /usr/local/man/mann/fillsegment.n /usr/local/man/mann/grid_list.n /usr/local/man/mann/ocean_list.n