[GRASS5] grass cvs snapshot from 26. Feb.
John Huddleston
jhudd at lamar.colostate.edu
Fri Mar 2 14:30:34 EST 2001
Hi Andreas,
The /bin/configure-grass.sh script that I use is as follows:
LIBS="-L/usr/X11R6/lib -lGLw -lGLU -lGL -lXm -lXt -lX11 -lSM -lICE -lXext"
export LIBS
rm -i config.cache
./configure -with-ipc --prefix=/usr/local --exec-prefix=/usr/local
--with-x-libs=/usr/X11R6/lib --with-x-includes=/usr/X11R6/include --with-x
and yes, I edit the head file to make sure that everything is correct.
In particular, the "-g -O2" option does not work with the current gdb
so I remove the "-g" , fix the bison, and other configurations for
my pc.
John Huddleston
----- Original Message -----
From: "Andreas Lange" <A.C.Lange at gmx.net>
To: <neteler at geog.uni-hannover.de>
Sent: Friday, March 02, 2001 6:39 AM
Subject: [GRASS5] grass cvs snapshot from 26. Feb.
> Hallo Markus,
>
> ich muss dich leider wieder mal bitten, die angehaengte Nachricht
> weiterzuleiten. Ich stelle es dir frei, die Nachricht an die Liste oder
> an die entspr. Leute weiterzuleiten.
> Viele Gruesse,
>
> Andreas
> -----
>
> Hi 2 all,
>
> i am currently not able to work on grass bugfixing,
> but i try to follow the developers' list.
> And i give up on the code merger for ipc and fifo
> setup too, i did not work on it for weeks,
> so it is not in sync with the CVS tree any more.
> Will the sockets setup be default for the stable
> version?
>
> I yesterday downloaded the CVS snapshot and did a "mass compile"
> on Linux, IRIX, FreeBSD/alpha and a new CYGWIN/Windows 2000 setup.
> On Cygwin with some manual tweaking of the header file the
> setup compiles without problems (still the yacc/bison problem
> and missing "more", the X11 include directory must be
> corrected because the tcl/tk setup has some headers that
> are found by default, but in the wrong directory).
> But it does not work on my machine. I have a Windows 2000
> PIII machine with the latest CYGWIN and the latest
> xfree86-4.0 installed.
>
> The "make install" with the sockets setup dies with
> some error for a missing create_sockets.sh script,
> this happens on Linux, IRIX, FreeBSD and Cygwin, but obviously only
> if ./configure --with-socket is used!
>
> If i fire up the X11 server i can only log into grass
> if i load explicitly bash in the xterm or in the rxvt.
> If i just issue /usr/local/bin/grass5 i get the login screen,
> but get thrown out of the grass session immediatly.
> The last message is see is "cleaning up temporary files" or such.
>
> If i issue "bash", next log into grass5 and do a "d.mon start=x0"
> i get the following error message:
> Usage: x0 [nlev]
> No socket to connect to for monitor <x0>
> Trying again
> No socket to connect to for monitor <x0>
> ..
>
> Any idea what to do?
>
> If i recompile using ipc/cygipc setup, i have to edit
> the header file again manually to get the XDRIVER to compile,
> the install works, but if i start the ipc-daemon.exe, fire
> up X11 server, log into grass and issue "d.mon start=x0" i
> get the following error message:
>
> using default visual which is TrueColor
> Visual is read-only or using a private colormap
> ncolors: 32768
> allocating memory...
> Graphics driver [x0] started
> 0 [main] x0 1672 fixup_mmaps_after_fork: base address fails to match
> requested address 0x45F0000
> C:\cygwin\usr\local\grass5\driver\XDRIVER.exe: ***
> recreate_mmaps_after_fork_failed
>
> Please start graphics monitor <x0>.
> Error - Graphics monitor <x0> not running!
> Problem selecting x0. Will try once more
> Please start graphics monitor <x0>.
> Error - Graphics monitor <x0> not running!
>
> This must be some internal cygipc error, i sadly am not able to
> debug this.
>
> Generally i must admit that the X11 server is still beta
> quality and i think that the average windows user will not
> be able to install the server.
> I myself was not able to configure it to use a german keyboard,
> backspace and delete do not work too, so it is a real pain to
> work in the xterm.
>
> And as far as i know the cygwish80 shell is linked against the
> Windows API, so it does not display on X11, but in the Win32 Window.
> I was able to tweak tcltkgrass in a way to start with cygwish80,
> but some functionalty will obviously not available on Win32
> (process management, cmp. proc kill in gui.tcl, xlsclients in
> proc search_xdrivers in gui.tcl, xwininfo in gui.tcl).
> It would be much easier to create a tcltkgrass that switches functions
> on win32/unix and displays in the native Win32 windows.
> This would require to write a new driver (e. g. a driver that
> uses OpenGL and the GLUT toolkit). I still believe that an OpenGL
> driver would be a nice solution as it would work on X11 and on Win32.
> The OpenGL and the X11 concept are not that different conceptually.
>
> The other tests in summary:
>
> Linux, Red Hat 7.0, Kernel 2.2.17-7, i686, gcc 2.96:
> fifo: compiles and works. confirmed.
> ipc: compiles error free and works, confirmed.
> sockets: compiles, d.mon start=x0 does not work.
> Message:
> "No socket to connect to for monitor <x0>
> Problem selecting x0. Will try once more" (twice)
>
> IRIX 6.5, IP22/R44k, gcc 2.95.2:
> fifo: compiles and works OK, confirmed.
> ipc: compiles OK, works, but is slow.
> sockets: does not compile, message below:
>
> ./configure --bindir=/usr/people/andreas/bin \
> --with-socket \
> --enable-postgres=no \
> --with-jpeg-includes=/usr/freeware/include \
> --with-jpeg-libs=/usr/freeware/lib32 \
> --with-tiff-includes=/usr/freeware/include \
> --with-tiff-libs=/usr/freeware/lib32 \
> --with-tcltk-includes=/usr/freeware/include \
> --with-tcltk-libs=/usr/freeware/lib32 \
> --with-opengl-includes=/usr/include/GL \
> --with-opengl-libs=/usr/lib32
>
> make install dies with error 1:
> src/scripts/shells/create_sockets.sh is missing!
>
> ERROR with XDRIVER:
> gcc -L/usr/freeware/lib32 -L/usr/lib32 -o
> /disk2/opt/grass.src/dist.mips-sgi-irix6.5/driver/XDRIVER
OBJ.mips-sgi-irix6.5/SWITCHER.o
> OBJ.mips-sgi-irix6.5/Box_abs.o OBJ.mips-sgi-irix6.5/Can_do.o
OBJ.mips-sgi-irix6.5/Color.o
> OBJ.mips-sgi-irix6.5/Cont_abs.o OBJ.mips-sgi-irix6.5/Clr_table.o
> OBJ.mips-sgi-irix6.5/Draw_line.o OBJ.mips-sgi-irix6.5/Get_w_box.o
> OBJ.mips-sgi-irix6.5/Get_w_line.o OBJ.mips-sgi-irix6.5/Get_w_pnt.o
OBJ.mips-sgi-irix6.5/Graph_Clse.o
> OBJ.mips-sgi-irix6.5/Graph_Set.o OBJ.mips-sgi-irix6.5/Panel.o
> OBJ.mips-sgi-irix6.5/Plylne_abs.o OBJ.mips-sgi-irix6.5/Polygn_abs.o
OBJ.mips-sgi-irix6.5/Returns.o
> OBJ.mips-sgi-irix6.5/Serve_Xevent.o OBJ.mips-sgi-irix6.5/alloc.o
> OBJ.mips-sgi-irix6.5/command_pend.o OBJ.mips-sgi-irix6.5/Raster.o
> ./lib/LIB.mips-sgi-irix6.5/driverlib.a
/disk2/opt/grass.src/src/libes/LIB.mips-sgi-irix6.5/libD.a
> /disk2/opt/grass.src/src/libes/LIB.mips-sgi-irix6.5/libgis.a -lSM -lICE
> -lX11 -lm
> ld32: WARNING 84:
/disk2/opt/grass.src/src/libes/LIB.mips-sgi-irix6.5/libD.a
> is not used for resolving any symbol.
> ld32: WARNING 84: /usr/lib32/libSM.so is not used for resolving any
symbol.
> ld32: WARNING 84: /usr/lib32/libm.so is not used for resolving any symbol.
> ld32: ERROR 33: Unresolved text symbol "__INTADDR__" -- 1st referenced by
>
/disk2/opt/grass.src/src/libes/LIB.mips-sgi-irix6.5/libgis.a(unix_socks.o).
> Use linker option -v to see when and which objects, archives and
> dsos are loaded.
> ld32: INFO 152: Output file removed because of error.
> collect2: ld returned 2 exit status
> make[1]: *** [/disk2/opt/grass.src/dist.mips-sgi-irix6.5/driver/XDRIVER]
> Error 1
> make[1]: Leaving directory
> `/disk2/opt/grass.src/src/display/devices/XDRIVER/XDRIVER24'
> make: *** [all] Error 2
> #################################################################
> /disk2/opt/grass.src/src/display/d.3d
> make -f OBJ.mips-sgi-irix6.5/make.rules
> gcc -L/usr/freeware/lib32 -L/usr/lib32 -o
> /disk2/opt/grass.src/dist.mips-sgi-irix6.5/etc/bin/cmd/d.3d
OBJ.mips-sgi-irix6.5/Dmain.o
> OBJ.mips-sgi-irix6.5/command.o OBJ.mips-sgi-irix6.5/threed.o
OBJ.mips-sgi-irix6.5/transform.o
> OBJ.mips-sgi-irix6.5/get_range.o OBJ.mips-sgi-irix6.5/clip.o
> OBJ.mips-sgi-irix6.5/check_opt.o OBJ.mips-sgi-irix6.5/sigint.o
OBJ.mips-sgi-irix6.5/get_row.o
> OBJ.mips-sgi-irix6.5/draw_face.o
> /disk2/opt/grass.src/src/libes/LIB.mips-sgi-irix6.5/libdisplay.a
> /disk2/opt/grass.src/src/libes/LIB.mips-sgi-irix6.5/libraster.a
/disk2/opt/grass.src/src/libes/LIB.mips-sgi-irix6.5/libgis.a
>
disk2/opt/grass.src/src/libes/LIB.mips-sgi-irix6.5/libdisplay.a -lm -I/usr/
include
> -L/usr/lib -lz
> ld32: WARNING 84:
> /disk2/opt/grass.src/src/libes/LIB.mips-sgi-irix6.5/libdisplay.a is not
used for resolving any symbol.
> ld32: ERROR 33: Unresolved text symbol "__INTADDR__" -- 1st referenced by
>
/disk2/opt/grass.src/src/libes/LIB.mips-sgi-irix6.5/libgis.a(unix_socks.o).
> Use linker option -v to see when and which objects, archives and
> dsos are loaded.
> ld32: INFO 152: Output file removed because of error.
> collect2: ld returned 2 exit status
> make: *** [/disk2/opt/grass.src/dist.mips-sgi-irix6.5/etc/bin/cmd/d.3d]
> Error 1
>
> all d.* modules do not link!
> many imagery, mapdev, paint, raster etc. modules do not link too.
>
> With all setups (ipc/fifo/sockets):
> Problem starting grass5:
> "Sorry, I need to know a more specific terminal type than ""."
> grass5 -tcltk works!
> grass5 -text does not work.
> export TERMINAL=ansi does not help.
> r.fill.dir does not compile (needs f77/g77, f77 is always found, i think
> that the detection order should be g77 first, f77 second.)
>
> FreeBSD/alpha, 4.2-RELEASE, gcc 2.95.2:
> fifo: compiles and works, confirmed.
> ipc: compiles error free except for NVIZ, works OK, confirmed. Slow.
> Problem with backing store?
> sockets: compiles and installs ok, but does not work:
> d.mon start=x0
> Usage: x0 [nlev]
> No socket to connect to for monitor <x0>.
> Problem selecting x0. Will try once more
> No socket to connect to for monitor <x0>.
>
> Windows 2000 Professional, 5.00.2195, Cygwin 1.1.8, i686, gcc 2.95.2-6:
> fifo: compiles ok, working not possible
> ipc: compiles ok so far, does not work.
> sockets: does not work.
>
> (on each machine i did:
> tar xzf grass_src, ./configure; make; make install for default fifo setup
> then:
> ./README.xdriver fifo|ipc|socket ; make ; make install)
>
>
> You are allowed to forward this to the developers list.
> Please answer to the list and cc to the above address.
>
> cu,
>
> Andreas
>
> --
> Sent through GMX FreeMail - http://www.gmx.net
>
>
> ----------------------------------------
> If you want to unsubscribe from GRASS Development Team mailing list write
to:
> minordomo at geog.uni-hannover.de with
> subject 'unsubscribe grass5'
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list