Author: Brian DeFeyter
Email: [EMAIL PROTECTED]
Message:
There might likely be something wrong in my setup, since I couldn't find any similar 
posts.. but I'll ask.

Trying to get mnogosearch-3.2.3 to compile with php. First tried php-4.0.6, then 
php-4.1.0 Here's my error:

php_mnogo.c: In function `zm_startup_mnogosearch':
php_mnogo.c:261: `UDM_CACHE_ENABLED' undeclared (first use in this function)
php_mnogo.c:261: (Each undeclared identifier is reported only once
php_mnogo.c:261: for each function it appears in.)
php_mnogo.c:262: `UDM_CACHE_DISABLED' undeclared (first use in this function)
php_mnogo.c:296: `UDM_MATCH_WORD' undeclared (first use in this function)
php_mnogo.c: In function `zif_udm_set_agent_param':
php_mnogo.c:457: `UDM_MATCH_WORD' undeclared (first use in this function)
php_mnogo.c:459: warning: unreachable code at beginning of switch statement
php_mnogo.c:483: `UDM_CACHE_ENABLED' undeclared (first use in this function)
php_mnogo.c:484: structure has no member named `cache_mode'
php_mnogo.c:487: `UDM_CACHE_DISABLED' undeclared (first use in this function)
php_mnogo.c:488: structure has no member named `cache_mode'
php_mnogo.c:485: warning: unreachable code at beginning of switch statement
php_mnogo.c:492: structure has no member named `cache_mode'
php_mnogo.c:503: structure has no member named `track_mode'
php_mnogo.c:503: `UDM_TRACK_QUERIES' undeclared (first use in this function)
php_mnogo.c:507: structure has no member named `track_mode'
php_mnogo.c:521: structure has no member named `use_phrases'
php_mnogo.c:525: structure has no member named `use_phrases'
php_mnogo.c:539: structure has no member named `ispell_mode'
php_mnogo.c:543: structure has no member named `ispell_mode'
php_mnogo.c:555: warning: assignment makes pointer from integer without a cast
php_mnogo.c:556: structure has no member named `charset'
php_mnogo.c:561: structure has no member named `stop_tables'
php_mnogo.c:562: structure has no member named `stop_tables'
php_mnogo.c:575: structure has no member named `weightphp_mnogo.c: In function 
`zif_udm_load_ispell_data':
php_mnogo.c:663: structure has no member named `ispell_mode'
php_mnogo.c:665: structure has no member named `charset'
php_mnogo.c:673: structure has no member named `ispell_mode'
php_mnogo.c:676: structure has no member named `ispell_mode'
php_mnogo.c:679: too many arguments to function `UdmImportAffixes'
php_mnogo.c:687: structure has no member named `ispell_mode'
php_mnogo.c:690: structure has no member named `ispell_mode'
php_mnogo.c:693: warning: passing arg 4 of `UdmImportDictionary' makes pointer from 
integer without a cast
php_mnogo.c:693: warning: passing arg 5 of `UdmImportDictionary' makes integer from 
pointer without a cast
php_mnogo.c:693: too few arguments to function `UdmImportDictionary'
php_mnogo.c:703: structure has no member named `ispell_mode'
php_mnogo.c:704: structure has no member named `ispell_mode'
php_mnogo.c:706: structure has no member named `spellhost'
php_mnogo.c: In function `zif_udm_find':
php_mnogo.c:879: structure has no member named `charset'
php_mnogo.c:879: warning: passing arg 2 of `UdmFind' makes pointer from integer 
without a cast
php_mnogo.c: In function `zif_udm_cat_list':
php_mnogo.c:1164: `UDMSTRSIZ' undeclared (first use in this function)
php_mnogo.c: In function `zif_udm_cat_path':
php_mnogo.c:1213: `UDMSTRSIZ' undeclared (first use in this function)
make[3]: *** [php_mnogo.lo] Error 1_factor'


php was configured with:'./configure' \
'--with-mysql=/usr/local/mysql' \
'--with-msql' \
'--enable-track-vars' \
'--with-msql' \
'--enable-track-vars' \
'--with-gd' \
'--with-apache=../apache_1.3.19' \
'--with-openssl' \
'--enable-ftp' \
'--enable-gd-imgstrttf' \
'--with-ttf' \
'--with-jpeg-dir=/usr' \
'--enable-calendar' \
'--with-mnogosearch=/usr/local/mnogosearch.new' \
'--with-zlib' \
'--with-gd' \
'--with-png-dir=/usr/lib' \


mnogosearch was configured with:

 ./configure  --prefix=/usr/local/mnogosearch.new 
--bindir=/usr/local/mnogosearch.new/bin --sbindir=/usr/local/mnogosearch.new/sbin 
--sysconfdir=/usr/local/mnogosearch.new/etc 
--localstatedir=/usr/local/mnogosearch.new/var --libdir=/usr/local/
mnogosearch.new/lib --includedir=/usr/local/mnogosearch.new/include 
--mandir=/usr/local/mnogosearch.new/man --disable-shar
ed --enable-static --enable-syslog --disable-pthreads --disable-dmalloc 
--enable-parser --enable-mp3 --enable-aliasprog --
enable-exec-cgi --enable-file --enable-http --enable-ftp --enable-htdb --enable-news 
--with-mysql --with-msql --with-ctlib


If you need more info, i'll be happy to provide it.


Reply: <http://www.mnogosearch.org/board/message.php?id=3725>

___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to