To be able to call solve you need to install solvers as well. Normally solver executables are placed on the search path to make them available from AMPL, although you can specify the full path to a solver executable in the solver option, e.g.
option solver 'path/to/solver';
Several open-source solvers, including gecode, are available for download from the AMPL Google Code repository.