Skip to content

Instantly share code, notes, and snippets.

@bharatbhole
Created May 21, 2012 15:47
Show Gist options
  • Save bharatbhole/2762985 to your computer and use it in GitHub Desktop.
Save bharatbhole/2762985 to your computer and use it in GitHub Desktop.
brew install -v postgresql terminal output
Last login: Mon May 21 11:31:08 on console
.bash_profile loaded
Setting "/Applications/ConTeXtMinimals/tex" as ConTeXt root.
cla-eco1:~ blbgse$ open -a Google\ Chrome
cla-eco1:~ blbgse$ brew doctor
Error: "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/gdal-config
/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/Current/bin/xml2-config
/Library/Frameworks/Python.framework/Versions/Current/bin/xslt-config
/usr/local/ImageMagick/bin/Magick++-config
/usr/local/ImageMagick/bin/Magick-config
/usr/local/ImageMagick/bin/MagickCore-config
/usr/local/ImageMagick/bin/MagickWand-config
/usr/local/ImageMagick/bin/Wand-config
Error: 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.
Error: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libmacfuse_i32.2.dylib /usr/local/lib/libmacfuse_i64.2.dylib /usr/local/lib/libosxfuse_i32.2.dylib /usr/local/lib/libosxfuse_i64.2.dylib
Error: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .la files:
/usr/local/lib/libosxfuse_i32.la /usr/local/lib/libosxfuse_i64.la
Error: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/osxfuse.pc
cla-eco1:~ blbgse$ brew install -v postgresql
==> Downloading http://ftp.postgresql.org/pub/source/v9.1.3/postgresql-9.1.3.tar.bz2
Already downloaded: /Library/Caches/Homebrew/postgresql-9.1.3.tar.bz2
/usr/bin/tar xf /Library/Caches/Homebrew/postgresql-9.1.3.tar.bz2
Warning: Detected a framework Python that does not have 64-bit support in:
/Library/Frameworks/Python.framework/Versions/Current/Python
e configure script seems to prefer this version of Python over any others,
you may experience linker problems as described in:
http://osdir.com/ml/pgsql-general/2009-09/msg00160.html
fix this issue, you may need to either delete the version of Python
own above, or move it out of the way before brewing PostgreSQL.
te that a framework Python in /Library/Frameworks/Python.framework is
e "MacPython" version, and not the system-provided version which is in:
/System/Library/Frameworks/Python.framework
==> ./configure --disable-debug --prefix=/usr/local/Cellar/postgresql/9.1.3 --datadir=/usr/local/Cellar/postgresql/9.1.3/share/postgresql --docdir=/usr/local/Cellar/postgresql/9.1.3/share/doc/postgresql --enable-thread-safety --with-bonjour --with-gssapi --with-krb5 --with-openssl --with-libxml --with-libxslt --with-ossp-uuid --with-python --with-perl ARCHFLAGS='-arch x86_64'
./configure --disable-debug --prefix=/usr/local/Cellar/postgresql/9.1.3 --datadir=/usr/local/Cellar/postgresql/9.1.3/share/postgresql --docdir=/usr/local/Cellar/postgresql/9.1.3/share/doc/postgresql --enable-thread-safety --with-bonjour --with-gssapi --with-krb5 --with-openssl --with-libxml --with-libxslt --with-ossp-uuid --with-python --with-perl ARCHFLAGS='-arch x86_64'
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking which template to use... darwin
checking whether to build with 64-bit integer date/time support... yes
checking whether NLS is wanted... no
checking for default port number... 5432
checking for block size... 8kB
checking for segment size... 1GB
checking for WAL block size... 8kB
checking for WAL segment size... 16MB
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/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking whether /usr/bin/gcc-4.2 supports -Wdeclaration-after-statement... yes
checking whether /usr/bin/gcc-4.2 supports -Wendif-labels... yes
checking whether /usr/bin/gcc-4.2 supports -Wformat-security... yes
checking whether /usr/bin/gcc-4.2 supports -fno-strict-aliasing... yes
checking whether /usr/bin/gcc-4.2 supports -fwrapv... yes
checking whether /usr/bin/gcc-4.2 supports -fexcess-precision=standard... no
checking whether the C compiler still works... yes
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
checking allow thread-safe client libraries... yes
checking whether to build with Tcl... no
checking whether to build Perl modules... yes
checking whether to build Python modules... yes
checking whether to build with GSSAPI support... yes
checking whether to build with Kerberos 5 support... yes
checking whether to build with PAM support... no
checking whether to build with LDAP support... no
checking whether to build with Bonjour support... yes
checking whether to build with OpenSSL support... yes
checking whether to build with SELinux support... no
checking for xml2-config... xml2-config
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by GCC... /usr/bin/gcc-4.2
checking if the linker (/usr/bin/gcc-4.2) is GNU ld... no
checking for ranlib... ranlib
checking for strip... strip
checking whether it is possible to strip libraries... no
checking for ar... ar
checking for tar... /usr/bin/tar
checking whether ln -s works... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for bison... /usr/bin/bison
configure: using bison (GNU Bison) 2.3
checking for flex... /usr/bin/flex
configure: using flex 2.5.35
checking for perl... /usr/bin/perl
configure: using perl 5.10.0
checking for Perl archlibexp... /System/Library/Perl/5.10.0/darwin-thread-multi-2level
checking for Perl privlibexp... /System/Library/Perl/5.10.0
checking for Perl useshrplib... true
checking for flags to link embedded Perl... '-arch x86_64' -L/usr/local/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -lperl -ldl -lm -lutil -lc
checking for python... /Library/Frameworks/Python.framework/Versions/Current/bin/python
checking for Python distutils module... yes
checking Python configuration directory... /Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/config
checking how to link an embedded Python application... -L/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/config -lpython2.7 -ldl -framework CoreFoundation
checking whether Python is compiled with thread support... yes
checking for main in -lm... yes
checking for library containing setproctitle... no
checking for library containing dlopen... none required
checking for library containing socket... none required
checking for library containing shl_load... no
checking for library containing getopt_long... none required
checking for library containing crypt... none required
checking for library containing fdatasync... none required
checking for library containing gethostbyname_r... no
checking for library containing shmget... none required
checking for library containing readline... -lreadline
checking for inflate in -lz... yes
checking for library containing gss_init_sec_context... -lgssapi_krb5
checking for library containing com_err... none required
checking for library containing krb5_sendauth... none required
checking for CRYPTO_new_ex_data in -lcrypto... yes
checking for SSL_library_init in -lssl... yes
checking for xmlSaveToBuffer in -lxml2... no
configure: error: library 'xml2' (version >= 2.6.23) is required for XML support
config.log was copied to /Users/blbgse/Library/Logs/Homebrew
==> Exit Status: 1
https://github.com/mxcl/master/blob/master/Library/Formula/postgresql.rb#L60
==> Build Environment
CPU: dual-core 64-bit penryn
MacOS: 10.6.8-i386
Xcode: 3.2.6
CC: /usr/bin/gcc-4.2
CXX: /usr/bin/g++-4.2
LD: /usr/bin/gcc-4.2
CFLAGS: -Os -w -pipe -march=core2 -msse4.1 -I/usr/local/Cellar/ossp-uuid/1.6.2/include
CXXFLAGS: -Os -w -pipe -march=core2 -msse4.1
CPPFLAGS: -I/usr/local/Cellar/readline/6.2.2/include -I/usr/include/libxml2
LDFLAGS: -L/usr/local/Cellar/readline/6.2.2/lib -L/usr/local/Cellar/ossp-uuid/1.6.2/lib
MAKEFLAGS: -j2
Error: Failed executing: ./configure --disable-debug --prefix=/usr/local/Cellar/postgresql/9.1.3 --datadir=/usr/local/Cellar/postgresql/9.1.3/share/postgresql --docdir=/usr/local/Cellar/postgresql/9.1.3/share/doc/postgresql --enable-thread-safety --with-bonjour --with-gssapi --with-krb5 --with-openssl --with-libxml --with-libxslt --with-ossp-uuid --with-python --with-perl ARCHFLAGS='-arch\ x86_64' (postgresql.rb:60)
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/10247
https://github.com/mxcl/homebrew/issues/11759
https://github.com/mxcl/homebrew/issues/11784
https://github.com/mxcl/homebrew/issues/12210
Otherwise, please report the bug:
https://github.com/mxcl/homebrew/wiki/reporting-bugs
We saved the configure log, please gist it if you report the issue:
~/Library/Logs/Homebrew/config.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment