Boolstuff library won't link on Manjaro

Hello! I am relatively new to library linking on Linux. I need the library Boolstuff for a project.

Boolstuff is this C/C++ library:
http://perso.b2b2c.ca/~sarrazip/dev/boolstuff.html

Running autoconf and make saves it at
/usr/local/lib,

and stores a .pc file at
/usr/local/lib/pkgconfig,

so that pkgconfig can be aware of it.

However, I am struggling to make it visible for pkg-config.

Boolstuff is requested in the following way in the makefile:

BOOLST_CFLAGS = -I/usr/local/include/boolstuff-0.1
BOOLST_LIBS = -L/usr/local/lib -lboolstuff-0.1

This is the error message I get:

In file included from src/lib/fs_sync_server.h:16,
from src/fs_site.cpp:3:
src/lib/query_engine.h:9:10: fatal error: boolstuff/BoolExprParser.h: No such file or directory
9 | #include <boolstuff/BoolExprParser.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:704: src/fs_site.o] Error

Does anyone know what could be wrong?

The full path is /usr/local/include/boolstuff-0.1/boolstuff/BoolExprParser.h , so …

BOOLST_CFLAGS = -I/usr/local/include/boolstuff-0.1/boolstuff

Right? :wink: