[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-octave-devel] Bug#470327: problem in fltk-config



The origin of the problem is a change (between fltk1.1-1.1.7 and
fltk1.1-1.1.8~rc1) in the output of fltk-config.

With libfltk1.1{,-dev} version 1.1.7-7 installed, I get

$ fltk-config --use-gl --libs
/usr/lib/libfltk.a /usr/lib/libfltk_gl.a
$

but with revision 1.1.8~rc1-2 I get

$ fltk-config --use-gl --libs
/usr/lib/libfltk.a
/usr/lib/libfltk_gl.a
$

The octplot configure script gets tripped up by the extra linefeed,
so the resulting Makefile has

LIBS =  /usr/lib/libfltk.a
/usr/lib/libfltk_gl.a -lfltk_gl -lfltk -lGLU -lGL  -lm -lfreetype -lz

instead of

LIBS =  /usr/lib/libfltk.a /usr/lib/libfltk_gl.a -lfltk_gl -lfltk -lGLU -lGL  -lm -lfreetype -lz

I humbly suggest reassigning to package fltk1.1, although I could also
make an argument that autoconf should deal with this case.  There's not
really anything to fix in octplot, which just does
   LIBS="$LIBS `$FLTK_CONFIG $fltkconf_args --use-gl --libs`"
in configure.ac.

   - Larry





Reply to: