Discussion:
[fontforge-users] Attempt to install fontforge with Homebrew on OS X, Build Error with ./bootstrap
Kenneth Reid Beesley
2015-10-28 21:22:46 UTC
Permalink
Failed attempt to install fontforge with Homebrew on OS X, Build Error with ./bootstrap

Environment: OS X Yosemite 10.10.5
I performed available updates for OS X (but not to El Capitan)
I have and use brew routinely.
I did a ‘brew update’ and ‘brew upgrade’ and ‘brew doctor’ before starting.

What I Tried:
Following instructions on https://github.com/fontforge/fontforge/blob/master/INSTALL-git.md
I invoked

brew install -v --debug --with-giflib --with-libspiro fontforge —HEAD
At the end of a long trace (full trace available by request) I got the following BuildError:


You may need to use the following Makefile variables when linking.
Use them in <program>_LDADD when linking a program, or
in <library>_a_LDFLAGS or <library>_la_LDFLAGS when linking a library.
$(GETHOSTNAME_LIB)
$(INET_NTOP_LIB)
$(LIBSOCKET)
$(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise

Don't forget to
- add "lib/Makefile" to AC_CONFIG_FILES in ./configure.ac,
- mention "lib" in SUBDIRS in Makefile.am,
- mention "-I m4" in ACLOCAL_AMFLAGS in Makefile.am,
- mention "m4/gnulib-cache.m4" in EXTRA_DIST in Makefile.am,
- invoke gl_EARLY in ./configure.ac, right after AC_PROG_CC_C99,
- invoke gl_INIT in ./configure.ac.
Copying file compile
Copying file install-sh
Copying file mdate-sh
Copying file texinfo.tex
Copying file depcomp
Copying file config.guess
Copying file config.sub
Copying file INSTALL
bootstrap: running: autoreconf --symlink --install
configure.ac:205: error: Could not locate the pkg-config autoconf macros.
These are usually located in /usr/share/aclocal/pkg.m4. If your macros
are in a different location, try setting the environment variable
ACLOCAL="aclocal -I/other/macro/dir" before running autoreconf.
configure.ac:205: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
/usr/local/Library/Homebrew/debrew.rb:11:in `raise'
BuildError: Failed executing: ./bootstrap --gnulib-srcdir=/Library/Caches/Homebrew/fontforge--gnulib--git --skip-git
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action:

Any suggestions for continuation would be appreciated.

Best,

Ken Beesley

********************************
Kenneth R. Beesley, D.Phil.
PO Box 540475
North Salt Lake UT 84054
USA






------------------------------------------------------------------------------
Loading...