Author: Per Kummervold
Email: [EMAIL PROTECTED]
Message:
thanks again gluke!
You are right, I did not recompile php after upgrading mnogosearch.

Still got some errors though, and was not able to recompile apache and php. (I also 
did recompile mnogosearch, and deleted the old installation)

I get following errors: First this:
Making install in mnogosearch
make[2]: Entering directory `/usr/local/src/php-4.1.0/ext/mnogosearch'
make[3]: Entering directory `/usr/local/src/php-4.1.0/ext/mnogosearch'
gcc -I. -I/usr/local/src/php-4.1.0/ext/mnogosearch -I/usr/local/src/php-4.1.0/main 
-I/usr/local/src/php-4.1.0 -I/usr/local/src/apache_1.3.22/src/include 
-I/usr/local/src/apache_1.3.22/src/os/unix -I/usr/local/src/php-4.1.0/Zend 
-I/usr/local/mnogosearch/include -I/usr/include/mysql 
-I/usr/local/src/php-4.1.0/ext/xml/expat  -I/usr/local/src/php-4.1.0/TSRM -g -O2  -c 
php_mnogo.c && touch php_mnogo.lo
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 `weight_factor'
php_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
make[3]: Leaving directory `/usr/local/src/php-4.1.0/ext/mnogosearch'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.1.0/ext/mnogosearch'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.1.0/ext'
make: *** [install-recursive] Error 1

Later, the compilation exits like this:
<=== src/modules/php4
<=== src/modules
gcc -c  -I./os/unix -I./include   -DLINUX=22 -I/usr/local/src/php-4.1.0 
-I/usr/local/src/php-4.1.0/main -I/usr/local/src/php-4.1.0/main 
-I/usr/local/src/php-4.1.0/Zend -I/usr/local/src/php-4.1.0/Zend 
-I/usr/local/src/php-4.1.0/TSRM -I/usr/local/src/php-4.1.0/TSRM 
-I/usr/local/src/php-4.1.0 -DNO_DL_NEEDED `./apaci` modules.c
gcc -c  -I./os/unix -I./include   -DLINUX=22 -I/usr/local/src/php-4.1.0 
-I/usr/local/src/php-4.1.0/main -I/usr/local/src/php-4.1.0/main 
-I/usr/local/src/php-4.1.0/Zend -I/usr/local/src/php-4.1.0/Zend 
-I/usr/local/src/php-4.1.0/TSRM -I/usr/local/src/php-4.1.0/TSRM 
-I/usr/local/src/php-4.1.0 -DNO_DL_NEEDED `./apaci` buildmark.c
gcc  -DLINUX=22 -I/usr/local/src/php-4.1.0 -I/usr/local/src/php-4.1.0/main 
-I/usr/local/src/php-4.1.0/main -I/usr/local/src/php-4.1.0/Zend 
-I/usr/local/src/php-4.1.0/Zend -I/usr/local/src/php-4.1.0/TSRM 
-I/usr/local/src/php-4.1.0/TSRM -I/usr/local/src/php-4.1.0 -DNO_DL_NEEDED `./apaci`    
\
      -o httpd buildmark.o modules.o modules/standard/libstandard.a 
modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a    
-Wl,-rpath,/usr/lib/mysql -Wl,-rpath,/usr/local/mnogosearch/lib  -rdynamic 
-L/usr/lib/mysql -L/usr/local/mnogosearch/lib -Lmodules/php4 -L../modules/php4 
-L../../modules/php4 -lmodphp4  -lpam  -ldl -lmysqlclient -ludmsearch -lmysqlclient 
-lm -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt   -lm -lcrypt -lexpat
modules/php4/libphp4.a(php_mnogo.o): In function `zif_udm_alloc_agent':
/usr/local/src/php-4.1.0/ext/mnogosearch/php_mnogo.c:349: undefined reference to 
`UdmEnvSetDBAddr'
/usr/local/src/php-4.1.0/ext/mnogosearch/php_mnogo.c:373: undefined reference to 
`UdmEnvSetDBAddr'
modules/php4/libphp4.a(php_mnogo.o): In function `zif_udm_set_agent_param':
/usr/local/src/php-4.1.0/ext/mnogosearch/php_mnogo.c:555: undefined reference to 
`UdmGetCharset'
modules/php4/libphp4.a(php_mnogo.o): In function `zif_udm_load_ispell_data':
/usr/local/src/php-4.1.0/ext/mnogosearch/php_mnogo.c:665: undefined reference to 
`UdmDBImportAffixes'
/usr/local/src/php-4.1.0/ext/mnogosearch/php_mnogo.c:665: undefined reference to 
`UdmImportDictionaryFromDB'
modules/php4/libphp4.a(php_mnogo.o): In function `zif_udm_find':
/usr/local/src/php-4.1.0/ext/mnogosearch/php_mnogo.c:879: undefined reference to 
`UdmTolower'
collect2: ld returned 1 exit status
make[3]: *** [target_static] Error 1
make[3]: Leaving directory `/usr/local/src/apache_1.3.22/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/usr/local/src/apache_1.3.22'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/local/src/apache_1.3.22'
make: *** [install-all] Error 2


I have compiled mnogosearch with the default settings, using the installation script.

>From my apache/php installation script:
cd ../php-4.1.0
rm -f ./config.cache
./configure --with-apache=../apache_1.3.22 --enable-track-vars \
--with-mysql=/usr --prefix=/usr/local/apache/ \
--with-gd \
--enable-sockets \
--with-mnogosearch

Should show versions and configuration options (mnogosearch directory is the default 
/usr/local/mnogosearch)





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

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

Reply via email to