[GRASSLIST:9764] NVIZ fails to build on an up-to-date Ubuntu Hoary (was: errors
building today's NVIZ)
Maciek Sieczka
werchowyna at epf.pl
Sun Jan 8 16:16:38 EST 2006
Hi,
No matter what I do, NVIZ deosn't build in any Grass 6.0 or 6.1 I try on
my Ubuntu Hoary. Can any Hoary user please check if it works for him?
The error I'm continously getting is:
maciek at sorbus:~/src/straight/grass6/visualization/nviz$ make
cd src ; make
make[1]: Entering directory
`/home/maciek/src/straight/grass6/visualization/nviz/src'
gcc -Wl,--export-dynamic -L/home/maciek/src/straight/grass6/dist./lib
-Wl,-rpath-link,/home/maciek/src/straight/grass6/dist./lib
-o /home/maciek/src/straight/grass6/dist./bin/nviz OBJ./nvizAppInit.o
OBJ./change_view.o OBJ./draw.o OBJ./exag.o OBJ./glwrappers.o
OBJ./init_commands.o OBJ./lights.o OBJ./map_obj.o OBJ./misc.o
OBJ./nviz_init.o OBJ./position.o OBJ./quick_draw.o OBJ./anim_support.o
OBJ./cutplane_obj.o OBJ./script_support.o OBJ./do_zoom.o OBJ./label.o
OBJ./nvizMain.o OBJ./togl.o OBJ./togl_cb.o OBJ./query_vect.o
OBJ./volume.o OBJ./togl_flythrough.o -lgrass_ogsf -lgrass_image \
-lgrass_bitmap -lgrass_linkm -lgrass_vect -lgrass_dig2 -lgrass_dgl
-lgrass_rtree -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase
-L/usr/local/lib -lgdal -lgrass_sites -lgrass_form -lgrass_dbmiclient
-lgrass_dbmibase \
-lgrass_gis -lgrass_datetime -lz -lm -lz \
-lgrass_datetime -ltk8.3 -lm -ltcl8.3 -lm -lGLU -lGL -lpthread -lSM
-lICE -lX11 -lXmu -lXext -lm -ldl -lz -L/usr/X11R6/lib -ltiff \
-lSM -lICE -lX11 -lgrass_g3d
/usr/X11R6/lib/libGL.a(glxcmds.o)(.text+0x2eea): In function
`glXGetMscRateOML':: undefined reference to `XF86VidModeQueryVersion'
/usr/X11R6/lib/libGL.a(glxcmds.o)(.text+0x2f1a): In function
`glXGetMscRateOML':: undefined reference to `XF86VidModeGetModeLine'
collect2: ld returned 1 exit status
make[1]: *** [/home/maciek/src/straight/grass6/dist./bin/nviz] Error 1
make[1]: Leaving directory
`/home/maciek/src/straight/grass6/visualization/nviz/src'
make: *** [nvwish] Error 2
The ./configure was:
--with-cxx
--without-odbc
--enable-largefile
--with-sqlite
--with-tcltk-includes="/usr/include/tcl8.3/" "/usr/include/tk8.3/"
--with-postgres-includes="/usr/include/postgresql/"
--with-freetype
--with-freetype-includes="/usr/include/freetype2/"
The last succesfull Grass 6.1 CVS build on my machine was on 2005-11-16.
However, now the 2005-11-16 CVS revision fails. Thus I assume something
that was introduced to my system since 2005-11-16 causes the problem. I
have no idea what this exactly could be though. Since then I have been
updating my machine several times, keeping it always up to date.
Eg. the kernel revision changed. On 2005-11-16 it was:
linux-image-2.6.10-5-686 (2.6.10-34.7)
Now it's:
linux-image-2.6.10-6-686 (2.6.10-34.8)
And I'm mentioning it because of what I learned form Markus Neteler:
Maciek Sieczka wrote:
> > gcc -Wl,--export-dynamic
> > -L/home/maciek/src/straight/grass6/dist./lib
Markus Neteler wrote:
> isn't it strange that there is no architecture?
> It should be
> .../grass6/dist.i686-pc-linux-gnu/lib ...
> ^^^^^^^^^^^^^^^^^
What do you think of it?
I can't build NVIZ anymore which I have to use often. No good. Please
help.
Maciek
--------------------
W polskim Internecie s± setki milionów stron. My przekazujemy Tobie tylko najlepsze z nich!
http://katalog.panoramainternetu.pl/
More information about the grass-user
mailing list