Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS X - configure: error: Can't find libfuse, please install it #23

Open
mvmn opened this issue Feb 12, 2016 · 5 comments
Open

OS X - configure: error: Can't find libfuse, please install it #23

mvmn opened this issue Feb 12, 2016 · 5 comments

Comments

@mvmn
Copy link

mvmn commented Feb 12, 2016

I'm trying to build on OS X 10.11.3, but get error on configure
configure: error: Can't find libfuse, please install it

Fuse is installed from osxfuse-2.8.3.dmg from sourceforge as linked from http://osxfuse.github.io
https://sourceforge.net/projects/osxfuse/files/osxfuse-2.8.3/osxfuse-2.8.3.dmg/download

During installation all components checkboxes (Core, Pref Pane and Compatibility Layer) were checked.

Any idea what's missing?

@mvmn
Copy link
Author

mvmn commented Feb 12, 2016

UPD:
Found it in one of the issues - sbindir should be passed when running configure:
CFLAGS="-idirafter/usr/local/Cellar/e2fsprogs/1.42.13/include -idirafter/usr/local/include/osxfuse/" LDFLAGS="-L/usr/local/lib -L/usr/local/Cellar/e2fsprogs/1.42.13/lib" ./configure --sbindir=/usr/local/sbin

@mvmn
Copy link
Author

mvmn commented Feb 13, 2016

There were more errors regarding /System/Library being protected and that sort of thing, so I forked the repo and replaced some paths - https://github.com/mvmn/fuse-ext2

The intrusion is somewhat brutal, but end result works in OS X when run via:
sudo fuse-ext2 /dev/disk<X>s<Y> <destdir> [-o force]
(doesn't work without sudo BTW).

Note:

The mount -t fuse-ext2 /dev/disk<X>s<Y> <destdir> still has some path issue - spews this error:
mount: exec /Library/Filesystems/fuse-ext2.fs/Contents/Resources/mount_fuse-ext2 for /Volumes/sdlin: No such file or directory.

And even if I link the existing file /Library/Filesystems/fuse-ext2.fs/mount_fuse-ext2 to /Library/Filesystems/fuse-ext2.fs/Contents/Resources/mount_fuse-ext2, mount -t doesn't seem to mount anything (without sudo it produces exit code 252, with sudo simply nothing happens).

@vbauerster
Copy link

Same issue on OS X 10.11.4. Any update, how to fix?

@vbauerster
Copy link

I've tried with both 'Compatibility Layer' option on and off.
It fails at step:
CFLAGS="-idirafter/$(brew --prefix e2fsprogs)/include -idirafter/usr/local/include/osxfuse" LDFLAGS="-L$(brew --prefix e2fsprogs)/lib" ./configure

@muthusuba
Copy link

Use something like: (ref: #23 (comment))
CFLAGS="-idirafter/usr/local/Cellar/e2fsprogs/1.43.4/include -idirafter/usr/local/include/osxfuse/" LDFLAGS="-L/usr/local/lib -L/usr/local/Cellar/e2fsprogs/1.43.4/lib" ./configure --sbindir=/usr/local/sbin

Make sure the folders e2fsprogs/1.43.4/ is the version you have...

succeeds for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants