Yeah, I asked about that earlier, for some reason qwt is hard coded to
/usr/include in the configure script. It really should just use the
system
path and not check just one predefined path, this also is a problem on
Gentoo and any other OS that uses “/usr/local/” instead of “/usr/”.
What the configure script should do is make two C programs:
#include < qwt/qwt_math.h >
and
#include < qwt5/qwt_math.h >
then see which compiles to find the qwt include folder name, or just not
check and assume the first as that is what the code expects and most
systems do anyway. Checking breaks more systems than it helps at this
point, if anyone uses qwt5 directory they should just change it
themselves.
make qwt find script better. Its fixes the need to manually specify
-DQWT_INCLUDE_DIRS
Use CLOCK_GETTIME and not MACH_ABSOLUTE_TIME. Question: Did gr-qtgui
compile for you without this change? In other words, does your OS have
mach kernel headers?
It worked for me other than the qwt so I think so.
Just a quick explanation here. Qwt has a very simple, kind of
non-standard
installation that’s hard to generalize. They don’t use standard tools
for
auto-discovery of the lib or include paths, so we search the “common”
locations for it.
You should be able to pass this information to the configure scripts. I
don’t know what these parameters are off the top of my head, though.