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

Thomas Weber thomas.weber.mail at gmail.com
Tue Mar 11 08:42:58 UTC 2008


package octplot
reassign 470327 fltk1.1
found 1.1.8~rc1-2
thanks

Hi Aaron,

fltk-config outputs several lines instead of one when called as 

	$ fltk-config --use-gl --libs

which makes it difficult to use the output in further commands. The
problem is in the "if" part, starting at line 319. 

This change happened in upstream Subversion revision 5985, which was a
fix for STR #1799. I don't know fltk's upstream, so can you please
clarify if this change will stay? I'll then try to come up with a
work-around, although I think outputting everything on one line is
preferred. 

See below for the corresponding FTBFS bug report for octplog.


Am Montag, den 10.03.2008, 12:04 -0700 schrieb Larry Doolittle:
> 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, 

Doing so now, thanks for the analysis.

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

Thanks
	Thomas







More information about the Pkg-octave-devel mailing list