Skip to content

Instantly share code, notes, and snippets.

@cvasilak
Created October 23, 2010 17:06
Show Gist options
  • Save cvasilak/642445 to your computer and use it in GitHub Desktop.
Save cvasilak/642445 to your computer and use it in GitHub Desktop.
brew install -vd rrdtool
cvasilak$ brew install -vd rrdtool
==> Build Environment
CC: /usr/bin/cc => /usr/bin/gcc-4.2
CXX: /usr/bin/c++ => /usr/bin/c++-4.2
LD: /usr/bin/cc => /usr/bin/gcc-4.2
CFLAGS: -O3 -march=core2 -w -pipe
CXXFLAGS: -O3 -march=core2 -w -pipe
CPPFLAGS: -I/usr/local/Cellar/libpng/1.2.44/include -I/usr/local/Cellar/libxml2/2.7.7/include -I/usr/local/Cellar/gettext/0.17/include
LDFLAGS: -L/usr/local/Cellar/libpng/1.2.44/lib -L/usr/local/Cellar/libxml2/2.7.7/lib -L/usr/local/Cellar/gettext/0.17/lib
MAKEFLAGS: -j2
PKG_CONFIG_PATH: /usr/local/Cellar/libpng/1.2.44/lib/pkgconfig:/usr/local/Cellar/libxml2/2.7.7/lib/pkgconfig:/usr/local/Cellar/gettext/0.17/lib/pkgconfig
==> Downloading http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.4.tar.gz
File already downloaded and cached to /Users/cvasilak/Library/Caches/Homebrew
/usr/bin/tar xf /Users/cvasilak/Library/Caches/Homebrew/rrdtool-1.4.4.tar.gz
==> Downloading patches
==> Patching
/usr/bin/patch -f -p1 -i 001-homebrew.diff
patching file configure
Warning: Using system Ruby. RRD module will be installed to /Library/Ruby/...
Warning: Using system Perl. RRD module will be installed to /Library/Perl/...
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/rrdtool/1.4.4 --enable-perl-site-install --enable-ruby-site-install
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/rrdtool/1.4.4 --enable-perl-site-install --enable-ruby-site-install
checking build system type... i386-apple-darwin10.5.0
checking host system type... i386-apple-darwin10.5.0
checking target system type... i386-apple-darwin10.5.0
checking for gcc... /usr/bin/cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/cc accepts -g... yes
checking for /usr/bin/cc option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/cc -E
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of /usr/bin/cc... none
checking whether to enable maintainer-specific portions of Makefiles... no
Audit Compilation Environment
checking how to run the C preprocessor... /usr/bin/cc -E
checking for gcc... (cached) /usr/bin/cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/cc accepts -g... (cached) yes
checking for /usr/bin/cc option to accept ISO C89... (cached) none needed
checking whether /usr/bin/cc and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/cc... /usr/bin/cc
checking if the linker (/usr/bin/cc) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/cc option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from /usr/bin/cc object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/cc supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/cc option to produce PIC... -fno-common -DPIC
checking if /usr/bin/cc PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/cc static flag -static works... no
checking if /usr/bin/cc supports -c -o file.o... yes
checking if /usr/bin/cc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/cc linker (/usr/bin/cc) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.5.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... yes
checking if gcc likes the -Werror flag... yes
checking if gcc likes the -fno-strict-aliasing flag... yes
checking if gcc likes the -Wall flag... yes
checking if gcc likes the -std=gnu99 flag... yes
checking if gcc likes the -pedantic flag... yes
checking if gcc likes the -Wundef flag... yes
checking if gcc likes the -Wshadow flag... yes
checking if gcc likes the -Wpointer-arith flag... yes
checking if gcc likes the -Wcast-align flag... yes
checking if gcc likes the -Wmissing-prototypes flag... yes
checking if gcc likes the -Wmissing-declarations flag... yes
checking if gcc likes the -Wnested-externs flag... yes
checking if gcc likes the -Winline flag... yes
checking if gcc likes the -Wold-style-definition flag... yes
checking if gcc likes the -W flag... yes
Checking for Header Files
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking features.h usability... no
checking features.h presence... no
checking for features.h... no
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking fp_class.h usability... no
checking fp_class.h presence... no
checking for fp_class.h... no
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for unistd.h... (cached) yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for string.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
Test Library Functions
checking for acos... yes
./libtool: line 1112: /bin/sed: No such file or directory
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking whether byte ordering is bigendian... no
checking for nl_langinfo... yes
checking for tzset... yes
checking for round... yes
checking for rint... yes
checking for fsync... yes
checking for mbstowcs... yes
checking for opendir... yes
checking for readdir... yes
checking for chdir... yes
checking for chroot... yes
checking for getuid... yes
checking for strerror... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for vasprintf... yes
checking for fpclass... no
checking for class... no
checking for fp_class... no
checking for isnan... yes
checking for memmove... yes
checking for strchr... yes
checking for mktime... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
Map/Fadvis/Madvise checking
checking for fdatasync... yes
checking for fsync... (cached) yes
checking for socket... yes
checking for getaddrinfo... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for mmap... yes
checking for munmap... yes
checking for msync... yes
checking whether madvise is declared... yes
checking for madvise... yes
checking whether posix_fadvise is declared... no
checking for posix_fadvise... no
Libintl Processing
checking whether NLS is requested... yes
checking for msgfmt... /usr/local/Cellar/gettext/0.17/bin/msgfmt
checking for gmsgfmt... /usr/local/Cellar/gettext/0.17/bin/msgfmt
checking for xgettext... /usr/local/Cellar/gettext/0.17/bin/xgettext
checking for msgmerge... /usr/local/Cellar/gettext/0.17/bin/msgmerge
checking for ld used by GCC... /usr/bin/cc
checking if the linker (/usr/bin/cc) is GNU ld... no
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... yes
checking for CFLocaleCopyCurrent... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl -Wl,-framework -Wl,CoreFoundation
IEEE Math Checks
checking for fpclassify... no
checking for fpclassify with <math.h>... yes
checking for isinf... yes
checking whether isfinite is broken... no
checking if IEEE math works out of the box... yes
Resolve Portability Issues
checking if msync with MS_ASYNC updates the files mtime... yes
checking for _NL_TIME_WEEK_1STDAY... no
checking for nl_langinfo(_NL_TIME_WEEK_1STDAY) with langinfo.h... no
checking for opterr... yes
checking for getopt_long... yes
checking if realloc can deal with NULL... yes
checking if ctime_r need special care to act posixly correct... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for cc_r... /usr/bin/cc
checking do we need malloc/malloc.h... nope, works out of the box
checking the type of time_t... time_t is 64 bit
Find 3rd-Party Libraries
checking for libdbi... no
checking for cairo_font_options_create in -lcairo... no
checking for pkg-config... pkg-config
checking for cairo_font_options_create in -lcairo... yes
checking cairo.h usability... yes
checking cairo.h presence... yes
checking for cairo.h... yes
checking for cairo_svg_surface_create in -lcairo... yes
checking cairo-svg.h usability... yes
checking cairo-svg.h presence... yes
checking for cairo-svg.h... yes
checking for cairo_pdf_surface_create in -lcairo... yes
checking cairo-pdf.h usability... yes
checking cairo-pdf.h presence... yes
checking for cairo-pdf.h... yes
checking for cairo_ps_surface_create in -lcairo... yes
checking cairo-ps.h usability... yes
checking cairo-ps.h presence... yes
checking for cairo-ps.h... yes
checking for glib_check_version in -lglib-2.0... yes
checking glib.h usability... no
checking glib.h presence... no
checking for glib.h... no
checking for pkg-config... (cached) pkg-config
checking for glib_check_version in -lglib-2.0... yes
checking glib.h usability... yes
checking glib.h presence... yes
checking for glib.h... yes
checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... no
checking for pkg-config... (cached) pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no pangocairo.pc file around.
You may want to set the PKG_CONFIG_PATH variable to point to its
location.
----------------------------------------------------------------------------
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of pangocairo. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libpangocairo-1.0 and its header files. If
you have not installed pangocairo, you can get it either from its original home on
http://ftp.gnome.org/pub/GNOME/sources/pango/1.17
You can find also find an archive copy on
http://oss.oetiker.ch/rrdtool/pub/libs
The last tested version of pangocairo is 1.17.
LIBS=-lcairo -lcairo -lcairo -lcairo -lpng12 -lglib-2.0 -lintl
LDFLAGS=-L/usr/local/Cellar/libpng/1.2.44/lib -L/usr/local/Cellar/libxml2/2.7.7/lib -L/usr/local/Cellar/gettext/0.17/lib -L/usr/local/Cellar/libpng/1.2.44/lib -L/usr/X11/lib -L/usr/local/Cellar/glib/2.24.2/lib -L/usr/local/Cellar/gettext/0.17/lib
CPPFLAGS=-I/usr/local/Cellar/libpng/1.2.44/include -I/usr/local/Cellar/libxml2/2.7.7/include -I/usr/local/Cellar/gettext/0.17/include -D_THREAD_SAFE -I/usr/local/Cellar/libpng/1.2.44/include/libpng12 -I/usr/local/Cellar/pixman/0.18.0/include/pixman-1 -I/usr/X11/include/cairo -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/local/Cellar/glib/2.24.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.24.2/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.17/include
----------------------------------------------------------------------------
checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
configure: error: Please fix the library issues listed above and try again.
Error: #<BuildError: Failure while executing: ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/rrdtool/1.4.4 --enable-perl-site-install --enable-ruby-site-install>
/usr/local/Library/Homebrew/formula.rb:344:in `system'
/usr/local/Library/Formula/rrdtool.rb:39:in `install'
/usr/local/Library/Homebrew/install.rb:96:in `install'
/usr/local/Library/Homebrew/formula.rb:190:in `brew'
/usr/local/Library/Homebrew/formula.rb:405:in `stage'
/usr/local/Library/Homebrew/formula.rb:364:in `mktemp'
/usr/local/Library/Homebrew/formula.rb:403:in `stage'
/usr/local/Library/Homebrew/formula.rb:185:in `brew'
/usr/local/Library/Homebrew/install.rb:74:in `install'
/usr/local/Library/Homebrew/install.rb:39
/usr/local/Library/Formula/rrdtool.rb:48
==> Rescuing build...
It looks like an autotools configure failed.
Gist 'config.log' and any error output when reporting an issue.
When you exit this shell Homebrew will attempt to finalise the installation.
If nothing is installed or the shell exits with a non-zero error code,
Homebrew will abort. The installation prefix is:
/usr/local/Cellar/rrdtool/1.4.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment