|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-04-06 08:10 UTC] dhoene at gmail dot com
Description:
------------
env info:
---------
libsphinxclient built and installed from svn rev 2761
/Applications/XAMPP/xamppfiles/bin/php --version
PHP 5.3.1 (cli) (built: Feb 27 2010 12:41:51)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend
Technologies
/Applications/XAMPP/xamppfiles/bin/pecl install sphinx
returns:
--------
downloading sphinx-1.1.0.tar ...
Starting to download sphinx-1.1.0.tar (Unknown size)
.................done: 69,632 bytes
4 source files, building
running: phpize-5.3.1
grep: /Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/main/php.h: No such file or directory
grep: /Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/Zend/zend_modules.h: No such file or directory
grep: /Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
Please provide the installation prefix of libsphinxclient
[autodetect] :
building in /var/tmp/pear-build-root/sphinx-1.1.0
running:
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/configu
re --with-sphinx
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 cc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-apple-darwin10.6.0
checking host system type... i686-apple-darwin10.6.0
checking target system type... i686-apple-darwin10.6.0
checking for PHP prefix... /Applications/XAMPP/xamppfiles
checking for PHP includes... -
I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1 -
I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php -
I/Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/main -
I/Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/TSRM -
I/Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/Zend -
I/Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/ext -
I/Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/ext/date/lib -
I/Applications/XAMPP/xamppfiles/include
checking for PHP extension directory...
/Applications/XAMPP/xamppfiles/lib/php/php-
5.3.1/extensions/no-debug-non-zts-20090626
checking for PHP installed headers prefix...
/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if
you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking for sphinx support... yes, shared
checking for libsphinxclient headers in default path...
found in /usr/local
checking for sphinx_create in -lsphinxclient... yes
checking for sphinx_set_select in -lsphinxclient... yes
checking for sphinx_get_string in -lsphinxclient... yes
checking for ld used by cc... /usr/llvm-gcc-
4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-
apple-darwin10/4.2.1/ld) is GNU ld... no
checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-
darwin10/4.2.1/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments...
196608
checking command to parse /usr/bin/nm output from cc
object... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
checking if cc static flag works... rm: conftest.dSYM: is a
directory
yes
checking if cc supports -fno-rtti -fno-exceptions... rm:
conftest.dSYM: is a directory
no
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... rm:
conftest.dSYM: is a directory
yes
checking if cc supports -c -o file.o... rm: conftest.dSYM:
is a directory
yes
checking whether the cc linker (/usr/llvm-gcc-
4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports
shared libraries... yes
checking dynamic linker characteristics... darwin10.6.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... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /private/var/tmp/pear-build-root/sphinx-
1.1.0/libtool --mode=compile cc -I. -
I/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx -
DPHP_ATOM_INC -I/private/var/tmp/pear-build-root/sphinx-
1.1.0/include -I/private/var/tmp/pear-build-root/sphinx-
1.1.0/main -
I/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx -
I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1 -
I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php -
I/Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/main -
I/Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/TSRM -
I/Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/Zend -
I/Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/ext -
I/Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/ext/date/lib -
I/Applications/XAMPP/xamppfiles/include -I/usr/local/include
-DHAVE_CONFIG_H -g -O2 -c
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c -o sphinx.lo
mkdir .libs
cc -I. -
I/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx -
DPHP_ATOM_INC -I/private/var/tmp/pear-build-root/sphinx-
1.1.0/include -I/private/var/tmp/pear-build-root/sphinx-
1.1.0/main -
I/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx -
I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1 -
I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php -
I/Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/main -
I/Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/TSRM -
I/Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/Zend -
I/Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/ext -
I/Applications/XAMPP/xamppfiles/include/php/php-
5.3.1/php/ext/date/lib -
I/Applications/XAMPP/xamppfiles/include -I/usr/local/include
-DHAVE_CONFIG_H -g -O2 -c
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c -fno-common -DPIC -o .libs/sphinx.o
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:26:17: error: php.h: No such file or directory
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:27:21: error: php_ini.h: No such file or directory
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:28:31: error: ext/standard/info.h: No such file or
directory
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:29:31: error: ext/standard/file.h: No such file or
directory
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:30:28: error: zend_operators.h: No such file or directory
In file included from
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:31:
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/php_sph
inx.h:25: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'sphinx_module_entry'
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/php_sph
inx.h:32: warning: data definition has no type or storage
class
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/php_sph
inx.h:32: warning: parameter names (without types) in
function declaration
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/php_sph
inx.h:33: warning: data definition has no type or storage
class
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/php_sph
inx.h:33: warning: parameter names (without types) in
function declaration
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:35: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:37: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'php_sphinx_client_handlers'
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:38: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'cannot_be_cloned'
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:41: error: expected specifier-qualifier-list before
'zend_object'
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c: In function 'ZEND_GET_MODULE':
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:62: error: expected ';', ',' or ')' before 'TSRMLS_DC'
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:72: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'php_sphinx_client_new'
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:86: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:114: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:150: error: expected declaration specifiers or '...'
before 'zval'
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:151: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:351: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:369: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:392: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:414: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:436: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:502: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:525: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:547: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:590: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:615: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:640: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:664: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:691: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:714: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:737: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:760: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:783: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:848: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:872: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:895: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:913: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1119: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1290: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1335: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1347: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1359: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1376: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1393: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1419: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1443: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1471: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1519: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1536: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1553: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1585: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1683: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1690: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1696: error: expected declaration specifiers before
'ZEND_BEGIN_ARG_INFO_EX'
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1874: error: expected declaration specifiers before ';'
token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1879: error: expected declaration specifiers before
'PHP_MINIT_FUNCTION'
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1953: error: expected declaration specifiers before
'PHP_MINFO_FUNCTION'
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1963: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'sphinx_functions'
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1965: error: expected declaration specifiers before ';'
token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1970: error: expected declaration specifiers before
'zend_module_entry'
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1985: error: expected declaration specifiers before ';'
token
/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx.
c:1985: error: expected '{' at end of input
make: *** [sphinx.lo] Error 1
ERROR: `make' failed
Expected result:
----------------
proper build/install
Actual result:
--------------
make fails
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 22:00:01 2025 UTC |
thx for your hint, my symlinks pointed incorrectly... i fixed them but the make still fails with the following output (still a system prob?): sudo /Applications/XAMPP/xamppfiles/bin/pecl install sphinx downloading sphinx-1.1.0.tar ... Starting to download sphinx-1.1.0.tar (Unknown size) .................done: 69,632 bytes 4 source files, building running: phpize-5.3.1 Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 Please provide the installation prefix of libsphinxclient [autodetect] : building in /var/tmp/pear-build-root/sphinx-1.1.0 running: /Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/configu re --with-sphinx 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 cc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-apple-darwin10.6.0 checking host system type... i686-apple-darwin10.6.0 checking target system type... i686-apple-darwin10.6.0 checking for PHP prefix... /Applications/XAMPP/xamppfiles checking for PHP includes... - I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1 - I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php - I/Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/main - I/Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/TSRM - I/Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend - I/Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/ext - I/Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/ext/date/lib - I/Applications/XAMPP/xamppfiles/include checking for PHP extension directory... /Applications/XAMPP/xamppfiles/lib/php/php- 5.3.1/extensions/no-debug-non-zts-20090626 checking for PHP installed headers prefix... /Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... no checking for awk... awk checking if awk is broken... no checking for sphinx support... yes, shared checking for libsphinxclient headers in default path... found in /usr/local checking for sphinx_create in -lsphinxclient... yes checking for sphinx_set_select in -lsphinxclient... yes checking for sphinx_get_string in -lsphinxclient... yes checking for ld used by cc... /usr/llvm-gcc- 4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686- apple-darwin10/4.2.1/ld) is GNU ld... no checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple- darwin10/4.2.1/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 196608 checking command to parse /usr/bin/nm output from cc object... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory checking if cc static flag works... rm: conftest.dSYM: is a directory yes checking if cc supports -fno-rtti -fno-exceptions... rm: conftest.dSYM: is a directory no checking for cc option to produce PIC... -fno-common checking if cc PIC flag -fno-common works... rm: conftest.dSYM: is a directory yes checking if cc supports -c -o file.o... rm: conftest.dSYM: is a directory yes checking whether the cc linker (/usr/llvm-gcc- 4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin10.6.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... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool configure: creating ./config.status config.status: creating config.h running: make /bin/sh /private/var/tmp/pear-build-root/sphinx- 1.1.0/libtool --mode=compile cc -I. - I/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx - DPHP_ATOM_INC -I/private/var/tmp/pear-build-root/sphinx- 1.1.0/include -I/private/var/tmp/pear-build-root/sphinx- 1.1.0/main - I/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx - I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1 - I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php - I/Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/main - I/Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/TSRM - I/Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend - I/Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/ext - I/Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/ext/date/lib - I/Applications/XAMPP/xamppfiles/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx. c -o sphinx.lo mkdir .libs cc -I. - I/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx - DPHP_ATOM_INC -I/private/var/tmp/pear-build-root/sphinx- 1.1.0/include -I/private/var/tmp/pear-build-root/sphinx- 1.1.0/main - I/Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx - I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1 - I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php - I/Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/main - I/Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/TSRM - I/Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend - I/Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/ext - I/Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/ext/date/lib - I/Applications/XAMPP/xamppfiles/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx. c -fno-common -DPIC -o .libs/sphinx.o In file included from /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend.h:270, from /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/main/php.h:34, from /Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx. c:26: /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:45: error: expected declaration specifiers or '...' before '*' token /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:45: error: 'ulong' declared as function returning a function /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:55: error: field 'h' declared as a function /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:70: error: field 'nNextFreeElement' declared as a function /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:88: error: field 'h' declared as a function /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:99: error: expected declaration specifiers or '...' before 'hash_func_t' /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:100: error: expected declaration specifiers or '...' before 'hash_func_t' /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:160: error: 'zend_get_hash_value' declared as function returning a function /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:171: error: 'zend_hash_next_free_element' declared as function returning a function /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:188: error: field 'h' declared as a function /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:262: error: 'zend_inline_hash_func' declared as function returning a function /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h: In function 'zend_inline_hash_func': /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:263: error: invalid storage class for function 'hash' /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:263: error: function 'hash' is initialized like a variable /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:267: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:268: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:269: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:270: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:271: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:272: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:273: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:274: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:277: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:278: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:279: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:280: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:281: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:282: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:283: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:287: warning: return makes integer from pointer without a cast /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:287: warning: function returns address of local variable /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:263: error: nested function 'hash' declared but never defined /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h: At top level: /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:291: error: 'zend_hash_func' declared as function returning a function /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h: In function 'zend_symtable_update': /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:345: error: lvalue required as left operand of assignment /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:345: error: invalid operands to binary * (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:345: warning: comparison between pointer and integer /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:345: error: cast specifies function type /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:345: warning: comparison between pointer and integer /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h: In function 'zend_symtable_del': /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:352: error: lvalue required as left operand of assignment /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:352: error: invalid operands to binary * (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:352: warning: comparison between pointer and integer /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:352: error: cast specifies function type /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:352: warning: comparison between pointer and integer /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h: In function 'zend_symtable_find': /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:359: error: lvalue required as left operand of assignment /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:359: error: invalid operands to binary * (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:359: warning: comparison between pointer and integer /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:359: error: cast specifies function type /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:359: warning: comparison between pointer and integer /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h: In function 'zend_symtable_exists': /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:366: error: lvalue required as left operand of assignment /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:366: error: invalid operands to binary * (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:366: warning: comparison between pointer and integer /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:366: error: cast specifies function type /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:366: warning: comparison between pointer and integer /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h: In function 'zend_symtable_update_current_key_ex': /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:372: error: lvalue required as left operand of assignment /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:372: error: invalid operands to binary * (have 'int (*)()' and 'int') /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:372: warning: comparison between pointer and integer /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:372: error: cast specifies function type /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_hash.h:372: warning: comparison between pointer and integer In file included from /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend.h:271, from /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/main/php.h:34, from /Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx. c:26: /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_ts_hash.h: At top level: /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_ts_hash.h:40: error: expected declaration specifiers or '...' before 'hash_func_t' /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_ts_hash.h:41: error: expected declaration specifiers or '...' before 'hash_func_t' /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_ts_hash.h:87: error: 'zend_ts_get_hash_value' declared as function returning a function /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_ts_hash.h:111: error: 'zend_ts_hash_func' declared as function returning a function In file included from /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend.h:410, from /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/main/php.h:34, from /Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx. c:26: /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_iterators.h:57: error: field 'index' declared as a function In file included from /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_modules.h:26, from /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_API.h:26, from /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/main/php.h:38, from /Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx. c:26: /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_compile.h:86: error: field 'extended_value' declared as a function /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_compile.h:166: error: field 'h' declared as a function /Applications/XAMPP/xamppfiles/include/php/php- 5.3.1/php/Zend/zend_compile.h:188: error: field 'hash_value' declared as a function /Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx. c: In function 'zim_SphinxClient_setIndexWeights': /Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx. c:469: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type /Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx. c: In function 'zim_SphinxClient_setFieldWeights': /Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx. c:816: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type /Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx. c: In function 'zim_SphinxClient_updateAttributes': /Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx. c:1040: warning: passing argument 2 of '__builtin___memset_chk' makes integer from pointer without a cast /Applications/XAMPP/xamppfiles/temp/pear/temp/sphinx/sphinx. c:1040: warning: passing argument 2 of '__inline_memset_chk' makes integer from pointer without a cast make: *** [sphinx.lo] Error 1 ERROR: `make' failed