Bill Allombert on Tue, 01 Aug 2023 18:07:19 +0200


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

Re: [PATCH 0/2] use fltk's CXXFLAGS when looking for it


On Tue, Aug 01, 2023 at 11:15:34AM -0400, Michael Orlitzky wrote:
> On Tue, 2023-08-01 at 17:04 +0200, Bill Allombert wrote:
> > 
> > Hello Michael,
> > 
> > Could you clarify which version of FLTK you are targetting ?
> 
> Version 1.3.5, built with
> 
>   ./configure ... --includedir=/usr/include/fltk
> 
> Why do we (Gentoo) do that? I can only guess. Since we're a source-
> based distribution, installing a package means building it, and that
> requires us to install the development headers for everything. As a
> result we tend to be the ones who find out that two headers from
> different packages share the same name. My guess is that some FLTK
> header has the same name as a header from another package. By putting
> the headers in subdirectory, we avoid the name clash.

My first guess would be that you need to be able to install both fltk 1.1 and
fltk 1.3 at the same time. But your scheme does not allow that, since it does
not specify which libfltk.so to use if there are several. So maybe you are
passing other options/environment variables too.

Cheers,
Bill.