Skip to content

Instantly share code, notes, and snippets.

@benlieb
Created February 5, 2013 17:23
Show Gist options
  • Save benlieb/4716032 to your computer and use it in GitHub Desktop.
Save benlieb/4716032 to your computer and use it in GitHub Desktop.
benlieb@bens 12:18 PM ~/Desktop/sphinx-0.9.8.1 >
$ ./configure
checking build environment
--------------------------
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
rm: conftest.dSYM: is a directory
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking for header files
-------------------------
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 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 for types
------------------
checking for stdbool.h that conforms to C99... yes
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 for unistd.h... (cached) 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 *
rm: conftest.dSYM: is a directory
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a 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 XML_Parse... -lexpat
checking for library containing iconv... -liconv
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 LOCK_EX in sys/file.h... rm: conftest.dSYM: is a directory
yes
checking for F_SETLKW in fcntl.h... rm: conftest.dSYM: is a directory
yes
configuring Sphinx
------------------
checking whether to compile with MySQL support... yes
checking for mysql_config... mysql_config
checking MySQL include files... -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64
checking MySQL libraries... -L/usr/local/mysql/lib -lmysqlclient -lpthread
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... no
checking for libexpat... found
checking for libiconv... found
checking for iconv() arg types... char **
checking for unaligned RAM access... yes
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 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' to build Sphinx binaries,
and then run 'make install' to install them.
benlieb@bens 12:19 PM ~/Desktop/sphinx-0.9.8.1 >
$ make
Making all in src
if test -d ../.svn; then svn info .. --xml | perl svnxrev.pl; fi;
make all-am
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinx.o -MD -MP -MF ".deps/sphinx.Tpo" -c -o sphinx.o sphinx.cpp; \
then mv -f ".deps/sphinx.Tpo" ".deps/sphinx.Po"; else rm -f ".deps/sphinx.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxexcerpt.o -MD -MP -MF ".deps/sphinxexcerpt.Tpo" -c -o sphinxexcerpt.o sphinxexcerpt.cpp; \
then mv -f ".deps/sphinxexcerpt.Tpo" ".deps/sphinxexcerpt.Po"; else rm -f ".deps/sphinxexcerpt.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxquery.o -MD -MP -MF ".deps/sphinxquery.Tpo" -c -o sphinxquery.o sphinxquery.cpp; \
then mv -f ".deps/sphinxquery.Tpo" ".deps/sphinxquery.Po"; else rm -f ".deps/sphinxquery.Tpo"; exit 1; fi
sphinxquery.cpp: In member function ‘bool CSphExtendedQueryParser::Parse(CSphExtendedQuery&, const char*, const ISphTokenizer*, const CSphSchema*, CSphDict*)’:
sphinxquery.cpp:1103: warning: comparison between signed and unsigned integer expressions
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxsoundex.o -MD -MP -MF ".deps/sphinxsoundex.Tpo" -c -o sphinxsoundex.o sphinxsoundex.cpp; \
then mv -f ".deps/sphinxsoundex.Tpo" ".deps/sphinxsoundex.Po"; else rm -f ".deps/sphinxsoundex.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxmetaphone.o -MD -MP -MF ".deps/sphinxmetaphone.Tpo" -c -o sphinxmetaphone.o sphinxmetaphone.cpp; \
then mv -f ".deps/sphinxmetaphone.Tpo" ".deps/sphinxmetaphone.Po"; else rm -f ".deps/sphinxmetaphone.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxstemen.o -MD -MP -MF ".deps/sphinxstemen.Tpo" -c -o sphinxstemen.o sphinxstemen.cpp; \
then mv -f ".deps/sphinxstemen.Tpo" ".deps/sphinxstemen.Po"; else rm -f ".deps/sphinxstemen.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxstemru.o -MD -MP -MF ".deps/sphinxstemru.Tpo" -c -o sphinxstemru.o sphinxstemru.cpp; \
then mv -f ".deps/sphinxstemru.Tpo" ".deps/sphinxstemru.Po"; else rm -f ".deps/sphinxstemru.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxutils.o -MD -MP -MF ".deps/sphinxutils.Tpo" -c -o sphinxutils.o sphinxutils.cpp; \
then mv -f ".deps/sphinxutils.Tpo" ".deps/sphinxutils.Po"; else rm -f ".deps/sphinxutils.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT md5.o -MD -MP -MF ".deps/md5.Tpo" -c -o md5.o md5.cpp; \
then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; else rm -f ".deps/md5.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxstd.o -MD -MP -MF ".deps/sphinxstd.Tpo" -c -o sphinxstd.o sphinxstd.cpp; \
then mv -f ".deps/sphinxstd.Tpo" ".deps/sphinxstd.Po"; else rm -f ".deps/sphinxstd.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxsort.o -MD -MP -MF ".deps/sphinxsort.Tpo" -c -o sphinxsort.o sphinxsort.cpp; \
then mv -f ".deps/sphinxsort.Tpo" ".deps/sphinxsort.Po"; else rm -f ".deps/sphinxsort.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxexpr.o -MD -MP -MF ".deps/sphinxexpr.Tpo" -c -o sphinxexpr.o sphinxexpr.cpp; \
then mv -f ".deps/sphinxexpr.Tpo" ".deps/sphinxexpr.Po"; else rm -f ".deps/sphinxexpr.Tpo"; exit 1; fi
rm -f libsphinx.a
ar cru libsphinx.a sphinx.o sphinxexcerpt.o sphinxquery.o sphinxsoundex.o sphinxmetaphone.o sphinxstemen.o sphinxstemru.o sphinxutils.o md5.o sphinxstd.o sphinxsort.o sphinxexpr.o
ranlib libsphinx.a
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT indexer.o -MD -MP -MF ".deps/indexer.Tpo" -c -o indexer.o indexer.cpp; \
then mv -f ".deps/indexer.Tpo" ".deps/indexer.Po"; else rm -f ".deps/indexer.Tpo"; exit 1; fi
g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o indexer indexer.o libsphinx.a -L/usr/local/mysql/lib -lmysqlclient -lpthread -liconv -lexpat -L/usr/local/lib
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT searchd.o -MD -MP -MF ".deps/searchd.Tpo" -c -o searchd.o searchd.cpp; \
then mv -f ".deps/searchd.Tpo" ".deps/searchd.Po"; else rm -f ".deps/searchd.Tpo"; exit 1; fi
g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o searchd searchd.o libsphinx.a -L/usr/local/mysql/lib -lmysqlclient -lpthread -liconv -lexpat -L/usr/local/lib
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT search.o -MD -MP -MF ".deps/search.Tpo" -c -o search.o search.cpp; \
then mv -f ".deps/search.Tpo" ".deps/search.Po"; else rm -f ".deps/search.Tpo"; exit 1; fi
g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o search search.o libsphinx.a -L/usr/local/mysql/lib -lmysqlclient -lpthread -liconv -lexpat -L/usr/local/lib
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT spelldump.o -MD -MP -MF ".deps/spelldump.Tpo" -c -o spelldump.o spelldump.cpp; \
then mv -f ".deps/spelldump.Tpo" ".deps/spelldump.Po"; else rm -f ".deps/spelldump.Tpo"; exit 1; fi
g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o spelldump spelldump.o libsphinx.a -L/usr/local/mysql/lib -lmysqlclient -lpthread -liconv -lexpat -L/usr/local/lib
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT tests.o -MD -MP -MF ".deps/tests.Tpo" -c -o tests.o tests.cpp; \
then mv -f ".deps/tests.Tpo" ".deps/tests.Po"; else rm -f ".deps/tests.Tpo"; exit 1; fi
tests.cpp: In function ‘void TestTokenizer(bool)’:
tests.cpp:159: warning: deprecated conversion from string constant to ‘char*’
tests.cpp:159: warning: deprecated conversion from string constant to ‘char*’
tests.cpp:159: warning: deprecated conversion from string constant to ‘char*’
tests.cpp:159: warning: deprecated conversion from string constant to ‘char*’
tests.cpp:159: warning: deprecated conversion from string constant to ‘char*’
tests.cpp:159: warning: deprecated conversion from string constant to ‘char*’
tests.cpp:182: warning: deprecated conversion from string constant to ‘char*’
tests.cpp:219: warning: deprecated conversion from string constant to ‘char*’
tests.cpp:219: warning: deprecated conversion from string constant to ‘char*’
tests.cpp:219: warning: deprecated conversion from string constant to ‘char*’
tests.cpp:219: warning: deprecated conversion from string constant to ‘char*’
tests.cpp:219: warning: deprecated conversion from string constant to ‘char*’
tests.cpp:219: warning: deprecated conversion from string constant to ‘char*’
tests.cpp:219: warning: deprecated conversion from string constant to ‘char*’
tests.cpp:219: warning: deprecated conversion from string constant to ‘char*’
g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o tests tests.o libsphinx.a -L/usr/local/mysql/lib -lmysqlclient -lpthread -liconv -lexpat -L/usr/local/lib
Making all in test
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all-am'.
benlieb@bens 12:20 PM ~/Desktop/sphinx-0.9.8.1 >
$ which searchd
benlieb@bens 12:21 PM ~/Desktop/sphinx-0.9.8.1 >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment