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

Dylan Beaudette dylan.beaudette at gmail.com
Mon Jan 9 17:12:12 EST 2006


On Monday 09 January 2006 01:20 pm, Maciek Sieczka wrote:
> 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.
>

This worked for me:

add 
"-lXxf86vm" 

to the /nviz/src/Makefile

cheers,

Dylan

> 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/

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341




More information about the grass-user mailing list