Skip to content

Instantly share code, notes, and snippets.

@kajong0007
Created March 24, 2012 22:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kajong0007/2188788 to your computer and use it in GitHub Desktop.
Save kajong0007/2188788 to your computer and use it in GitHub Desktop.
brew install fontforge error
"brew install -v fontforge" yields:
==> Downloading http://downloads.sourceforge.net/project/fontforge/fontforge-source/fontforge_full-20110222.tar.bz2
Already downloaded: /Library/Caches/Homebrew/fontforge-20110222.tar.bz2
/usr/bin/tar xf /Library/Caches/Homebrew/fontforge-20110222.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/fontforge/20110222 --enable-double --without-freetype-bytecode
./configure --prefix=/usr/local/Cellar/fontforge/20110222 --enable-double --without-freetype-bytecode
checking for gcc... /usr/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i386-apple-darwin11.3.0
checking host system type... i386-apple-darwin11.3.0
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... /usr/bin/clang -E
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDevice in -lXi... yes
checking for XkbQueryExtension in -lxkbui... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by /usr/bin/clang... /usr/bin/clang
checking if the linker (/usr/bin/clang) is GNU ld... no
checking for /usr/bin/clang option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/clang++ accepts -g... yes
checking how to run the C++ preprocessor... /usr/bin/clang++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm output from /usr/bin/clang object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/clang option to produce PIC... -fno-common
checking if /usr/bin/clang PIC flag -fno-common works... yes
checking if /usr/bin/clang static flag -static works... no
checking if /usr/bin/clang supports -c -o file.o... yes
checking whether the /usr/bin/clang linker (/usr/bin/clang) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.3.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by /usr/bin/clang++... /usr/bin/clang
checking if the linker (/usr/bin/clang) is GNU ld... no
checking whether the /usr/bin/clang++ linker (/usr/bin/clang) supports shared libraries... yes
checking for /usr/bin/clang++ option to produce PIC... -fno-common
checking if /usr/bin/clang++ PIC flag -fno-common works... yes
checking if /usr/bin/clang++ static flag -static works... no
checking if /usr/bin/clang++ supports -c -o file.o... yes
checking whether the /usr/bin/clang++ linker (/usr/bin/clang) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.3.0 dyld
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for library containing dlopen... none required
checking for library containing inet_aton... none required
checking for library containing iconv... -liconv
-n Checking for python...
2.7
checking for library containing Py_Main... -lpython2.7
yes
checking for tzset... yes
checking for /usr/X11/include/freetype2... yes
checking for /usr/include/libxml2/libxml... yes
checking for DGifOpenFileName in -lgif... no
checking for DGifOpenFileName in -lungif... no
checking for deflateEnd in -lz... yes
checking for png_create_read_struct in -lpng16... no
checking for png_create_read_struct in -lpng15... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for jpeg_CreateDecompress in -ljpeg... no
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
checking for TIFFOpen in -ltiff... no
checking tiffio.h usability... no
checking tiffio.h presence... no
checking for tiffio.h... no
checking for TaggedSpiroCPsToBezier in -lspiro... no
checking spiroentrypoints.h usability... no
checking spiroentrypoints.h presence... no
checking for spiroentrypoints.h... no
checking for xmlParseFile in -lxml2... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for stdint.h... (cached) yes
checking fontconfig/fontconfig.h usability... yes
checking fontconfig/fontconfig.h presence... yes
checking for fontconfig/fontconfig.h... yes
checking for FcConfigCreate in -lfontconfig... yes
checking for cairo_set_scaled_font in -lcairo... yes
checking for X11/Xft/Xft.h... yes
checking for FT_New_Memory_Face in -lfreetype... yes
checking for pthread_create in -lpthread... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for snprintf... yes
checking for long double with more range or precision than double... yes
-n checking for long long ...
yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Unicode/Makefile
config.status: creating gutils/Makefile
config.status: creating gdraw/Makefile
config.status: creating fontforge/Makefile
config.status: creating po/Makefile
config.status: creating plugins/Makefile
config.status: creating systemspecific
config.status: creating fontforge.pc
config.status: creating po/mackeys/Makefile
config.status: creating inc/config.h
Configuration defines: -DHAVE_CONFIG_H
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -I/usr/X11/include/freetype2/ -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/include/libxml2/ -I/usr/X11R6//include/cairo -D_REENTRANT -I/usr/local/Cellar/pango/1.28.4/include/pango-1.0 -I/usr/local/Cellar/glib/2.30.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.30.3/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.30.3/include -I/usr/X11/include -I/usr/X11/include/freetype2 -D_REENTRANT -I/usr/local/Cellar/cairo/1.10.2/include/cairo -I/usr/local/Cellar/pango/1.28.4/include/pango-1.0 -I/usr/local/Cellar/glib/2.30.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.30.3/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.30.3/include -I/usr/local/Cellar/pixman/0.24.4/include/pixman-1 -I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include/libpng15
*******************************************************************
* You do not have /usr/local/Cellar/fontforge/20110222/bin in your PATH environment variable *
*******************************************************************
Error: undefined local variable or method `carbon_files_path' for fontforge:Fontforge
Please report this bug:
https://github.com/mxcl/homebrew/wiki/reporting-bugs
/usr/local/Library/Formula/fontforge.rb:39:in `install'
/usr/local/Library/Homebrew/utils.rb:231:in `inreplace'
/usr/local/Library/Homebrew/utils.rb:225:in `each'
/usr/local/Library/Homebrew/utils.rb:225:in `inreplace'
/usr/local/Library/Formula/fontforge.rb:38:in `install'
/usr/local/Library/Homebrew/build.rb:82:in `install'
/usr/local/Library/Homebrew/formula.rb:192:in `brew'
/usr/local/Library/Homebrew/formula.rb:518:in `stage'
/usr/local/Library/Homebrew/extend/fileutils.rb:22:in `mktemp'
/usr/local/Library/Homebrew/formula.rb:514:in `stage'
/usr/local/Library/Homebrew/formula.rb:187:in `brew'
/usr/local/Library/Homebrew/build.rb:61:in `install'
/usr/local/Library/Homebrew/build.rb:30
/usr/local/Library/Formula/fontforge.rb:53
"brew doctor" yields:
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/Library/Frameworks/Python.framework/Versions/Current/bin/python-config
/Library/Frameworks/Python.framework/Versions/Current/bin/python2.7-config
/Library/Frameworks/Python.framework/Versions/Current/bin/wx-config
/Library/Frameworks/Python.framework/Versions/2.7/bin/python-config
/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config
Warning: Enthought Python was found in your PATH.
This can cause build problems, as this software installs its own
copies of iconv and libxml2 into directories that are picked up by
other build systems.
Note:
I am a bit wary when it comes to messing with the things pointed out in "brew doctor".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment