Created
April 3, 2012 19:33
-
-
Save mhen/2294988 to your computer and use it in GitHub Desktop.
postgresql install error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> Installing postgresql dependency: ossp-uuid | |
==> Downloading ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz | |
Already downloaded: /Users/muhe/Library/Caches/Homebrew/ossp-uuid-1.6.2.tar.gz | |
/usr/bin/tar xf /Users/muhe/Library/Caches/Homebrew/ossp-uuid-1.6.2.tar.gz | |
==> ./configure --disable-debug --without-perl --without-php --without-pgsql --prefix=/usr/local/Cellar/ossp-uuid/1.6.2 | |
./configure --disable-debug --without-perl --without-php --without-pgsql --prefix=/usr/local/Cellar/ossp-uuid/1.6.2 | |
Configuring OSSP uuid (Universally Unique Identifier), version 1.6.2 (04-Jul-2008) | |
checking whether make sets $(MAKE)... yes | |
checking for gcc... /usr/bin/gcc-4.2 | |
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 compiler option(s) -DDEBUG work... yes | |
checking whether compiler option(s) -W<xxx> work... yes | |
checking whether compiler option(s) -Wno-long-long work... yes | |
checking for compilation debug mode... enabled | |
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E | |
checking for grep that handles long lines and -e... /usr/bin/grep | |
checking for egrep... /usr/bin/grep -E | |
checking for ANSI C header files... yes | |
checking for sys/types.h... yes | |
checking for sys/stat.h... yes | |
checking for stdlib.h... yes | |
checking for string.h... yes | |
checking for memory.h... yes | |
checking for strings.h... yes | |
checking for inttypes.h... yes | |
checking for stdint.h... yes | |
checking for unistd.h... yes | |
checking whether to build against external Dmalloc library... no | |
checking build system type... i386-apple-darwin10.8.0 | |
checking host system type... i386-apple-darwin10.8.0 | |
checking for a sed that does not truncate output... /usr/bin/sed | |
checking for fgrep... /usr/bin/grep -F | |
checking for ld used by /usr/bin/gcc-4.2... /usr/bin/gcc-4.2 | |
checking if the linker (/usr/bin/gcc-4.2) is GNU ld... no | |
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm | |
checking the name lister (/usr/bin/nm) interface... BSD nm | |
checking whether ln -s works... yes | |
checking the maximum length of command line arguments... 196608 | |
checking whether the shell understands some XSI constructs... yes | |
checking whether the shell understands "+="... yes | |
checking for /usr/bin/gcc-4.2 option to reload object files... -r | |
checking how to recognize dependent libraries... pass_all | |
checking for ar... ar | |
checking for strip... strip | |
checking for ranlib... ranlib | |
checking command to parse /usr/bin/nm output from /usr/bin/gcc-4.2 object... ok | |
checking for dsymutil... dsymutil | |
checking for nmedit... nmedit | |
checking for lipo... lipo | |
checking for otool... otool | |
checking for otool64... no | |
checking for -single_module linker flag... yes | |
checking for -exported_symbols_list linker flag... yes | |
checking for dlfcn.h... yes | |
checking for objdir... .libs | |
checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions... yes | |
checking for /usr/bin/gcc-4.2 option to produce PIC... -fno-common -DPIC | |
checking if /usr/bin/gcc-4.2 PIC flag -fno-common -DPIC works... yes | |
checking if /usr/bin/gcc-4.2 static flag -static works... no | |
checking if /usr/bin/gcc-4.2 supports -c -o file.o... yes | |
checking if /usr/bin/gcc-4.2 supports -c -o file.o... (cached) yes | |
checking whether the /usr/bin/gcc-4.2 linker (/usr/bin/gcc-4.2) supports shared libraries... yes | |
checking dynamic linker characteristics... darwin10.8.0 dyld | |
checking how to hardcode library paths into programs... immediate | |
checking whether stripping libraries is possible... yes | |
checking if libtool supports shared libraries... yes | |
checking whether to build shared libraries... no | |
checking whether to build static libraries... yes | |
checking whether we are using the GNU C++ compiler... yes | |
checking whether /usr/bin/g++-4.2 accepts -g... yes | |
checking how to run the C++ preprocessor... /usr/bin/g++-4.2 -E | |
checking for gethostname in -lnsl... no | |
checking for gethostbyname in -lnsl... no | |
checking for accept in -lsocket... no | |
checking for va_copy() function... yes | |
checking for sys/types.h... (cached) yes | |
checking sys/param.h usability... yes | |
checking sys/param.h presence... yes | |
checking for sys/param.h... yes | |
checking sys/time.h usability... yes | |
checking sys/time.h presence... yes | |
checking for sys/time.h... yes | |
checking sys/socket.h usability... yes | |
checking sys/socket.h presence... yes | |
checking for sys/socket.h... yes | |
checking sys/sockio.h usability... yes | |
checking sys/sockio.h presence... yes | |
checking for sys/sockio.h... yes | |
checking sys/ioctl.h usability... yes | |
checking sys/ioctl.h presence... yes | |
checking for sys/ioctl.h... yes | |
checking sys/select.h usability... yes | |
checking sys/select.h presence... yes | |
checking for sys/select.h... yes | |
checking for netdb.h... yes | |
checking for ifaddrs.h... yes | |
checking for net/if.h... yes | |
checking for net/if_dl.h... yes | |
checking for net/if_arp.h... yes | |
checking for netinet/in.h... yes | |
checking for arpa/inet.h... yes | |
checking for struct timeval... yes | |
checking for getifaddrs... yes | |
checking for nanosleep... yes | |
checking for Sleep... no | |
checking for gettimeofday... yes | |
checking for clock_gettime... no | |
checking for long long... yes | |
checking for long double... yes | |
checking size of char... 1 | |
checking size of unsigned char... 1 | |
checking size of short... 2 | |
checking size of unsigned short... 2 | |
checking size of int... 4 | |
checking size of unsigned int... 4 | |
checking size of long... 8 | |
checking size of unsigned long... 8 | |
checking size of long long... 8 | |
checking size of unsigned long long... 8 | |
checking whether to build DCE 1.1 backward compatibility API... (cached) no | |
checking whether to build C++ bindings to C API... (cached) no | |
checking whether to build Perl bindings to C API... (cached) no | |
checking whether to build Perl compatibility API... (cached) no | |
checking for perl... /usr/bin/perl | |
checking whether to build PHP bindings to C API... (cached) no | |
checking for php5... no | |
checking for php... /usr/bin/php | |
checking whether to build PostgreSQL bindings to C API... (cached) no | |
checking for pg_config... no | |
configure: creating ./config.status | |
config.status: creating Makefile | |
config.status: creating uuid-config | |
config.status: creating uuid.pc | |
config.status: creating uuid.h | |
config.status: creating config.h | |
config.status: executing libtool commands | |
config.status: executing adjustment commands | |
==> make | |
make | |
libtool: compile: /usr/bin/gcc-4.2 -I. -I. -DHAVE_CONFIG_H -Os -w -pipe -march=core2 -msse4.1 -g -DDEBUG -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-align -Winline -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -c uuid_md5.c -o uuid_md5.o | |
libtool: compile: /usr/bin/gcc-4.2 -I. -I. -DHAVE_CONFIG_H -Os -w -pipe -march=core2 -msse4.1 -g -DDEBUG -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-align -Winline -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -c uuid.c -o uuid.o | |
libtool: compile: /usr/bin/gcc-4.2 -I. -I. -DHAVE_CONFIG_H -Os -w -pipe -march=core2 -msse4.1 -g -DDEBUG -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-align -Winline -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -c uuid_sha1.c -o uuid_sha1.o | |
libtool: compile: /usr/bin/gcc-4.2 -I. -I. -DHAVE_CONFIG_H -Os -w -pipe -march=core2 -msse4.1 -g -DDEBUG -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-align -Winline -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -c uuid_prng.c -o uuid_prng.o | |
libtool: compile: /usr/bin/gcc-4.2 -I. -I. -DHAVE_CONFIG_H -Os -w -pipe -march=core2 -msse4.1 -g -DDEBUG -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-align -Winline -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -c uuid_mac.c -o uuid_mac.o | |
libtool: compile: /usr/bin/gcc-4.2 -I. -I. -DHAVE_CONFIG_H -Os -w -pipe -march=core2 -msse4.1 -g -DDEBUG -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-align -Winline -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -c uuid_time.c -o uuid_time.o | |
libtool: compile: /usr/bin/gcc-4.2 -I. -I. -DHAVE_CONFIG_H -Os -w -pipe -march=core2 -msse4.1 -g -DDEBUG -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-align -Winline -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -c uuid_ui64.c -o uuid_ui64.o | |
libtool: compile: /usr/bin/gcc-4.2 -I. -I. -DHAVE_CONFIG_H -Os -w -pipe -march=core2 -msse4.1 -g -DDEBUG -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-align -Winline -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -c uuid_ui128.c -o uuid_ui128.o | |
libtool: compile: /usr/bin/gcc-4.2 -I. -I. -DHAVE_CONFIG_H -Os -w -pipe -march=core2 -msse4.1 -g -DDEBUG -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-align -Winline -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -c uuid_str.c -o uuid_str.o | |
/usr/bin/gcc-4.2 -I. -I. -DHAVE_CONFIG_H -Os -w -pipe -march=core2 -msse4.1 -g -DDEBUG -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-align -Winline -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -c uuid_cli.c | |
libtool: link: ar cru .libs/libuuid.a uuid.o uuid_md5.o uuid_sha1.o uuid_prng.o uuid_mac.o uuid_time.o uuid_ui64.o uuid_ui128.o uuid_str.o | |
libtool: link: ranlib .libs/libuuid.a | |
libtool: link: ( cd ".libs" && rm -f "libuuid.la" && ln -s "../libuuid.la" "libuuid.la" ) | |
libtool: link: /usr/bin/gcc-4.2 -o uuid uuid_cli.o ./.libs/libuuid.a | |
==> make install | |
make install | |
./shtool mkdir -f -p -m 755 /usr/local/Cellar/ossp-uuid/1.6.2 | |
./shtool mkdir -f -p -m 755 /usr/local/Cellar/ossp-uuid/1.6.2/bin | |
./shtool mkdir -f -p -m 755 /usr/local/Cellar/ossp-uuid/1.6.2/include | |
./shtool mkdir -f -p -m 755 /usr/local/Cellar/ossp-uuid/1.6.2/lib/pkgconfig | |
./shtool mkdir -f -p -m 755 /usr/local/Cellar/ossp-uuid/1.6.2/share/man/man3 | |
./shtool mkdir -f -p -m 755 /usr/local/Cellar/ossp-uuid/1.6.2/share/man/man1 | |
./shtool install -c -m 755 uuid-config /usr/local/Cellar/ossp-uuid/1.6.2/bin/ | |
./shtool install -c -m 644 ./uuid-config.1 /usr/local/Cellar/ossp-uuid/1.6.2/share/man/man1/ | |
./shtool install -c -m 644 ./uuid.pc /usr/local/Cellar/ossp-uuid/1.6.2/lib/pkgconfig/ | |
./shtool install -c -m 644 uuid.h /usr/local/Cellar/ossp-uuid/1.6.2/include/ | |
./shtool install -c -m 644 ./uuid.3 /usr/local/Cellar/ossp-uuid/1.6.2/share/man/man3/ | |
libtool: install: ./shtool install -c -m 644 .libs/libuuid.lai /usr/local/Cellar/ossp-uuid/1.6.2/lib/libuuid.la | |
libtool: install: ./shtool install -c -m 644 .libs/libuuid.a /usr/local/Cellar/ossp-uuid/1.6.2/lib/libuuid.a | |
libtool: install: chmod 644 /usr/local/Cellar/ossp-uuid/1.6.2/lib/libuuid.a | |
libtool: install: ranlib /usr/local/Cellar/ossp-uuid/1.6.2/lib/libuuid.a | |
---------------------------------------------------------------------- | |
Libraries have been installed in: | |
/usr/local/Cellar/ossp-uuid/1.6.2/lib | |
If you ever happen to want to link against installed libraries | |
in a given directory, LIBDIR, you must either use libtool, and | |
specify the full pathname of the library, or use the `-LLIBDIR' | |
flag during linking and do at least one of the following: | |
- add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable | |
during execution | |
See any operating system documentation about shared libraries for | |
more information, such as the ld(1) and ld.so(8) manual pages. | |
---------------------------------------------------------------------- | |
libtool: install: ./shtool install -c -m 755 -s uuid /usr/local/Cellar/ossp-uuid/1.6.2/bin/uuid | |
./shtool install -c -m 644 ./uuid.1 /usr/local/Cellar/ossp-uuid/1.6.2/share/man/man1/ | |
strip /usr/local/Cellar/ossp-uuid/1.6.2/bin/uuid | |
==> Finishing up | |
ln -s ../Cellar/ossp-uuid/1.6.2/bin/uuid-config uuid-config | |
ln -s ../Cellar/ossp-uuid/1.6.2/bin/uuid uuid | |
ln -s ../Cellar/ossp-uuid/1.6.2/include/uuid.h uuid.h | |
mkpath /usr/local/share/man/man3 | |
ln -s ../../../Cellar/ossp-uuid/1.6.2/share/man/man3/uuid.3 uuid.3 | |
ln -s ../../../Cellar/ossp-uuid/1.6.2/share/man/man1/uuid.1 uuid.1 | |
ln -s ../../../Cellar/ossp-uuid/1.6.2/share/man/man1/uuid-config.1 uuid-config.1 | |
Error: The linking step did not complete successfully | |
The formula built, but is not symlinked into /usr/local | |
You can try again using `brew link ossp-uuid' | |
==> Summary | |
/usr/local/Cellar/ossp-uuid/1.6.2: 12 files, 328K, built in 26 seconds | |
==> Installing postgresql | |
==> Downloading http://ftp.postgresql.org/pub/source/v9.1.3/postgresql-9.1.3.tar.bz2 | |
Already downloaded: /Users/muhe/Library/Caches/Homebrew/postgresql-9.1.3.tar.bz2 | |
/usr/bin/tar xf /Users/muhe/Library/Caches/Homebrew/postgresql-9.1.3.tar.bz2 | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:243: command not found: uuid-config --cflags | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:243: command not found: uuid-config --ldflags | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:243: command not found: uuid-config --libs | |
==> ./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... /usr/bin/python | |
checking for Python distutils module... yes | |
checking Python configuration directory... /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config | |
checking how to link an embedded Python application... -L/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config -lpython2.6 -ldl | |
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... yes | |
checking for xsltCleanupGlobals in -lxslt... yes | |
checking for uuid_export in -lossp-uuid... no | |
checking for uuid_export in -luuid... no | |
configure: error: library 'ossp-uuid' or 'uuid' is required for OSSP-UUID | |
config.log was copied to /Users/muhe/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 | |
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 | |
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 | |
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