[GRASSLIST:7447] NVIZ compile error

Trevor Wiens twiens at interbaun.com
Mon Jul 4 16:43:57 EDT 2005


I've finally decided to move to 6.0 from the 6.0 beta2. When compiling I get a complaint about nviz with the suggestion to go the nviz directory and execute make. Upon doing that I get the following error.


/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]: *** [/usr/local/grass-6.0.0/dist.i686-pc-linux-gnu/bin/nviz] Error 1
make[1]: Leaving directory `/usr/local/grass-6.0.0/visualization/nviz/src'
make: *** [nvwish] Error 2

I'm runnign Ubuntu Linux so I assume that the tk8.4 vs tk8.3 problem applies. I tried with both, but got the a similar problem.

Any suggestions as to what might be missing would be helpful. I used the following configure command as I found in search of the message list archives.

CFLAGS="-g -Wall" ./configure --with-tcltk-includes=/usr/include/tcl8.3 --with-postgres-includes=/usr/include/postgresql --with-motif --with-motif-includes=/usr/X11R6/include --with-readline --with-gdal --with-cxx --with-odbc --with-freetype --with-freetype-includes=/usr/include/freetype2 2>&1 | tee config_log.txt

>From which the following info comes:
GRASS is now configured for:  i686-pc-linux-gnu

 Source directory:            /usr/local/grass-6.0.0
 Build directory:             /usr/local/grass-6.0.0
 Installation directory:      /usr/local/grass-6.0.0
 Startup script in directory: ${exec_prefix}/bin
 C compiler:                  gcc -g -Wall 
 C++ compiler:                c++ -g -O2
 FORTRAN compiler:            
 Building shared libraries:   yes

  NVIZ:                       yes

  X11 support:                yes
  JPEG support:               yes
  TIFF support:               yes
  PNG support:                yes
  Tcl/Tk support:             yes
  PostgreSQL support:         yes
  MySQL support:              no
  OpenGL(R) support:          yes
  ODBC support:               yes
  FFTW support:               yes
  BLAS support:               no
  LAPACK support:             no
  Motif support:              yes
  FreeType support:           yes
  GLw support:                no
  NLS support:                no
  Readline support:           yes
  C++ support:                yes
  openDWG support:            no
  GDAL support:               yes
  OGR support:                yes


Thanks

T
-- 
Trevor Wiens
twiens at spacelan.ne.jp

The greatest obstacle to discovery is not ignorance - it is the illusion of knowledge.
(Daniel J. Boorstin)




More information about the grass-user mailing list