Skip to content

Instantly share code, notes, and snippets.

@nathancolgate
Last active December 14, 2015 04:49
Show Gist options
  • Save nathancolgate/5031247 to your computer and use it in GitHub Desktop.
Save nathancolgate/5031247 to your computer and use it in GitHub Desktop.
Sphinx 2.0.6 not recognizing postgresql on 10.7.5
$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install sphinx
==> Downloading http://sphinxsearch.com/files/sphinx-2.0.6-release.tar.gz
Already downloaded: /Library/Caches/Homebrew/sphinx-2.0.6.tar.gz
/usr/bin/tar xf /Library/Caches/Homebrew/sphinx-2.0.6.tar.gz
==> Downloading http://snowball.tartarus.org/dist/libstemmer_c.tgz
Already downloaded: /Library/Caches/Homebrew/libstemmer_c.tgz
/usr/bin/tar xf /Library/Caches/Homebrew/libstemmer_c.tgz
==> ./configure --prefix=/usr/local/Cellar/sphinx/2.0.6 --disable-dependency-tracking --localstatedir=/usr/local/var --with-libstemmer --without-mysql
./configure --prefix=/usr/local/Cellar/sphinx/2.0.6 --disable-dependency-tracking --localstatedir=/usr/local/var --with-libstemmer --without-mysql
checking build environment
--------------------------
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for compiler programs
------------------------------
checking whether to compile debug version... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for ranlib... ranlib
checking for header files
-------------------------
checking how to run the C preprocessor... gcc -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... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking sql.h usability... yes
checking sql.h presence... yes
checking for sql.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for types
------------------
checking for stdbool.h that conforms to C99... no
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for library functions
------------------------------
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat correctly handles trailing slash... no
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for library containing setsockopt... none required
checking for library containing gethostbyname... none required
checking for library containing inflate... -lz
checking for library containing logf... none required
checking for dup2... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtol... yes
checking for logf... yes
checking for pread... yes
checking for backtrace... yes
checking for backtrace_symbols... yes
checking for clock_gettime in -lrt... no
checking for clock_gettime... no
checking for LOCK_EX in sys/file.h... yes
checking for F_SETLKW in fcntl.h... yes
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking for dlerror... yes
configuring Sphinx
------------------
checking for CFLAGS needed for pthreads... none
checking for LIBS needed for pthreads... -lpthread
checking for pthreads... found
checking for pthread_mutex_timedlock... no
checking whether to compile with MySQL support... no
checking whether to link statically with MySQL support... checking whether to compile with PostgreSQL support... no
checking whether to use 64-bit document/word IDs... no
checking whether to compile with libstemmer support... yes, static internal
checking for libexpat... checking for library containing XML_Parse... -lexpat
found
checking for libiconv... checking for library containing iconv... -liconv
found
checking for iconv() arg types... char **
checking for UnixODBC... checking for library containing SQLDriverConnect... -lodbc
found
checking whether to enable c++ memory routines override... yes
checking for Syslog... disabled
checking for unaligned RAM access... yes
checking whether byte ordering is bigendian... no
generating configuration files
------------------------------
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating libstemmer_c/Makefile
config.status: creating doc/Makefile
config.status: creating sphinx.conf.dist
config.status: creating sphinx-min.conf.dist
config.status: creating config/config.h
config.status: executing depfiles commands
configuration done
------------------
You can now run 'make install' to build and install Sphinx binaries.
On a multi-core machine, try 'make -j4 install' to speed up the build.
Updates, articles, help forum, and commercial support, consulting, training,
and development services are available at http://sphinxsearch.com/
Thank you for choosing Sphinx!
==> make install
make install
Making install in libstemmer_c
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_ISO_8859_1_danish.o `test -f 'src_c/stem_ISO_8859_1_danish.c' || echo './'`src_c/stem_ISO_8859_1_danish.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_UTF_8_danish.o `test -f 'src_c/stem_UTF_8_danish.c' || echo './'`src_c/stem_UTF_8_danish.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_ISO_8859_1_dutch.o `test -f 'src_c/stem_ISO_8859_1_dutch.c' || echo './'`src_c/stem_ISO_8859_1_dutch.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_UTF_8_dutch.o `test -f 'src_c/stem_UTF_8_dutch.c' || echo './'`src_c/stem_UTF_8_dutch.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_ISO_8859_1_english.o `test -f 'src_c/stem_ISO_8859_1_english.c' || echo './'`src_c/stem_ISO_8859_1_english.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_UTF_8_english.o `test -f 'src_c/stem_UTF_8_english.c' || echo './'`src_c/stem_UTF_8_english.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_ISO_8859_1_finnish.o `test -f 'src_c/stem_ISO_8859_1_finnish.c' || echo './'`src_c/stem_ISO_8859_1_finnish.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_UTF_8_finnish.o `test -f 'src_c/stem_UTF_8_finnish.c' || echo './'`src_c/stem_UTF_8_finnish.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_ISO_8859_1_french.o `test -f 'src_c/stem_ISO_8859_1_french.c' || echo './'`src_c/stem_ISO_8859_1_french.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_UTF_8_french.o `test -f 'src_c/stem_UTF_8_french.c' || echo './'`src_c/stem_UTF_8_french.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_ISO_8859_1_german.o `test -f 'src_c/stem_ISO_8859_1_german.c' || echo './'`src_c/stem_ISO_8859_1_german.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_UTF_8_german.o `test -f 'src_c/stem_UTF_8_german.c' || echo './'`src_c/stem_UTF_8_german.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_ISO_8859_1_hungarian.o `test -f 'src_c/stem_ISO_8859_1_hungarian.c' || echo './'`src_c/stem_ISO_8859_1_hungarian.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_UTF_8_hungarian.o `test -f 'src_c/stem_UTF_8_hungarian.c' || echo './'`src_c/stem_UTF_8_hungarian.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_ISO_8859_1_italian.o `test -f 'src_c/stem_ISO_8859_1_italian.c' || echo './'`src_c/stem_ISO_8859_1_italian.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_UTF_8_italian.o `test -f 'src_c/stem_UTF_8_italian.c' || echo './'`src_c/stem_UTF_8_italian.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_ISO_8859_1_norwegian.o `test -f 'src_c/stem_ISO_8859_1_norwegian.c' || echo './'`src_c/stem_ISO_8859_1_norwegian.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_UTF_8_norwegian.o `test -f 'src_c/stem_UTF_8_norwegian.c' || echo './'`src_c/stem_UTF_8_norwegian.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_ISO_8859_1_porter.o `test -f 'src_c/stem_ISO_8859_1_porter.c' || echo './'`src_c/stem_ISO_8859_1_porter.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_UTF_8_porter.o `test -f 'src_c/stem_UTF_8_porter.c' || echo './'`src_c/stem_UTF_8_porter.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_ISO_8859_1_portuguese.o `test -f 'src_c/stem_ISO_8859_1_portuguese.c' || echo './'`src_c/stem_ISO_8859_1_portuguese.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_UTF_8_portuguese.o `test -f 'src_c/stem_UTF_8_portuguese.c' || echo './'`src_c/stem_UTF_8_portuguese.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_ISO_8859_2_romanian.o `test -f 'src_c/stem_ISO_8859_2_romanian.c' || echo './'`src_c/stem_ISO_8859_2_romanian.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_UTF_8_romanian.o `test -f 'src_c/stem_UTF_8_romanian.c' || echo './'`src_c/stem_UTF_8_romanian.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_KOI8_R_russian.o `test -f 'src_c/stem_KOI8_R_russian.c' || echo './'`src_c/stem_KOI8_R_russian.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_UTF_8_russian.o `test -f 'src_c/stem_UTF_8_russian.c' || echo './'`src_c/stem_UTF_8_russian.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_ISO_8859_1_spanish.o `test -f 'src_c/stem_ISO_8859_1_spanish.c' || echo './'`src_c/stem_ISO_8859_1_spanish.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_UTF_8_spanish.o `test -f 'src_c/stem_UTF_8_spanish.c' || echo './'`src_c/stem_UTF_8_spanish.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_ISO_8859_1_swedish.o `test -f 'src_c/stem_ISO_8859_1_swedish.c' || echo './'`src_c/stem_ISO_8859_1_swedish.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_UTF_8_swedish.o `test -f 'src_c/stem_UTF_8_swedish.c' || echo './'`src_c/stem_UTF_8_swedish.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o stem_UTF_8_turkish.o `test -f 'src_c/stem_UTF_8_turkish.c' || echo './'`src_c/stem_UTF_8_turkish.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o api.o `test -f 'runtime/api.c' || echo './'`runtime/api.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o utilities.o `test -f 'runtime/utilities.c' || echo './'`runtime/utilities.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o libstemmer.o `test -f 'libstemmer/libstemmer.c' || echo './'`libstemmer/libstemmer.c
brew: superenv removed: -I/usr/local/include -Wall -g -O3
rm -f libstemmer.a
ar cru libstemmer.a stem_ISO_8859_1_danish.o stem_UTF_8_danish.o stem_ISO_8859_1_dutch.o stem_UTF_8_dutch.o stem_ISO_8859_1_english.o stem_UTF_8_english.o stem_ISO_8859_1_finnish.o stem_UTF_8_finnish.o stem_ISO_8859_1_french.o stem_UTF_8_french.o stem_ISO_8859_1_german.o stem_UTF_8_german.o stem_ISO_8859_1_hungarian.o stem_UTF_8_hungarian.o stem_ISO_8859_1_italian.o stem_UTF_8_italian.o stem_ISO_8859_1_norwegian.o stem_UTF_8_norwegian.o stem_ISO_8859_1_porter.o stem_UTF_8_porter.o stem_ISO_8859_1_portuguese.o stem_UTF_8_portuguese.o stem_ISO_8859_2_romanian.o stem_UTF_8_romanian.o stem_KOI8_R_russian.o stem_UTF_8_russian.o stem_ISO_8859_1_spanish.o stem_UTF_8_spanish.o stem_ISO_8859_1_swedish.o stem_UTF_8_swedish.o stem_UTF_8_turkish.o api.o utilities.o libstemmer.o
ranlib libstemmer.a
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
Making install in src
/bin/sh svnxrev.sh ..
/usr/bin/make install-am
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o sphinx.o sphinx.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o sphinxexcerpt.o sphinxexcerpt.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o sphinxquery.o sphinxquery.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o sphinxsoundex.o sphinxsoundex.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o sphinxmetaphone.o sphinxmetaphone.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o sphinxstemen.o sphinxstemen.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o sphinxstemru.o sphinxstemru.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o sphinxstemcz.o sphinxstemcz.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o sphinxutils.o sphinxutils.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o md5.o md5.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o sphinxstd.o sphinxstd.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o sphinxsort.o sphinxsort.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o sphinxexpr.o sphinxexpr.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o sphinxfilter.o sphinxfilter.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o sphinxsearch.o sphinxsearch.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o sphinxrt.o sphinxrt.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
rm -f libsphinx.a
ar cru libsphinx.a sphinx.o sphinxexcerpt.o sphinxquery.o sphinxsoundex.o sphinxmetaphone.o sphinxstemen.o sphinxstemru.o sphinxstemcz.o sphinxutils.o md5.o sphinxstd.o sphinxsort.o sphinxexpr.o sphinxfilter.o sphinxsearch.o sphinxrt.o
ranlib libsphinx.a
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o indexer.o indexer.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o indexer indexer.o libsphinx.a ../libstemmer_c/libstemmer.a -lodbc -liconv -lexpat -ldl -lz -L/usr/local/lib -lpthread
brew: superenv removed: -Wall -g -O3 -L/usr/local/lib
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o searchd.o searchd.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o searchd searchd.o libsphinx.a ../libstemmer_c/libstemmer.a -lodbc -liconv -lexpat -ldl -lz -L/usr/local/lib -lpthread
brew: superenv removed: -Wall -g -O3 -L/usr/local/lib
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o search.o search.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o search search.o libsphinx.a ../libstemmer_c/libstemmer.a -lodbc -liconv -lexpat -ldl -lz -L/usr/local/lib -lpthread
brew: superenv removed: -Wall -g -O3 -L/usr/local/lib
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o spelldump.o spelldump.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o spelldump spelldump.o libsphinx.a ../libstemmer_c/libstemmer.a -lodbc -liconv -lexpat -ldl -lz -L/usr/local/lib -lpthread
brew: superenv removed: -Wall -g -O3 -L/usr/local/lib
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o indextool.o indextool.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o indextool indextool.o libsphinx.a ../libstemmer_c/libstemmer.a -lodbc -liconv -lexpat -ldl -lz -L/usr/local/lib -lpthread
brew: superenv removed: -Wall -g -O3 -L/usr/local/lib
g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/Cellar/sphinx/2.0.6/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I../libstemmer_c/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -c -o tests.o tests.cpp
brew: superenv removed: -I/usr/local/include -Wall -g -O3
g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o tests tests.o libsphinx.a ../libstemmer_c/libstemmer.a -lodbc -liconv -lexpat -ldl -lz -L/usr/local/lib -lpthread
brew: superenv removed: -Wall -g -O3 -L/usr/local/lib
test -z "/usr/local/Cellar/sphinx/2.0.6/bin" || ../config/install-sh -c -d "/usr/local/Cellar/sphinx/2.0.6/bin"
/usr/bin/install -c indexer searchd search spelldump indextool '/usr/local/Cellar/sphinx/2.0.6/bin'
make[3]: Nothing to be done for `install-data-am'.
Making install in test
make[1]: Nothing to be done for `install'.
Making install in doc
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/Cellar/sphinx/2.0.6/share/man/man1" || ../config/install-sh -c -d "/usr/local/Cellar/sphinx/2.0.6/share/man/man1"
/usr/bin/install -c -m 644 searchd.1 search.1 indexer.1 indextool.1 spelldump.1 '/usr/local/Cellar/sphinx/2.0.6/share/man/man1'
test -z "/usr/local/Cellar/sphinx/2.0.6/etc" || config/install-sh -c -d "/usr/local/Cellar/sphinx/2.0.6/etc"
/usr/bin/install -c -m 644 sphinx.conf.dist sphinx-min.conf.dist example.sql '/usr/local/Cellar/sphinx/2.0.6/etc'
/usr/bin/make install-data-hook
mkdir -p /usr/local/var/data && mkdir -p /usr/local/var/log
==> Cleaning
==> Caveats
Sphinx has been compiled with libstemmer support.
Sphinx depends on either MySQL or PostreSQL as a datasource.
You can install these with Homebrew with:
brew install mysql
For MySQL server.
brew install mysql-connector-c
For MySQL client libraries only.
brew install postgresql
For PostgreSQL server.
We don't install these for you when you install this formula, as
we don't know which datasource you intend to use.
==> Finishing up
ln -s ../Cellar/sphinx/2.0.6/etc/sphinx.conf.dist sphinx.conf.dist
ln -s ../Cellar/sphinx/2.0.6/etc/sphinx-min.conf.dist sphinx-min.conf.dist
ln -s ../Cellar/sphinx/2.0.6/etc/example.sql example.sql
ln -s ../Cellar/sphinx/2.0.6/bin/spelldump spelldump
ln -s ../Cellar/sphinx/2.0.6/bin/searchd searchd
ln -s ../Cellar/sphinx/2.0.6/bin/search search
ln -s ../Cellar/sphinx/2.0.6/bin/indextool indextool
ln -s ../Cellar/sphinx/2.0.6/bin/indexer indexer
ln -s ../../../Cellar/sphinx/2.0.6/share/man/man1/spelldump.1 spelldump.1
ln -s ../../../Cellar/sphinx/2.0.6/share/man/man1/searchd.1 searchd.1
ln -s ../../../Cellar/sphinx/2.0.6/share/man/man1/search.1 search.1
ln -s ../../../Cellar/sphinx/2.0.6/share/man/man1/indextool.1 indextool.1
ln -s ../../../Cellar/sphinx/2.0.6/share/man/man1/indexer.1 indexer.1
ln -s ../../Cellar/sphinx/2.0.6 sphinx
ln -s ../Cellar/sphinx/2.0.6 sphinx
==> Summary
🍺 /usr/local/Cellar/sphinx/2.0.6: 15 files, 14M, built in 50 seconds
$ brew doctor
Your system is raring to brew.
$ which pg_config
/usr/local/bin/pg_config
$ brew install sphinx --pgsql
==> Downloading http://sphinxsearch.com/files/sphinx-2.0.6-release.tar.gz
Already downloaded: /Library/Caches/Homebrew/sphinx-2.0.6.tar.gz
==> Downloading http://snowball.tartarus.org/dist/libstemmer_c.tgz
Already downloaded: /Library/Caches/Homebrew/libstemmer_c.tgz
==> ./configure --prefix=/usr/local/Cellar/sphinx/2.0.6 --localstatedir=/usr/local/var --with-libstemmer --without-mysql --with-pgsql
--with-pgsql-includes and --with-pgsql-libs options, or make sure path to
pg_config is listed in your PATH environment variable. If you want to
disable PostgreSQL support, use --without-pgsql option.
********************************************************************************
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
These open issues may also help:
https://github.com/mxcl/homebrew/issues/18017
$ brew list
apple-gcc42 cmake geoip gpp jpeg libgeotiff libtool macvim ossp-uuid postgis qt sphinx
autoconf freexl geos imagemagick json-c libspatialite little-cms memcached pidof postgresql readline sqlite
automake gdal giflib jasper libevent libtiff lzlib mysql pkg-config proj redis wget
$ pg_config --version
PostgreSQL 9.2.3
$ brew --config
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew.git
HEAD: 3e7cc037a4739bbc783f7f9134156bb3b2865a3e
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit sandybridge
OS X: 10.7.5-x86_64
Xcode: 4.6
CLT: 4.6.0.0.1.1358221012
GCC-4.2: build 5666
LLVM-GCC: build 2336
Clang: 4.2 build 425
X11: 2.6.4 => /usr/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /Users/nathan/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment