|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-06-05 09:29 UTC] gluke@php.net
[2003-06-05 09:36 UTC] gluke@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 17:00:01 2025 UTC |
I am trying to compile with the mngoSearch development release with GLIBC 2.3.2-6, and mySQL 3.23.55 Configure commmand completes with success: ./configure --with-apxs \ --with-mysql \ --with-informix=$INFORMIXDIR \ --enable-libgcc \ --with-gd \ --with-zlib-dir=/usr/local/zlib \ --with-ldap \ --with-mnogosearch Make fails: bedrock:/usr/local/php-4.3.2 # make /bin/sh /usr/local/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/mnogosearch/ -I/usr/local/php-4.3.2/ext/mnogosearch/ -DPHP_ATOM_INC -I/usr/local/php-4.3.2/include -I/usr/local/php-4.3.2/main -I/usr/local/php-4.3.2 -I/usr/local/php-4.3.2/Zend -I/usr/local/mnogosearch/include -I/usr/local/php-4.3.2/ext/xml/expat -I/usr/local/php-4.3.2/TSRM -g -O2 -prefer-pic -c /usr/local/php-4.3.2/ext/mnogosearch/php_mnogo.c -o ext/mnogosearch/php_mnogo.lo In file included from /usr/local/mnogosearch/include/udm_cache.h:22, from /usr/local/mnogosearch/include/udmsearch.h:26, from /usr/local/php-4.3.2/ext/mnogosearch/php_mnogo.h:33, from /usr/local/php-4.3.2/ext/mnogosearch/php_mnogo.c:30: /usr/local/mnogosearch/include/udm_db_int.h:68:19: mysql.h: No such file or directory In file included from /usr/local/mnogosearch/include/udm_cache.h:22, from /usr/local/mnogosearch/include/udmsearch.h:26, from /usr/local/php-4.3.2/ext/mnogosearch/php_mnogo.h:33, from /usr/local/php-4.3.2/ext/mnogosearch/php_mnogo.c:30: /usr/local/mnogosearch/include/udm_db_int.h:258: error: parse error before "MYSQL" /usr/local/mnogosearch/include/udm_db_int.h:258: warning: no semicolon at end of struct or union /usr/local/mnogosearch/include/udm_db_int.h:310: warning: data definition has no type or storage class /usr/local/mnogosearch/include/udm_db_int.h:314: error: parse error before "UDM_DB" /usr/local/mnogosearch/include/udm_db_int.h:315: error: parse error before "UDM_DB" /usr/local/mnogosearch/include/udm_db_int.h:316: error: parse error before "UDM_DB" /usr/local/mnogosearch/include/udm_db_int.h:317: error: parse error before "UDM_DB" /usr/local/mnogosearch/include/udm_db_int.h:318: error: parse error before "UDM_DB" /usr/local/mnogosearch/include/udm_db_int.h:319: error: parse error before "UDM_DB" /usr/local/mnogosearch/include/udm_db_int.h:322: error: parse error before "UDM_DB" /usr/local/mnogosearch/include/udm_db_int.h:323: error: parse error before "UDM_DB" /usr/local/mnogosearch/include/udm_db_int.h:324: error: parse error before '*' token /usr/local/mnogosearch/include/udm_db_int.h:339: error: parse error before '*' token /usr/local/mnogosearch/include/udm_db_int.h:340: error: parse error before '*' token /usr/local/mnogosearch/include/udm_db_int.h:341: error: parse error before '*' token /usr/local/mnogosearch/include/udm_db_int.h:342: error: parse error before '*' token /usr/local/mnogosearch/include/udm_db_int.h:353: error: parse error before "UDM_DB" /usr/local/mnogosearch/include/udm_db_int.h:355: error: parse error before "UDM_DB" In file included from /usr/local/mnogosearch/include/udmsearch.h:26, from /usr/local/php-4.3.2/ext/mnogosearch/php_mnogo.h:33, from /usr/local/php-4.3.2/ext/mnogosearch/php_mnogo.c:30: /usr/local/mnogosearch/include/udm_cache.h:28: error: parse error before "UDM_DB" /usr/local/mnogosearch/include/udm_cache.h:29: error: parse error before "UDM_DB" /usr/local/php-4.3.2/ext/mnogosearch/php_mnogo.c: In function `zif_udm_alloc_agent': /usr/local/php-4.3.2/ext/mnogosearch/php_mnogo.c:469: error: structure has no member named `errcode' /usr/local/php-4.3.2/ext/mnogosearch/php_mnogo.c:520: error: structure has no member named `errcode' /usr/local/php-4.3.2/ext/mnogosearch/php_mnogo.c: In function `zif_udm_set_agent_param': /usr/local/php-4.3.2/ext/mnogosearch/php_mnogo.c:1002: error: structure has no member named `vardir' /usr/local/php-4.3.2/ext/mnogosearch/php_mnogo.c:1002: error: structure has no member named `vardir' make: *** [ext/mnogosearch/php_mnogo.lo] Error 1 Obviously this may be something to do with the version of mnoGoSearch - there does appear to be quite a few (useful) changes.