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

configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.." #149

Closed
abhinavsingh opened this issue Jul 13, 2014 · 4 comments

Comments

@abhinavsingh
Copy link

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.

@bfleischer
Copy link
Member

When using homebrew instead of MacPorts you need to install the following formulas:

  • autoconf
  • automake
  • gettext
  • libtool

The missing AM_ICONV should be provided by gettext.

@jonas-schulze
Copy link

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

  • OS X 10.9.4
  • ntfs-3g 2014.2.15
  • autoconf 2.69
  • automake 1.14.1
  • gettext 0.18.3.2
  • libtool 2.4.2

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.

@andykingking
Copy link

@Ecofritze I was having the same issue, and force linking gettext solved this.

@hallelujah
Copy link

Using homebrew too and having the issue.

Solved with: brew link gettext --force

flandr added a commit to flandr/osxfuse that referenced this issue Jun 25, 2015
As discussed in issue osxfuse#149, this package provides the AM_ICONV macro
needed in autoconf.
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

5 participants