Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save olivierlacan/3277802 to your computer and use it in GitHub Desktop.
Save olivierlacan/3277802 to your computer and use it in GitHub Desktop.
PostgreSQL pg_config output from Homebrew install vs. Mountain Lion default
# Output from the OS X 10.8 (Mountain Lion) install
$ /usr/bin/pg_config

BINDIR = /usr/local/Cellar/postgresql/9.1.4/bin
DOCDIR = /usr/local/Cellar/postgresql/9.1.4/share/doc/postgresql
HTMLDIR = /usr/local/Cellar/postgresql/9.1.4/share/doc/postgresql
INCLUDEDIR = /usr/local/Cellar/postgresql/9.1.4/include
PKGINCLUDEDIR = /usr/local/Cellar/postgresql/9.1.4/include
INCLUDEDIR-SERVER = /usr/local/Cellar/postgresql/9.1.4/include/server
LIBDIR = /usr/local/Cellar/postgresql/9.1.4/lib
PKGLIBDIR = /usr/local/Cellar/postgresql/9.1.4/lib
LOCALEDIR = /usr/local/Cellar/postgresql/9.1.4/share/locale
MANDIR = /usr/local/Cellar/postgresql/9.1.4/share/man
SHAREDIR = /usr/local/Cellar/postgresql/9.1.4/share/postgresql
SYSCONFDIR = /usr/local/Cellar/postgresql/9.1.4/etc
PGXS = /usr/local/Cellar/postgresql/9.1.4/lib/pgxs/src/makefiles/pgxs.mk
CONFIGURE = '--disable-debug' '--prefix=/usr/local/Cellar/postgresql/9.1.4' '--datadir=/usr/local/Cellar/postgresql/9.1.4/share/postgresql' '--docdir=/usr/local/Cellar/postgresql/9.1.4/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'''' 'CC=/usr/bin/clang' 'CFLAGS=-Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -I/usr/local/Cellar/ossp-uuid/1.6.2/include' 'LDFLAGS=-L/usr/local/Cellar/readline/6.2.4/lib -L/usr/local/lib -L/usr/local/Cellar/ossp-uuid/1.6.2/lib' 'LIBS=-luuid' 'CPPFLAGS=-I/usr/local/Cellar/readline/6.2.4/include -isystem /usr/local/include -I/usr/include/libxml2'
CC = /usr/bin/clang
CPPFLAGS = -I/usr/local/Cellar/readline/6.2.4/include -isystem /usr/local/include -I/usr/include/libxml2 -I/usr/include/libxml2
CFLAGS = -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -I/usr/local/Cellar/ossp-uuid/1.6.2/include -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard
CFLAGS_SL = 
LDFLAGS = -L/usr/local/Cellar/readline/6.2.4/lib -L/usr/local/lib -L/usr/local/Cellar/ossp-uuid/1.6.2/lib -Wl,-dead_strip_dylibs
LDFLAGS_EX = 
LDFLAGS_SL = 
LIBS = -lpgport -lxslt -lxml2 -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -lm -luuid
VERSION = PostgreSQL 9.1.4
# Output from the Homebrew install
$ /usr/local/bin/pg_config

BINDIR = /usr/bin
DOCDIR = /usr/share/doc/postgresql
HTMLDIR = /usr/share/postgresql
INCLUDEDIR = /usr/include
PKGINCLUDEDIR = /usr/include/postgresql
INCLUDEDIR-SERVER = /usr/include/postgresql/server
LIBDIR = /usr/lib
PKGLIBDIR = /usr/lib/postgresql
LOCALEDIR = /usr/share/locale
MANDIR = /usr/share/man
SHAREDIR = /usr/share/postgresql
SYSCONFDIR = /private/etc/postgresql
PGXS = /usr/lib/postgresql/pgxs/src/makefiles/pgxs.mk
CONFIGURE = '--infodir=/usr/share/info' '--disable-dependency-tracking' '--prefix=/usr' '--sbindir=/usr/libexec' '--sysconfdir=/private/etc' '--mandir=/usr/share/man' '--localstatedir=/private/var/pgsql' '--htmldir=/usr/share/postgresql' '--enable-thread-safety' '--enable-dtrace' '--with-tcl' '--with-perl' '--with-python' '--with-gssapi' '--with-krb5' '--with-pam' '--with-ldap' '--with-bonjour' '--with-openssl' '--with-libxml' '--with-libxslt' '--with-system-tzdata=/usr/share/zoneinfo' 'CC=/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc' 'CFLAGS=-arch x86_64 -pipe -Os -g -Wall -Wno-deprecated-declarations' 'LDFLAGS=-arch x86_64 -pipe -Os -g -Wall -Wno-deprecated-declarations' 'LDFLAGS_EX=-mdynamic-no-pic'
CC = /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc
CPPFLAGS = -I/usr/include/libxml2
CFLAGS = -arch x86_64 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv
CFLAGS_SL = 
LDFLAGS = -arch x86_64 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wl,-dead_strip_dylibs
LDFLAGS_EX = -mdynamic-no-pic
LDFLAGS_SL = 
LIBS = -lpgport -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -lm 
VERSION = PostgreSQL 9.1.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment