Following the instructions from read me file:
git clone --recursive -b osxfuse-2 git://github.com/osxfuse/osxfuse.git osxfuse
./build.sh -t dist
leads me into the following errors. I do have shtool installed.
/Users/abhinavsingh/Dev/osxfuse/kext/build/Release/osxfusefs.fs/Contents/Info.plist:19:12: warning: trigraph ignored [-Wtrigraphs]
<string>????</string>
^
1 warning generated.
=== BUILD AGGREGATE TARGET All OF PROJECT osxfusefs WITH CONFIGURATION Release ===
Check dependencies
** BUILD SUCCEEDED **
OSXFUSEBuildTool(smalldist) : building user-space OSXFUSE library
Running libtoolize...
Running autoreconf...
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:82: warning: macro 'AM_ICONV' not found in library
glibtoolize: putting auxiliary files in `.'.
glibtoolize: copying file `./ltmain.sh'
glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
glibtoolize: rerunning glibtoolize, to keep the correct libtool macros in-tree.
glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:82: warning: macro 'AM_ICONV' not found in library
configure.in:82: error: possibly undefined macro: AM_ICONV
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/local/Cellar/autoconf/2.69/bin/autoconf failed with exit status: 1
Linking kernel header file...
To compile run './configure', and then 'make'.
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
OSXFUSEBuildTool(smalldist) failed: cannot configure OSXFUSE library source for compilation.
I have automake, autoconf, libtool packages installed via brew and my system have no MacPorts (yet). Not sure if that should be a factor while building from source.
When using homebrew instead of MacPorts you need to install the following formulas:
The missing AM_ICONV should be provided by gettext.
Following
git clone --recursive -b master git://github.com/osxfuse/osxfuse.git osxfuse
./build.sh -v 5 -t distribution
I get this
[...]
T:library | Build target for OS X 10.9
Running libtoolize...
Running autoreconf...
configure.ac:76: warning: macro 'AM_ICONV' not found in library
glibtoolize: putting auxiliary files in `.'.
glibtoolize: copying file `./ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
glibtoolize: copying file `m4/libtool.m4'
glibtoolize: copying file `m4/ltoptions.m4'
glibtoolize: copying file `m4/ltsugar.m4'
glibtoolize: copying file `m4/ltversion.m4'
glibtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:76: warning: macro 'AM_ICONV' not found in library
configure.ac:76: error: possibly undefined macro: AM_ICONV
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/local/Cellar/autoconf/2.69/bin/autoconf failed with exit status: 1
To compile run './configure', and then 'make'.
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
T:library | Failed to configure target
I use homebrew, too.
My system contains
I don't know whether it's important, but when I brew link gettext I get
Warning: gettext is keg-only and must be linked with --force
Note that doing so can interfere with building software.
@Ecofritze I was having the same issue, and force linking gettext solved this.
Using homebrew too and having the issue.
Solved with: brew link gettext --force
Most helpful comment
Using homebrew too and having the issue.
Solved with:
brew link gettext --force