Closed travisdowns closed 7 years ago
On second thought, looking at the existing squash project, the pattern everywhere seems to be <squash/squash.h>
, so perhaps it is the way the make install
builds the include dir that is faulty. I'll wait for further advice.
Sorry, working my way through my backlog; this is the issue I noticed due to the squash0.8 vs. squash-0.8 bug you also brought up. It should be fixed by 26df120df352af392fd4431f05c6f1de63390753.
Thanks, confirmed that it works after I pulled down 26df120.
When building squash-benchmark, after building and installing squash 0.8, it fails as follows:
Indeed,
benchmark.c
does an#include <squash/squash.h>
, but the squash headers themselves are installed into a version-specific squash directory:That directory does get on the command line thanks to
pkq-config
, which resolves to:... but
squash.h
is a direct child ofsquash-0.8
so#include <squash/squash.h>
will fail. There is asquash
directory under there, but it has just the finer-grained APIs, and notsquash.h
.My guess is that the idea is just that users of the installed library should just include
<squash.h>
so I'll submit a pull request to that effect.