# pecl install channel://pecl.php.net/sphinx-0.2.0
downloading sphinx-0.2.0.tar ...
Starting to download sphinx-0.2.0.tar (Unknown size)
.............done: 49,664 bytes
4 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
1. Please provide the installation prefix of libsphinxclient : autodetect
1-1, 'all', 'abort', or Enter to continue: 1
Please provide the installation prefix of libsphinxclient [autodetect] : /usr/lo cal
1. Please provide the installation prefix of libsphinxclient : /usr/local
1-1, 'all', 'abort', or Enter to continue:
building in /var/tmp/pear-build-alexm/sphinx-0.2.0
running: /tmp/sphinx/configure --with-sphinx=/usr/local
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
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 ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... yes
checking build system type... i386-unknown-freebsd7.0
checking host system type... i386-unknown-freebsd7.0
checking target system type... i386-unknown-freebsd7.0
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/m ain -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/inc lude/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/20060613
checking for PHP installed headers prefix... /usr/local/include/php
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking for sphinx support... yes, shared
checking for libsphinxclient headers in /usr/local... found
checking for sphinx_create in -lsphinxclient... no
configure: error: wrong libsphinxclient version or lib not found
ERROR: `/tmp/sphinx/configure --with-sphinx=/usr/local' failed