[Pkg-octave-devel] Packaging octplot

Thomas Weber thomas.weber.mail at gmail.com
Sun Dec 4 10:15:27 UTC 2005


Hi, 

a general question: did anybody succeed in building octplot on unstable? 

./configure bails out:
========================================================================
checking for freetype-config... /usr/bin/freetype-config
checking for FreeType -- version >= 9.0.3... no
configure: WARNING:

  The FreeType test program failed to run.  If your system uses
  shared libraries and they are installed outside the normal
  system library path, make sure the variable LD_LIBRARY_PATH
  (or whatever is appropiate for your system) is correctly set.
         
configure: error: FreeType2 is required to compile this library
========================================================================



The error message in config.log is:
========================================================================
configure:4485: checking for FreeType -- version >= 9.0.3
configure:4571: gcc -o conftest -g -O2  -I/usr/include/freetype2
conftest.c -lfreetype -lz  /usr/lib/libfltk.a /usr/lib/libfltk_gl.a
-L/usr/X11R6/lib -lfltk_gl -lGLU -lGL -lfltk -lXft -lpthread -lm -lXext
-lX11 -lstdc++ >&5
/usr/X11R6/lib/libGL.a(glxcmds.o): In function `glXGetMscRateOML':
undefined reference to `XF86VidModeQueryVersion'
/usr/X11R6/lib/libGL.a(glxcmds.o): In function `glXGetMscRateOML':
undefined reference to `XF86VidModeGetModeLine'
collect2: ld returned 1 exit status
configure:4574: $? = 1
configure: program exited with status 1
========================================================================


Adding -lXxf86vm to the linker line fixes this, but I don't know enough
about autotools to change this.

Regards
	Thomas




More information about the Pkg-octave-devel mailing list