FLTK logo

[fltk.coredev] noisy fltk-config

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

noisy fltk-config Evan Laforge Jan 23, 2022  
 
Hi, this is a minor issue but pretty visible.  In latest fltk from
github, every run of fltk-config prints "grep:
/nix/store/c20mk84ykvyfzixcxr0yg41sbrxsrfx4-fltk-1.4-c0f5080cb056919e898ac572e72fd62568dc307a/bin/FL/fl_config.h:
No such file or directory" which is quite frequent if build files are
using it.

I tracked this down to 6546814a23, which inserts a `if grep -q
'^#define FLTK_HAVE_CAIRO 1' $selfdir/FL/fl_config.h` in
fltk-config.in.  Unfortunately this only works if fltk-config is in
the original source directory, and not if it's in an installed
location (nix weirdness above, but /usr/local/bin would have the same
problem I think).  I'm not really sure what the fix is, hence sending
this note rather than a PR!  But presumably it should know if cairo is
configured via @ substitution thing autotools does, rather than trying
to find a header, or at least it could know the absolute path to the
installed header presumably also via magic @s.

Coincidentally, I'm interested in trying out the cairo backend so I'm
glad to see an example in there :)

-- 
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/CACbaDy4aT%2By7-i%3DCs1PhoAPzcZjvSgHYWFTEmjZOTqoRg9L%3D-A%40mail.gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.