fuse4x / sshfs

GNU General Public License v2.0
41 stars 4 forks source link

Autoconf & Automake #3

Closed mikz closed 12 years ago

mikz commented 12 years ago

I'm trying to compile sshfs on OS X 10.7. But I'm getting errors like:

configure.ac:2: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:3: error: possibly undefined macro: AM_CONFIG_HEADER configure.ac:6: error: possibly undefined macro: AM_PROG_CC_C_O configure.ac:37: error: possibly undefined macro: AM_CONDITIONAL

Autoconf version is autoconf (GNU Autoconf) 2.61 Automake version is automake (GNU automake) 1.10

Any ideas how to fix it ?

anatol commented 12 years ago

Do you compile it from Homebrew or just using ./build.rb script?

If you compile it from homebrew then you need to update xcode to the latest version (4.3.1).

If you use ./build.rb then you need to install required packages from macports, see http://fuse4x.org/faq.html#Q.4.1

sudo port install libtool autoconf automake gettext pkgconfig libiconv

If you use homebrew, then

mikz commented 12 years ago

Homebrew failed. So I tried to clone && build manualy.

Ah! I havent noticed build.rb file. Just tried automake directly. Thx, will try soon.

anatol commented 12 years ago

This is a known Homebrew issue https://github.com/mxcl/homebrew/issues/10853