petere / homebrew-postgresql

🐘 PostgreSQL formulae for the Homebrew package manager
295 stars 34 forks source link

brew install fails #18

Closed tritonresearch closed 7 years ago

tritonresearch commented 9 years ago

H, I'm getting the following.

$ brew install postgresql-9.5
2015/08/13 16:00:12 cannot get config: open : no such file or directory
==> Installing postgresql-9.5 from petere/homebrew-postgresql
==> Downloading http://ftp.postgresql.org/pub/source/v9.5alpha1/postgresql-9.5alpha1.tar.bz2
Already downloaded: /Library/Caches/Homebrew/postgresql-9.5-9.5alpha1.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/postgresql-9.5/9.5alpha1 --enable-dtrace --enable-nls --with-bonjour --with-gssapi --with    -ldap --with-libxml --with-libxslt --with-openssl 
==> make install-world
/usr/bin/clang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -    Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Os -w -pipe -march=native -mmacosx-version-    min=10.10 -I../../../../src/include -I/usr/local/opt/tcl-tk/include -I/usr/local/opt/readline/include -I/usr/local/opt/openldap/    include -I/usr/local/opt/openssl/include -I/usr/local/opt/e2fsprogs/include -I/usr/local/opt/gettext/include -F/usr/local/    Frameworks -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/    libxml2   -c -o xml.o xml.c
( echo src/backend/utils/adt/acl.o src/backend/utils/adt/arrayfuncs.o src/backend/utils/adt/array_expanded.o src/backend/utils/adt/    array_selfuncs.o src/backend/utils/adt/array_typanalyze.o src/backend/utils/adt/array_userfuncs.o src/backend/utils/adt/arrayutils.    o src/backend/utils/adt/ascii.o src/backend/utils/adt/bool.o src/backend/utils/adt/cash.o src/backend/utils/adt/char.o src/backend/    utils/adt/date.o src/backend/utils/adt/datetime.o src/backend/utils/adt/datum.o src/backend/utils/adt/dbsize.o src/backend/utils/adt    /domains.o src/backend/utils/adt/encode.o src/backend/utils/adt/enum.o src/backend/utils/adt/expandeddatum.o src/backend/utils/adt/    float.o src/backend/utils/adt/format_type.o src/backend/utils/adt/formatting.o src/backend/utils/adt/genfile.o src/backend/utils/adt    /geo_ops.o src/backend/utils/adt/geo_selfuncs.o src/backend/utils/adt/inet_cidr_ntop.o src/backend/utils/adt/inet_net_pton.o src/    backend/utils/adt/int.o src/backend/utils/adt/int8.o src/backend/utils/adt/json.o src/backend/utils/adt/jsonb.o src/backend/utils/    adt/jsonb_gin.o src/backend/utils/adt/jsonb_op.o src/backend/utils/adt/jsonb_util.o src/backend/utils/adt/jsonfuncs.o src/backend/    utils/adt/like.o src/backend/utils/adt/lockfuncs.o src/backend/utils/adt/mac.o src/backend/utils/adt/misc.o src/backend/utils/adt/    nabstime.o src/backend/utils/adt/name.o src/backend/utils/adt/network.o src/backend/utils/adt/network_gist.o src/backend/utils/adt/    network_selfuncs.o src/backend/utils/adt/numeric.o src/backend/utils/adt/numutils.o src/backend/utils/adt/oid.o src/backend/utils/    adt/oracle_compat.o src/backend/utils/adt/orderedsetaggs.o src/backend/utils/adt/pg_locale.o src/backend/utils/adt/pg_lsn.o src/    backend/utils/adt/pg_upgrade_support.o src/backend/utils/adt/pgstatfuncs.o src/backend/utils/adt/pseudotypes.o src/backend/utils/adt    /quote.o src/backend/utils/adt/rangetypes.o src/backend/utils/adt/rangetypes_gist.o src/backend/utils/adt/rangetypes_selfuncs.o src/    backend/utils/adt/rangetypes_spgist.o src/backend/utils/adt/rangetypes_typanalyze.o src/backend/utils/adt/regexp.o src/backend/utils    /adt/regproc.o src/backend/utils/adt/ri_triggers.o src/backend/utils/adt/rowtypes.o src/backend/utils/adt/ruleutils.o src/backend/    utils/adt/selfuncs.o src/backend/utils/adt/tid.o src/backend/utils/adt/timestamp.o src/backend/utils/adt/trigfuncs.o src/backend/    utils/adt/tsginidx.o src/backend/utils/adt/tsgistidx.o src/backend/utils/adt/tsquery.o src/backend/utils/adt/tsquery_cleanup.o src/    backend/utils/adt/tsquery_gist.o src/backend/utils/adt/tsquery_op.o src/backend/utils/adt/tsquery_rewrite.o src/backend/utils/adt/    tsquery_util.o src/backend/utils/adt/tsrank.o src/backend/utils/adt/tsvector.o src/backend/utils/adt/tsvector_op.o src/backend/utils    /adt/tsvector_parser.o src/backend/utils/adt/txid.o src/backend/utils/adt/uuid.o src/backend/utils/adt/varbit.o src/backend/utils/    adt/varchar.o src/backend/utils/adt/varlena.o src/backend/utils/adt/version.o src/backend/utils/adt/windowfuncs.o src/backend/utils/    adt/xid.o src/backend/utils/adt/xml.o ) >objfiles.txt
make[2]: *** [utils-recursive] Error 2
make[1]: *** [install-backend-recurse] Error 2
make: *** [install-world-src-recurse] Error 2

The result is the same if I compile from source. I am on Yosemite 10.10.

petere commented 9 years ago

Please try with brew install -v to see more context about where it actually fails.

jbrukh commented 9 years ago

Here's a gist of the -v install:

https://gist.github.com/jbrukh/497ae970d2f1ae57fd5b

petere commented 9 years ago

I'm confused by these lines:

2015/08/18 15:25:58 cannot get config: open : no such file or directory

There might be something wrong with your system; maybe disk full or clock skew.