Version 1.0 - May 16, 2002.
The following steps should be followed to successfully install
dictionary.pl:
- Download and install, if necessary, the modules listed in the section
titled DEPENDENCIES. Specifically, not included in the
dictionary package are the modules
- Net::Dict,
- File::BaseName, and
- File::Spec.
-
Download the dictionary package from
EarthWalk Software to a suitable directory. Refer to the
AVAILABILITY section.
-
Extract files from the archive:
gzip -d dictionary.tgz
tar -xvf dictionary.tar
-
Move the libraries and modules listed in DEPENDENCIES to the proper
directory for your server site.
If unsure, the libraries may be placed in the same folder as
dictionary, since most perl
installations will search the application directory for the libraries.
For example, if dictionary is placed
in the cgi-bin
directory, the libraries may be placed in cgi-bin/EWS.
-
Move the cascading style sheet files
(dictionary.css and
colorscheme.css) to the proper
directory for your server site.
If unsure, the libraries may be placed in the same folder as
dictionary.
NOTE: be sure to modify the initialize
file to indicate the proper location of the cascading style sheet files files.
-
Modify the source for the dictionary.pl
script as explained in the section titled CONFIGURATION and move the script
to the server's cgi directory. Give the script the proper amount of access
rights (perhaps 755) and the proper owner for access from your HTTP server.
-
Modify the initialize file dictionary.ini
as explained in the section titled CONFIGURATION and move the ini file to
the directory set in the dictionary.pl
configuration performed earlier.
-
Access the dictionary.pl script from
any browser by entering the following URL:
where localhost is the name or IP-address of the HTTP server, and
cgi-bin is the name of the cgi directory on that HTTP server.