Skip to content

Instantly share code, notes, and snippets.

@p2
Created July 18, 2012 23:59
Show Gist options
  • Save p2/3139807 to your computer and use it in GitHub Desktop.
Save p2/3139807 to your computer and use it in GitHub Desktop.
Error installing gnome-doc-utils
HOMEBREW_VERSION: 0.9.2
HEAD: c4b88b2a8009ec333abce399bde40c78ed44efa0
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit sandybridge
OS X: 10.8-x86_64
Xcode: 4.5 => /Applications/Xcode45-DP3.app/Contents/Developer
CLT: 4.5.0.0.1.1249367152
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 4.0 build 421
MacPorts or Fink? false
X11: 2.7.2 @ /opt/X11
System Ruby: 1.8.7-358
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Your system is raring to brew.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by gnome-doc-utils configure 0.20.10, which was
generated by GNU Autoconf 2.66. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/gnome-doc-utils/0.20.10 --disable-scrollkeeper --enable-build-utils=yes
## --------- ##
## Platform. ##
## --------- ##
hostname = Coruscant.local
uname -m = x86_64
uname -r = 12.0.0
uname -s = Darwin
uname -v = Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
Kernel configured for up to 8 processors.
4 processors are physically available.
8 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 8.00 gigabytes
Default processor set: 177 tasks, 879 threads, 8 processors
Load average: 1.56, Mach factor: 6.43
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/Cellar/libxml2/2.8.0/bin
PATH: /usr/local/Cellar/gettext/0.18.1.1/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/local/mysql/bin
PATH: /usr/local/sbin
PATH: /opt/local/bin
PATH: /usr/texbin
PATH: /usr/local/Library/Contributions/cmds
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2271: checking for a BSD-compatible install
configure:2339: result: /usr/bin/install -c
configure:2350: checking whether build environment is sane
configure:2400: result: yes
configure:2541: checking for a thread-safe mkdir -p
configure:2580: result: ./install-sh -c -d
configure:2593: checking for gawk
configure:2623: result: no
configure:2593: checking for mawk
configure:2623: result: no
configure:2593: checking for nawk
configure:2623: result: no
configure:2593: checking for awk
configure:2609: found /usr/bin/awk
configure:2620: result: awk
configure:2631: checking whether make sets $(MAKE)
configure:2653: result: yes
configure:2752: checking for gawk
configure:2779: result: awk
configure:2797: checking whether ln -s works
configure:2801: result: yes
configure:2937: checking for a Python interpreter with version >= 2.4
configure:2954: python -c import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x minver = list(map(int, '2.4'.split('.'))) + [0, 0, 0] minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
configure:2957: $? = 0
configure:2963: result: python
configure:2971: checking for python
configure:2989: found /usr/bin/python
configure:3001: result: /usr/bin/python
configure:3019: checking for python version
configure:3026: result: 2.7
configure:3038: checking for python platform
configure:3045: result: darwin
configure:3052: checking for python script directory
configure:3081: result: ${prefix}/lib/python2.7/site-packages
configure:3090: checking for python extension module directory
configure:3119: result: ${exec_prefix}/lib/python2.7/site-packages
configure:3187: checking for pkg-config
configure:3205: found /usr/local/bin/pkg-config
configure:3217: result: /usr/local/bin/pkg-config
configure:3242: checking pkg-config is at least version 0.9.0
configure:3245: result: yes
configure:3255: checking for GNOME_DOC_UTILS
configure:3265: $PKG_CONFIG --exists --print-errors "
libxml-2.0 >= 2.6.12
libxslt >= 1.1.8
"
Package libxslt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxslt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxslt' found
configure:3271: $? = 1
configure:3290: $PKG_CONFIG --exists --print-errors "
libxml-2.0 >= 2.6.12
libxslt >= 1.1.8
"
Package libxslt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxslt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxslt' found
configure:3296: $? = 1
configure:3312: result: no
No package 'libxslt' found
configure:3334: error: Package requirements (
libxml-2.0 >= 2.6.12
libxslt >= 1.1.8
) were not met:
No package 'libxslt' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GNOME_DOC_UTILS_CFLAGS
and GNOME_DOC_UTILS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/bin/clang
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-I/usr/local/Cellar/libxml2/2.8.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_GNOME_DOC_UTILS_CFLAGS_set=
ac_cv_env_GNOME_DOC_UTILS_CFLAGS_value=
ac_cv_env_GNOME_DOC_UTILS_LIBS_set=
ac_cv_env_GNOME_DOC_UTILS_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/usr/local/Cellar/libxml2/2.8.0/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/usr/local/Cellar/libxml2/2.8.0/lib/pkgconfig
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_PYTHON=/usr/bin/python
ac_cv_path_ac_pt_PKG_CONFIG=/usr/local/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_make_make_set=yes
am_cv_pathless_PYTHON=python
am_cv_python_platform=darwin
am_cv_python_pyexecdir='${exec_prefix}/lib/python2.7/site-packages'
am_cv_python_pythondir='${prefix}/lib/python2.7/site-packages'
am_cv_python_version=2.7
gdu_cv_have_gdu=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /private/tmp/homebrew-gnome-doc-utils-0.20.10-pT8c/gnome-doc-utils-0.20.10/missing --run aclocal-1.11'
ALL_LINGUAS=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /private/tmp/homebrew-gnome-doc-utils-0.20.10-pT8c/gnome-doc-utils-0.20.10/missing --run tar'
AM_BACKSLASH='\'
AM_DEFAULT_VERBOSITY='0'
AUTOCONF='${SHELL} /private/tmp/homebrew-gnome-doc-utils-0.20.10-pT8c/gnome-doc-utils-0.20.10/missing --run autoconf'
AUTOHEADER='${SHELL} /private/tmp/homebrew-gnome-doc-utils-0.20.10-pT8c/gnome-doc-utils-0.20.10/missing --run autoheader'
AUTOMAKE='${SHELL} /private/tmp/homebrew-gnome-doc-utils-0.20.10-pT8c/gnome-doc-utils-0.20.10/missing --run automake-1.11'
AWK='awk'
CATALOGS=''
CATOBJEXT=''
CC='/usr/bin/clang'
CCDEPMODE=''
CFLAGS='-Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8'
CPP=''
CPPFLAGS='-I/usr/local/Cellar/libxml2/2.8.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include'
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR=''
DISTCHECK_CONFIGURE_FLAGS='--disable-scrollkeeper '
DOC_USER_FORMATS=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
ENABLE_BUILD_UTILS_FALSE='#'
ENABLE_BUILD_UTILS_TRUE=''
ENABLE_DOCUMENTATION_FALSE='#'
ENABLE_DOCUMENTATION_TRUE=''
ENABLE_SK_FALSE=''
ENABLE_SK_TRUE='#'
EXEEXT=''
GDU_AWK='awk'
GETTEXT_PACKAGE=''
GMOFILES=''
GMSGFMT=''
GNOME_DOC_UTILS_CFLAGS=''
GNOME_DOC_UTILS_LIBS=''
GREP=''
HAVE_GNOME_DOC_UTILS_FALSE='#'
HAVE_GNOME_DOC_UTILS_TRUE=''
HELP_DIR='${datadir}/gnome/help'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
INTLTOOL_CAVES_RULE=''
INTLTOOL_DESKTOP_RULE=''
INTLTOOL_DIRECTORY_RULE=''
INTLTOOL_EXTRACT=''
INTLTOOL_KBD_RULE=''
INTLTOOL_KEYS_RULE=''
INTLTOOL_MERGE=''
INTLTOOL_OAF_RULE=''
INTLTOOL_PERL=''
INTLTOOL_POLICY_RULE=''
INTLTOOL_PONG_RULE=''
INTLTOOL_PROP_RULE=''
INTLTOOL_SCHEMAS_RULE=''
INTLTOOL_SERVER_RULE=''
INTLTOOL_SERVICE_RULE=''
INTLTOOL_SHEET_RULE=''
INTLTOOL_SOUNDLIST_RULE=''
INTLTOOL_THEME_RULE=''
INTLTOOL_UI_RULE=''
INTLTOOL_UPDATE=''
INTLTOOL_XAM_RULE=''
INTLTOOL_XML_NOMERGE_RULE=''
INTLTOOL_XML_RULE=''
LDFLAGS='-L/usr/local/Cellar/libxml2/2.8.0/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib'
LIBOBJS=''
LIBS=''
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /private/tmp/homebrew-gnome-doc-utils-0.20.10-pT8c/gnome-doc-utils-0.20.10/missing --run makeinfo'
MKDIR_P='./install-sh -c -d'
MKINSTALLDIRS=''
MSGFMT=''
MSGFMT_OPTS=''
MSGMERGE=''
OBJEXT=''
OMF_DIR='${datadir}/omf'
PACKAGE='gnome-doc-utils'
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-doc-utils'
PACKAGE_NAME='gnome-doc-utils'
PACKAGE_STRING='gnome-doc-utils 0.20.10'
PACKAGE_TARNAME='gnome-doc-utils'
PACKAGE_URL=''
PACKAGE_VERSION='0.20.10'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/local/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/usr/local/Cellar/libxml2/2.8.0/lib/pkgconfig'
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
PYTHON='/usr/bin/python'
PYTHON_EXEC_PREFIX='${exec_prefix}'
PYTHON_PLATFORM='darwin'
PYTHON_PREFIX='${prefix}'
PYTHON_VERSION='2.7'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_NLS=''
VERSION='0.20.10'
XGETTEXT=''
ac_ct_CC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /private/tmp/homebrew-gnome-doc-utils-0.20.10-pT8c/gnome-doc-utils-0.20.10/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/./install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgpyexecdir='${pyexecdir}/gnome-doc-utils'
pkgpythondir='${pythondir}/gnome-doc-utils'
prefix='/usr/local/Cellar/gnome-doc-utils/0.20.10'
program_transform_name='s,x,x,'
psdir='${docdir}'
pyexecdir='${exec_prefix}/lib/python2.7/site-packages'
pythondir='${prefix}/lib/python2.7/site-packages'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "gnome-doc-utils"
#define PACKAGE_TARNAME "gnome-doc-utils"
#define PACKAGE_VERSION "0.20.10"
#define PACKAGE_STRING "gnome-doc-utils 0.20.10"
#define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-doc-utils"
#define PACKAGE_URL ""
#define PACKAGE "gnome-doc-utils"
#define VERSION "0.20.10"
configure: exit 1
$ brew update
Updated Homebrew from 612e0b1c to c4b88b2a.
==> Updated Formula
ddrescue fbida geeqie
$ brew doctor
Your system is raring to brew.
$ brew uninstall libxml2
Uninstalling /usr/local/Cellar/libxml2/2.8.0...
$ brew install libxml2 --with-python
==> Downloading ftp://xmlsoft.org/libxml2/libxml2-2.8.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/libxml2-2.8.0.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libxml2/2.8.0 --without-python
==> make
==> make install
==> python setup.py install_lib --install-dir=/usr/local/Cellar/libxml2/2.8.0/lib/python2.7/site-packages
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.
Mac OS X already provides this program and installing another version in
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you.
If you build your own software and it requires this formula, you'll need
to add its lib & include paths to your build variables:
LDFLAGS -L/usr/local/Cellar/libxml2/2.8.0/lib
CPPFLAGS -I/usr/local/Cellar/libxml2/2.8.0/include
==> Summary
/usr/local/Cellar/libxml2/2.8.0: 245 files, 12M, built in 24 seconds
$ brew install libxslt
==> Downloading ftp://xmlsoft.org/libxml2/libxslt-1.1.26.tar.gz
Already downloaded: /Library/Caches/Homebrew/libxslt-1.1.26.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libxslt/1.1.26 --with-libxml-prefix=/usr/local/Cellar/libxml2/2.8.0
==> make
==> make install
==> Caveats
To allow the nokogiri gem to link against this libxslt, run
gem install nokogiri -- --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.26
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.
Mac OS X already provides this program and installing another version in
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you.
If you build your own software and it requires this formula, you'll need
to add its lib & include paths to your build variables:
LDFLAGS -L/usr/local/Cellar/libxslt/1.1.26/lib
CPPFLAGS -I/usr/local/Cellar/libxslt/1.1.26/include
==> Summary
/usr/local/Cellar/libxslt/1.1.26: 143 files, 3.3M, built in 12 seconds
$ brew install -v gnome-doc-utils
==> Downloading ftp://ftp.gnome.org/pub/gnome/sources/gnome-doc-utils/0.20/gnome-doc-utils-0.20.10.tar.xz
Already downloaded: /Library/Caches/Homebrew/gnome-doc-utils-0.20.10.tar.xz
xz -dc "/Library/Caches/Homebrew/gnome-doc-utils-0.20.10.tar.xz" | /usr/bin/tar xf -
==> ./configure --prefix=/usr/local/Cellar/gnome-doc-utils/0.20.10 --disable-scrollkeeper --enable-build-utils=yes
./configure --prefix=/usr/local/Cellar/gnome-doc-utils/0.20.10 --disable-scrollkeeper --enable-build-utils=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 gawk... (cached) awk
checking whether ln -s works... yes
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GNOME_DOC_UTILS... no
configure: error: Package requirements (
libxml-2.0 >= 2.6.12
libxslt >= 1.1.8
) were not met:
No package 'libxslt' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GNOME_DOC_UTILS_CFLAGS
and GNOME_DOC_UTILS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
config.log was copied to /Users/pp/Library/Logs/Homebrew
==> Exit Status: 1
https://github.com/mxcl/master/blob/master/Library/Formula/gnome-doc-utils.rb#L33
==> Build Environment
HOMEBREW_VERSION: 0.9.2
HEAD: c4b88b2a8009ec333abce399bde40c78ed44efa0
CPU: 8-core 64-bit sandybridge
OS X: 10.8-x86_64
Xcode: 4.5 => /Applications/Xcode45-DP3.app/Contents/Developer
CLT: 4.5.0.0.1.1249367152
X11: 2.7.2 @ /opt/X11
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CPPFLAGS: -I/usr/local/Cellar/libxml2/2.8.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include
LDFLAGS: -L/usr/local/Cellar/libxml2/2.8.0/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib
MACOSX_DEPLOYMENT_TARGET: 10.8
MAKEFLAGS: -j8
PKG_CONFIG_PATH: /usr/local/Cellar/libxml2/2.8.0/lib/pkgconfig
Error: Failed executing: ./configure --prefix=/usr/local/Cellar/gnome-doc-utils/0.20.10 --disable-scrollkeeper --enable-build-utils=yes (gnome-doc-utils.rb:33)
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/13482
Otherwise, this may help you fix or report the issue:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
We saved the configure log:
~/Library/Logs/Homebrew/config.log
If you report the issue please paste the config.log here:
http://gist.github.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment