This repository has been archived by the owner. It is now read-only.

ganglia failed to build on 10.8.2 #18047

Closed
binque opened this Issue Feb 24, 2013 · 4 comments

Comments

Projects
None yet
4 participants
Contributor

adamv commented Mar 8, 2013

rrdtool doesn't build for me on 10.7:

ld: library not found for -ltclstub8.5

==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: 672af665e8e1b0eee627da47eb92b85b95ceba57
HOMEBREW_CELLAR: /usr/local/homebrew/Cellar
CPU: quad-core 64-bit sandybridge
OS X: 10.7.5-x86_64
Xcode: 4.6
X11: 2.6.4 => /usr/X11

I also have the same issue with mac os x 10.8.2

aaa-MacBook-Pro:local aaa$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install ganglia
==> Downloading http://downloads.sourceforge.net/project/ganglia/ganglia%20monitoring%20core/3.1.7/ganglia-3.1.7.tar.gz
Already downloaded: /Library/Caches/Homebrew/ganglia-3.1.7.tar.gz
tar xf /Library/Caches/Homebrew/ganglia-3.1.7.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file libmetrics/config.h.in
patching file libmetrics/configure.in
patching file libmetrics/darwin/metrics.c
patching file gmetad/type_hash.c
patching file gmetad/xml_hash.c
/usr/bin/curl -f#LA Homebrew 0.9.4 (Ruby 1.8.7-358; Mac OS X 10.8.3) http://buildconf.git.sourceforge.net/git/gitweb.cgi?p=buildconf/buildconf;a=blob_plain;f=autogen.sh;hb=HEAD -o autogen.sh
######################################################################## 100,0%
==> /bin/sh ./autogen.sh --download
/bin/sh ./autogen.sh --download
Using PROJECT environment variable override: ganglia
Preparing the ganglia build system...please wait

Found GNU Autoconf version 2.69
Found GNU Automake version 1.13.1
Found GNU Libtool version 2.4.2

Automatically preparing build ... Warning: autoreconf failed
Attempting to run the preparation steps individually

Preparing build ... ERROR: aclocal failed
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: 34357da
CPU: quad-core 64-bit ivybridge
OS X: 10.8.3-x86_64
Xcode: 4.6.1
CLT: 4.6.0.0.1.1358221012
X11: 2.7.4 => /opt/X11
==> ENV
CC: cc
CXX: c++
MAKEFLAGS: -j1
CMAKE_PREFIX_PATH: /usr/local/opt/gettext:/usr/local/opt/libffi:/usr/local/opt/icu4c:/usr/local
CMAKE_INCLUDE_PATH: /opt/X11/include/freetype2:/usr/include/libxml2:/opt/X11/include
CMAKE_LIBRARY_PATH: /opt/X11/lib
PKG_CONFIG_PATH: /usr/local/opt/confuse/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/glib/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/fontconfig/lib/pkgconfig:/usr/local/opt/harfbuzz/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/pixman/lib/pkgconfig:/usr/local/opt/cairo/lib/pkgconfig:/usr/local/opt/pango/lib/pkgconfig:/usr/local/opt/rrdtool/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8:/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig
HOMEBREW_MAKE_JOBS: 1
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal:/opt/X11/share/aclocal
OBJC: cc
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/autoconf/bin:/usr/local/opt/automake/bin:/usr/local/opt/libtool/bin:/usr/local/opt/pcre/bin:/usr/local/opt/gettext/bin:/usr/local/opt/glib/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/freetype/bin:/usr/local/opt/fontconfig/bin:/usr/local/opt/harfbuzz/bin:/usr/local/opt/libpng/bin:/usr/local/opt/cairo/bin:/usr/local/opt/pango/bin:/usr/local/opt/rrdtool/bin:/usr/local/opt/python/bin:/opt/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: ganglia did not build

Contributor

jacknagel commented Mar 28, 2013

There is a lot of stuff going on in this formula with very vague documentation.

Contributor

jacknagel commented Mar 28, 2013

MacPorts' Portfile for reference: https://trac.macports.org/browser/trunk/dports/net/ganglia/Portfile

It looks like our patch can be simplified to: https://trac.macports.org/browser/trunk/dports/net/ganglia/files/patch-libmetrics-darwin-metrics.c.diff rather that downloading an autogen.sh from some (unrelated?) repository and running it.

Also this formula (and MacPorts) ship 3.1.7 but the latest is 3.5.0.

@adamv adamv closed this in 549b6f9 May 6, 2013

handyman5 pushed a commit to handyman5/homebrew that referenced this issue Oct 7, 2013

@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.