[GRASS5] d.mon select "ERROR eof from graphics driver."

Hamish hamish_nospam at yahoo.com
Sun Oct 30 18:28:39 EST 2005


Hi,

I just did a 6.1-cvs update & rebuild on an Athlon.  (Debian/stable)

I mistakenly used CFLAGS="-march=pentium4".

It gets past the configure step and the compile without errors.

The first error I find when I restart GRASS is when I go to start a
monitor:

G61> d.mon start=x0 -s
using default visual which is TrueColor
ncolors: 16777216
Graphics driver [x0] started
 [window opens]

G61> d.mon sel=x0
ERROR eof from graphics driver.
 [window closes]

G61 > d.mon start=x0
using default visual which is TrueColor
ncolors: 16777216
Graphics driver [x0] started
ERROR eof from graphics driver.
Problem selecting x0. Will try once more
Socket is already in use or not accepting connections.
Use d.mon to select a monitor
 [window briefly opens then closes]



My beef is with the configure step; can we have a better test that 
catches this sort of thing? Currently it doesn't mind:

checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -ggdb -march=pentium4 -Wall ) works... yes
checking whether the C compiler (gcc -ggdb -march=pentium4 -Wall ) is a cross-compiler... no
checking whether we are using GNU C... yes


I guess as configure only tests that a snippet compiles, not that it 
actually runs (to allow cross-compiler functionality), we should 
leave things as-is?

Anyway a hint for anyone searching the archives for this error..


Hamish




More information about the grass-dev mailing list