[GRASSLIST:1791] GRASS Mac OS X -- no d.mon

In the process of installing GRASS on Mac OS X . . . GRASS is now running in an xterm window (Xtools), but have run into the following problem:

When try to assign a monitor device, I get the following:

<PERMANENT> in Location <spearfish>
GRASS 5.0beta11 > d.mon start=x2
Sorry, </usr/local/grass5/dev/fifo.3a> not available
Have GRASS adminstrator check etc/monitorcap file
Can't stat /usr/local/grass5/dev/fifo.3a
Problem selecting x2. Will try once more
Can't stat /usr/local/grass5/dev/fifo.3a

get same result for other values x3,x4, etc.

checking status with d.mon -L shows all displays as ??.

Following up, the error message, the /usr/local/grass5/dev directory is empty.

In the /usr/local/grass5/etc directory there are both a monitorcap and a monitorcap.orig file (which appear to be identical).

Sample info from monitorcap:

x0:driver/XDRIVER:X-windows graphics display: \
      /usr/local/grass5/dev/fifo.1a /usr/local/grass5/dev/fifo.1b \
      ::any terminal
x1:driver/XDRIVER:X-windows graphics display: \
      /usr/local/grass5/dev/fifo.2a /usr/local/grass5/dev/fifo.2b \
      ::any terminal

Any help appreciated.

Art

otter wrote:

In the process of installing GRASS on Mac OS X . . . GRASS is now
running in an xterm window (Xtools), but have run into the following
problem:

When try to assign a monitor device, I get the following:

<PERMANENT> in Location <spearfish>
GRASS 5.0beta11 > d.mon start=x2
Sorry, </usr/local/grass5/dev/fifo.3a> not available
Have GRASS adminstrator check etc/monitorcap file
Can't stat /usr/local/grass5/dev/fifo.3a
Problem selecting x2. Will try once more
Can't stat /usr/local/grass5/dev/fifo.3a

get same result for other values x3,x4, etc.

checking status with d.mon -L shows all displays as ??.

Following up, the error message, the /usr/local/grass5/dev directory is
empty.

The "configure" script should have output either:

  checking for XDriver... socket
or
  checking for XDriver... fifo

Do you recall which? Did you explicitly specify either --with-socket
or --with-fifo to configure? It should use sockets by default, but the
above message shouldn't occur when using sockets.

Also, "make install" should have installed the create_fifos.sh script,
from
  <grass-source-dir>/src/scripts/shells/create_fifos.sh

in the dev directory. However, you should be able to run it from the
source directory, with the GRASS installation root as an argument.
E.g.

  cd <grass-source-dir>/src/scripts/shells/
  sh ./create_fifos.sh /usr/local/grass5

(where <grass-source-dir> represents the topmost directory of the
GRASS source code).

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