EDIT – Do not download Xcode from the App Store – Way too Slow – Use Developer Download page

This has to be one of the more frustrating installs I’ve ever done.  Note that I’m not even sure how some of these changes fix the issue.  I’ve just tracked it down and beat my head against the wall until I succeeded.

However, let’s fix a few errors:

./autogen.sh fails –

FIX – Need to fix configure.ac (see https://github.com/mauser/fuse-ext2-fakeFS/pull/2/commits/8596cc3ed6acacbd077cdcce0bab38a30788495d )

Starting on line 9, add three lines to configure.ac, to make it look like this (lines to add are shown as “Add”:

(Note that the smiley face is actually a colon followed by a paren – I’ve beat my head against a wall on this one and don’t feel like looking up the wordpress fix).  :)

AC_PROG_CC
AC_PROG_INSTALL
Add +m4_pattern_allow([AM_PROG_AR])
 Add +AM_PROG_AR
AC_PROG_LIBTOOL
 Add +AM_PROG_CC_C_O
AC_PATH_PROG(CHMOD, chmod, :)
case $target_os in

configure fails

FIX – add a package declaration to the line to make it look like:

PKG_CONFIG_PATH=”$(brew –prefix e2fsprogs)/lib/pkgconfig” CFLAGS=”-idirafter/$(brew –prefix e2fsprogs)/include -idirafter/usr/local/include/osxfuse” LDFLAGS=”-L$(brew –prefix e2fsprogs)/lib” ./configure

make fails

FIX – Download Xcode from the developer site (NOT THE APP STORE – SOOOOO SLOOOOWW!)

https://developer.apple.com/downloads/

 

 

Hopefully that helps you all install fuse-ext2 with OSXFuse.  Good Luck.

–Ben

Resources:

https://github.com/alperakcan/fuse-ext2

https://github.com/mauser/fuse-ext2-fakeFS/pull/2/commits/8596cc3ed6acacbd077cdcce0bab38a30788495d

https://github.com/alperakcan/fuse-ext2/issues/33