vasi / squashfuse

FUSE filesystem to mount squashfs archives
Other
288 stars 66 forks source link

Can't find FUSE with pkgconfig #69

Closed azubieta closed 2 years ago

azubieta commented 2 years ago

The configuration tool complains about missing FUSE while there is evidence in the logs that it was already found above. Notice that I'm trying to use a fuse build installed in a non standard location.

PKG_CONFIG_PATH=../../../deps-prefix/lib/pkgconfig ../squashfuse/configure
....

checking for pkgconfig_fuse... yes
checking for FUSE library... no
configure: error: in `/home/alexis/Workspace/AppImage/appimage-runtime/cmake-build-debug/squashfuse-prefix/src/squashfuse-build':
configure: error: Can't find FUSE with pkgconfig
probonopd commented 2 years ago

Hence, I entirely avoid pkgconfig :)

These tools are all more guesswork than anything. Just like autoconf, autotools, CMake and such. This is much simpler, easy to understand, and works for me: https://github.com/probonopd/static-tools/blob/master/src/runtime/Makefile

azubieta commented 2 years ago

@probonopd Notice that you're using the system fuse files in your code. My issue is when fuse is not installed.

azubieta commented 2 years ago

Found a workaround setting the PKG_CONFIG_PATH also for autogen.sh.

This may be a bug on autotools.