[GRASS-user] Help compiling on Fedora Core 5

I'm trying to compile 6.0.2 on FC5 (with gcc 4.1.0)

The compile completes but with two errors:

Errors in:
/home/micha/download/gis/grass-6.0.2/display/drivers/XDRIVER/XDRIVER24
/home/micha/download/gis/grass-6.0.2/visualization/nviz

After 'make install' I can start GRASS, but a display will not start (obviously, without the XDRIVER)

If I switch to the problem XDRIVER24 subdir and run make, I get many rows with 'undefined reference to..." . For example:

OBJ.i686-pc-linux-gnu/Draw_point.o: In function `draw_point':
/home/micha/download/gis/grass-6.0.2/display/drivers/XDRIVER/XDRIVER24/Draw_point.c:6: undefined reference to `XDrawPoint'

Any suggestions?

Thanks,

Micha

I'm trying to compile 6.0.2 on FC5 (with gcc 4.1.0)

The compile completes but with two errors:

Errors in:
/home/micha/download/gis/grass-6.0.2/display/drivers/XDRIVER/XDRIVER24
/home/micha/download/gis/grass-6.0.2/visualization/nviz

..

If I switch to the problem XDRIVER24 subdir and run make, I get many
rows with 'undefined reference to..." . For example:

OBJ.i686-pc-linux-gnu/Draw_point.o: In function `draw_point':
/home/micha/download/gis/grass-6.0.2/display/drivers/XDRIVER/XDRIVER2
4/Draw_point.c:6: undefined reference to `XDrawPoint'

Any suggestions?

are the XFree86-devel packages installed?

see the "spec" file which comes with the GRASS 6 for FC5 rpms for
example of package requirements and configure string:

http://ftp.gwdg.de/pub/misc/freegis/intevation/freegis/fedora/5/
http://ftp.gwdg.de/pub/misc/freegis/intevation/freegis/fedora/5/SPECS/grass.spec

I don't see X-dev on there? Omission?
(on debian the libx11-dev package has missing Xlib.h)

Hamish

Hamish wrote:

I'm trying to compile 6.0.2 on FC5 (with gcc 4.1.0)

The compile completes but with two errors:

Errors in:
/home/micha/download/gis/grass-6.0.2/display/drivers/XDRIVER/XDRIVER24
/home/micha/download/gis/grass-6.0.2/visualization/nviz
    

.
are the XFree86-devel packages installed?
see the "spec" file which comes with the GRASS 6 for FC5 rpms for
example of package requirements and configure string:

http://ftp.gwdg.de/pub/misc/freegis/intevation/freegis/fedora/5/
http://ftp.gwdg.de/pub/misc/freegis/intevation/freegis/fedora/5/SPECS/grass.spec

I don't see X-dev on there? Omission?
(on debian the libx11-dev package has missing Xlib.h)

Hamish
  

Hello Hamish:
Well, as you probably know, Fedora is based on Xorg, so I don't think there are any rpms for Xfree-devel.
But I have worked thru the problems by having a look at the configure string as you suggested. I added:
--with-includes=/usr/include
then the Xorg libraries were found.
In addition I had to install one additional package, libXmu-devel, and then the error regarding nviz also went away.
Thanks for your tip, which helped to get me up and running.

Cheers,
Micha