Skip to content

Instantly share code, notes, and snippets.

@AlJohri
Created September 21, 2014 05:39
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 AlJohri/185a7a4a6bf9fdb69795 to your computer and use it in GitHub Desktop.
Save AlJohri/185a7a4a6bf9fdb69795 to your computer and use it in GitHub Desktop.
Als-Mac-mini% brew install -v postgresql
Warning: Building source; cellar of postgresql's bottle is /usr/local/Cellar
==> Downloading http://ftp.postgresql.org/pub/source/v9.3.5/postgresql-9.3.5.tar.bz2
Already downloaded: /Library/Caches/Homebrew/postgresql-9.3.5.tar.bz2
==> Verifying postgresql-9.3.5.tar.bz2 checksum
tar xf /Library/Caches/Homebrew/postgresql-9.3.5.tar.bz2
==> Patching
patching file contrib/uuid-ossp/uuid-ossp.c
==> ./configure --disable-debug --prefix=/Volumes/DataHD/usr/local/Cellar/postgresql/9.3.5_1 --datadir=/Volumes/DataHD/usr/local/Cellar/postgresql/9.3.5_1/share/postgresql --docdir=/Volumes/DataHD/usr/local/Cellar/postgresql/9.3.5_1/share/doc/postgresql --enable-thread-safety --with-bonjour --with-gssapi --with-ldap --with-openssl --with-pam --with-libxml --with-libxslt --with-perl --with-tcl --with-tclconfig=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib --with-ossp-uuid
checking build system type... x86_64-apple-darwin13.4.0
checking host system type... x86_64-apple-darwin13.4.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...
configure: error: in `/private/tmp/postgresql-D6tdr6/postgresql-9.3.5':
configure: error: C compiler cannot create executables
See `config.log' for more details.
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: f17dc8ef392d7303f8757ed4018654373db329c1
HOMEBREW_PREFIX: /Volumes/DataHD/usr/local
CPU: 8-core 64-bit ivybridge
OS X: 10.9.5-x86_64
Xcode: 6.0.1
CLT: 6.0.0.0.1.1410400753
X11: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
CFLAGS: -I/Volumes/Data HD/usr/local/Cellar/ossp-uuid/1.6.2_1/include/ossp
LDFLAGS: -L/Volumes/Data HD/usr/local/Cellar/ossp-uuid/1.6.2_1/lib
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /Volumes/DataHD/usr/local/opt/openssl:/Volumes/DataHD/usr/local/opt/readline:/Volumes/DataHD/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /Volumes/DataHD/usr/local/opt/ossp-uuid/lib/pkgconfig:/Volumes/DataHD/usr/local/opt/openssl/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/Volumes/DataHD/usr/local/Library/ENV/pkgconfig/10.9
ACLOCAL_PATH: /Volumes/DataHD/usr/local/share/aclocal
PATH: /Volumes/DataHD/usr/local/Library/ENV/4.3:/Volumes/DataHD/usr/local/opt/ossp-uuid/bin:/Volumes/DataHD/usr/local/opt/openssl/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: postgresql 9.3.5 did not build
Logs:
/Volumes/DataHD/Users/atul/Library/Logs/Homebrew/postgresql/01.configure
/Volumes/DataHD/Users/atul/Library/Logs/Homebrew/postgresql/01.configure.cc
/Volumes/DataHD/Users/atul/Library/Logs/Homebrew/postgresql/config.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment