[GRASSLIST:3122] Re: Problem with monitor....

Glynn Clements glynn.clements at virgin.net
Thu Apr 8 18:04:34 EDT 2004

Massimiliano Cannata wrote:

> Hi users,
> I have got a proble passing from grass5.0.2 to grass5.3
> I execute as root:

> # ./configure  --prefix=/mnt/maxtor_linux/grass_home/grass53 
> --with-fftw --prefix=/usr/local/ --with-proj 

The second --with-prefix=... switch overrides the first.

> everything works fine, but unexpected :
> - my binary aren't in /mnt/maxtor_linux/grass_home/  directory but in 
> /usr/local/grass53

That's because of the --prefix=/usr/local/ switch.

> - when i call d.mon start=x0 i get this error message:
>     GRASS:~ > d.mon start=x0
>     ERROR: In main.c: Couldn't get socket path.

Possible reasons for this error are:

1. It couldn't figure out your username (does the "whoami" program
give the correct information)?

2. It couldn't create the /tmp/grass-<username> directory.

3. The /tmp/grass-<username> directory already exists, but you don't
own it.

4. /tmp/grass-<username> already exists, but it isn't a directory.

>     Failed to get socket name for monitor <x0>.
>     Problem selecting x0. Will try once more
>     Failed to get socket name for monitor <x0>.

These are a direct consequence of the driver failing to start due to
the above error.

> My system is a RedHat9 strike.
> First i didn't had any lilo files in my ....../grass53/dev directory, so 
> i run the script create_fifos.sh and now they are here, but nothing 
> change......

The dev directory and create_fifos.sh are only relevant if you used
the --enable-fifo switch (which only exists for compatibility reasons,
and shouldn't be used).

Glynn Clements <glynn.clements at virgin.net>

More information about the grass-user mailing list