[GRASSLIST:201] Re: can't start mon under WinGeneric but can under X11

Glynn Clements glynn.clements at virgin.net
Mon May 26 17:56:10 EDT 2003


Jeff D. Hamann wrote:

> tried that and still get the same results....
> 
> GRASS:~ > d.mon start=x0
> ERROR: Graph_Set: can't open Display
> No socket to connect to for monitor <x0>.
> Problem selecting x0. Will try once more
> No socket to connect to for monitor <x0>.
> GRASS:~ >
> 
> ./configure --without-gd --without-odbc --without-fftw -enable-w11
> 
> wouldn't configure without the opengl so I configured with:
> 
> ./configure --without-gd --without-odbc --without-fftw -enable-w11 --without
> -opengl
> 
> it configured and installed but I still get the same problem...

You need to rebuild the affected programs. The simple (but slow)
solution is to do "make distclean" then re-do the whole process.

	make distclean
	./configure ...
	make
	make install

The faster approach (but easier to get wrong) is to manually delete
the affected files, then rebuild only those programs, e.g.

	./configure ...
	cp -f src/CMD/head/head src/CMD/head/head.i686-pc-cygwin
	rm -f src/display/d.mon/pgms/OBJ.i686-pc-cygwin/*.o
	rm -f src/display/devices/XDRIVER/XDRIVER24/OBJ.i686-pc-cygwin/*.o
	gmake5 -i src/display/d.mon
	gmake5 -i src/display/devices/XDRIVER

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




More information about the grass-user mailing list