Windows Install

From Geoqo
(Difference between revisions)
Jump to: navigation, search
(PPM Notes)
(PPM Notes)
Line 68: Line 68:
## older non-installer version:
<!-- older non-installer version: -->
== Compile and Install GeoQO ==
== Compile and Install GeoQO ==

Revision as of 15:35, 28 March 2007

To install on windows, you'll need to grab a few programs and perl modules.


Install ActivePerl

ActivePerl is the perl implementation for Windows. In order to run geoqo, you'll need an interpreter, and this is the easiest to install. Grab the latest windows version from:

The fields aren't required, so if you don't want to put in your information just skip them. You'll probably want the windows x86 MSI file.

The installation should go smoothly, the only really important thing to make sure is the box that says something like "Add to path" is CHECKED.

Get GeoQo

Once the installer finishes, download the latest version of geoqo:

Unzip it to whatever directory you'd like (I use Desktop\geoqo). Go to Start->Run, and in the text box type 'cmd' (without quotes) and hit enter. In the prompt, the command to switch directories is 'cd', so if you saved it to the folder 'geoqo' on your desktop type 'cd Desktop\geoqo'. Once you're there, type 'perl'. This will tell you what modules you need to install. If you don't have any of the required modules, write them down.

Install NMake

Next we'll need to download nmake, a windows program for building and installing the geoqo source. Get it from:

And save it to:


Install Needed Perl Modules

Next run the prerequisite check program in the geoqo directory:


Ignore the note about it has created an installation file for you. We are going to use ppm to install as much as possible first. Note what modules you need to install, load your command prompt again (Start-Run-cmd (if on win98, see here)) and type:


It'll appear to do nothing for a while, but it will be syncing your local module database with the server. Eventually it'll show a message saying "DONE" and you can start installing the modules you need.

  • Click View at the top
  • Select "All Packages."
    • Otherwise, you wouldn't see the packages you need to install.
  • To install a package, type the package name in the search box.
    • Note that the words are seperated by a hyphen, rather than two colons.
    • If you need to find DBD::SQLite2, type it as DBD-SQLite2. (You'll be presented with one package).
    • Right click on it, and click "Install DBD-SQLite2 (version number)".
  • Do this for all the modules you need to install, then once you've marked them all, hit Ctrl+Enter to download and install them.

PPM Notes

PPM does not contain easy installation for (at least) the following modules:

  • Date::Parse
  • Chart::Lines

You can likely install those using a command like:

  • perl -MCPAN -e "install 'MODULENAME'"

Where MODULENAME is the name of the module that can't be installed via ppm.

For Chart::Lines you will need this installed first:

Compile and Install GeoQO

Once that's all done, exit ppm and go back to your geoqo directory. Check your prerequisites again, and make sure you've got all the required ones. If you do, go ahead and type:

perl Makefile.PL

It should say something like "Writing makefile for geoqo", then return you to a prompt. Type:


It will compile the source code, then once that's done type:

nmake install

If all goes well, you shouldn't have any errors.

Finally, type:

 geoqo --setup-database

This creates the a GeoQO database ready to import some caches. At this point, you can follow the online help for importing and manipulating waypoints.

Personal tools