Report abuse

[sphinx-0.9.7]$ ./configure --prefix=/opt/sphinx

checking build environment
--------------------------

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no

configuring Sphinx
------------------

checking whether to compile with MySQL support... (cached) yes
checking whether to compile with PostgreSQL support... (cached) no
checking for mysql_config... /opt/mysql5/devel-default/bin/mysql_config
checking MySQL C flags... -I/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/include/mysql
checking MySQL linker flags... -R/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/lib/mysql -L/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -R/usr/lib64 -L/usr/lib64 -lssl -lcrypto

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
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... 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 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 *
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
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 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 LOCK_EX in sys/file.h... yes
checking for F_SETLKW in fcntl.h... yes

generating configuration files
------------------------------

configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating sphinx.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.

[sphinx-0.9.7]$ make
Making all in src
make[1]: Entering directory `/opt/rails/chow/search/releases/20070706061820/vendor/sphinx-0.9.7/src'
g++ -DHAVE_CONFIG_H -I. -I. -I../config   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -I/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/include/mysql    -c -o sphinx.o sphinx.cpp
sphinx.cpp: In member function `virtual const CSphSchema* CSphIndex_VLN::Preload()':
sphinx.cpp:7901: warning: comparison between signed and unsigned integer expressions
g++ -DHAVE_CONFIG_H -I. -I. -I../config   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -I/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/include/mysql    -c -o sphinxexcerpt.o sphinxexcerpt.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../config   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -I/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/include/mysql    -c -o sphinxquery.o sphinxquery.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../config   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -I/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/include/mysql    -c -o sphinxsoundex.o sphinxsoundex.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../config   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -I/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/include/mysql    -c -o sphinxstemen.o sphinxstemen.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../config   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -I/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/include/mysql    -c -o sphinxstemru.o sphinxstemru.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../config   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -I/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/include/mysql    -c -o sphinxutils.o sphinxutils.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../config   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -I/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/include/mysql    -c -o md5.o md5.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../config   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -I/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/include/mysql    -c -o sphinxstd.o sphinxstd.cpp
rm -f libsphinx.a
ar cru libsphinx.a sphinx.o sphinxexcerpt.o sphinxquery.o sphinxsoundex.o sphinxstemen.o sphinxstemru.o sphinxutils.o md5.o sphinxstd.o 
ranlib libsphinx.a
g++ -DHAVE_CONFIG_H -I. -I. -I../config   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -I/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/include/mysql    -c -o indexer.o indexer.cpp
g++     -o indexer  indexer.o libsphinx.a -R/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/lib/mysql -L/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -R/usr/lib64 -L/usr/lib64 -lssl -lcrypto  
g++: unrecognized option `-R/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/lib/mysql'
g++: unrecognized option `-R/usr/lib64'
g++ -DHAVE_CONFIG_H -I. -I. -I../config   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -I/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/include/mysql    -c -o searchd.o searchd.cpp
g++     -o searchd  searchd.o libsphinx.a -R/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/lib/mysql -L/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -R/usr/lib64 -L/usr/lib64 -lssl -lcrypto  -lz 
g++: unrecognized option `-R/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/lib/mysql'
g++: unrecognized option `-R/usr/lib64'
g++ -DHAVE_CONFIG_H -I. -I. -I../config   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -I/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/include/mysql    -c -o search.o search.cpp
g++     -o search  search.o libsphinx.a -R/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/lib/mysql -L/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -R/usr/lib64 -L/usr/lib64 -lssl -lcrypto  
g++: unrecognized option `-R/opt/mysql5/5.0.18_all_1.1_cnet_gcc-3_64el4/lib/mysql'
g++: unrecognized option `-R/usr/lib64'
make[1]: Leaving directory `/opt/rails/chow/search/releases/20070706061820/vendor/sphinx-0.9.7/src'
make[1]: Entering directory `/opt/rails/chow/search/releases/20070706061820/vendor/sphinx-0.9.7'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/opt/rails/chow/search/releases/20070706061820/vendor/sphinx-0.9.7'
[sphinx-0.9.7]$ make install
Making install in src
make[1]: Entering directory `/opt/rails/chow/search/releases/20070706061820/vendor/sphinx-0.9.7/src'
make[2]: Entering directory `/opt/rails/chow/search/releases/20070706061820/vendor/sphinx-0.9.7/src'
test -z "/opt/sphinx/bin" || mkdir -p -- "/opt/sphinx/bin"
  /usr/bin/install -c 'indexer' '/opt/sphinx/bin/indexer'
  /usr/bin/install -c 'searchd' '/opt/sphinx/bin/searchd'
  /usr/bin/install -c 'search' '/opt/sphinx/bin/search'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/opt/rails/chow/search/releases/20070706061820/vendor/sphinx-0.9.7/src'
make[1]: Leaving directory `/opt/rails/chow/search/releases/20070706061820/vendor/sphinx-0.9.7/src'
make[1]: Entering directory `/opt/rails/chow/search/releases/20070706061820/vendor/sphinx-0.9.7'
make[2]: Entering directory `/opt/rails/chow/search/releases/20070706061820/vendor/sphinx-0.9.7'
test -z "/opt/sphinx/etc" || mkdir -p -- "/opt/sphinx/etc"
 /usr/bin/install -c -m 644 'sphinx.conf.dist' '/opt/sphinx/etc/sphinx.conf.dist'
 /usr/bin/install -c -m 644 'example.sql' '/opt/sphinx/etc/example.sql'
make  install-data-hook
make[3]: Entering directory `/opt/rails/chow/search/releases/20070706061820/vendor/sphinx-0.9.7'
mkdir -p /opt/sphinx/var/data && mkdir -p /opt/sphinx/var/log
make[3]: Leaving directory `/opt/rails/chow/search/releases/20070706061820/vendor/sphinx-0.9.7'
make[2]: Leaving directory `/opt/rails/chow/search/releases/20070706061820/vendor/sphinx-0.9.7'
make[1]: Leaving directory `/opt/rails/chow/search/releases/20070706061820/vendor/sphinx-0.9.7'