[GRASSLIST:2958] Re: GRASS 5.0 pre3

Glynn Clements glynn.clements at virgin.net
Mon Jan 21 16:46:55 EST 2002


John Preston wrote:

> Hi, I've recently downloaded the GRASS 5.0 pre3 code and can't seem to start
> any of  the monitors. Everything compiles and installs OK but when I try to
> start a monitor
> it tells me that I need more parameters.
> d.mon start=x0 or mon.start x0 all return error message:
> Usage: x0 <name> [-] "fifo.in fifo.out" [nlev]

This suggests that you're using an old version of mon.start with the
new XDRIVER.

The error message is from the current driver code:

    if (argc != 5)
    {
        fprintf(stderr,"Usage:  %s <name> [-] \"input_fifo output_fifo\" [<nlev>]\n", argv[0]);
        return 1;
    }


but the new version of mon.start passes the path to the driver in
argv[0], and the monitor name in argv[1].

Did you get any errors in error.log?

If mon.start failed to compile, and you then installed to a directory
containing a previous version, you would get the problem which you
describe.

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-user mailing list