[GRASSLIST:9774] Re: NVIZ fails to build on an up-to-date Ubuntu Hoary (was: errors building today's NVIZ)

Maciek Sieczka werchowyna at epf.pl
Mon Jan 9 16:20:04 EST 2006


On pon, 2006-01-09 at 09:21 -0800, David Finlayson wrote:
> For what it is worth, I just compiled GRASS CVS this weekend on Ubuntu
> 5.10. NVIS is working fine (against my new nVidia Graphics card even).

I confirm that. I built today's Grass 6.1 CVS on 5.10 with no problem on
another machine. I'll upgrade to Breezy on my laptop soon too, but I'm
not eager yet. Firts I'd like to get Grass to build on 5.04 as well.

Thanks to All for your remarks. So I see I need install to
libXxf86vm-dev (done) and  add a "-lXxf86vm"  flag to the linker. But I
don't know how-to.

Trying:

export LDFLAGS="-lXxf86vm"

at ./configure i get:

checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  -lXxf86vm) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.

How do I set this flag correctly?



Dylan suggested another way:
> add -lXxf86vm to the /nviz/src/Makefile

How do I do it, exactly?



I also tried to
export
X11_Xext_LIB="/usr/X11R6/lib/libXext.so:/usr/X11R6/lib/libXxf86vm.so" as
advised on http://vtk.org/Bug/bug.php?op=show&bugid=1777&pos=0, but this
doesn't change anything - still NVIZ fails to build.

Maciek


--------------------
Szukasz do¶wiadczonej firmy poligraficznej? Zale¿y Ci na terminowo¶ci i atrakcyjnych cenach?
Zapraszamy do nas!
http://www.foldruk.pl/




More information about the grass-user mailing list