OSXFUSE installation not detected by pkg-config (and therefore by Makefile.PL for Perl fuse bindings)

988 views
Skip to first unread message

h MacKiernan

unread,
Dec 11, 2014, 8:24:38 AM12/11/14
to osxfus...@googlegroups.com
This might be more appropriate for the maintainer of the Perl Fuse module but I figured I might start here.

My OS is OS X 10.7.5

I am trying to install the Perl Fuse bindings (http://search.cpan.org/dist/Fuse/Fuse.pm)

The module's Makefile.PL fails and directs me to install OSXFUSE:

"Please install OSXFUSE from http://osxfuse.github.com/"

which (I believe) I have done via the installer package, yet even after that, Makefile.PL fails in the same manner.

The test that Makefile.PL is using to determine if OSXFUSE is installed is:

chomp(my $fusever = `pkg-config --modversion fuse 2> /dev/null`);

[and then later on uses pkg-config to probe other libs, etc. for the OSXFUSE installation]

Sure enough even from the command line, pkg-config doesn't believe osxfuse is installed.

pkg-config --modversion fuse 
Package fuse was not found in the pkg-config search path.
Perhaps you should add the directory containing `fuse.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fuse' found

Is there a different install process or component to OSXFUSE that I should be using to convince pkg-config that OSXFUSE is insalled, or
is there a setting for the PKG_CONFIG_PATH that points into wherever the OSXFUSE installer puts itself?

Thanks very much in advance




h MacKiernan

unread,
Dec 11, 2014, 8:44:03 AM12/11/14
to osxfus...@googlegroups.com
Answering my own question...

It says right in the FAQ:
Section 5

The osxfuse installer dumps a pkg-config file here:
/usr/local/lib/pkgconfig

and 
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

then satisfies Makefile.PL
Reply all
Reply to author
Forward
0 new messages