Re: Mnogosearch extension - not working with php 4.4.2

From: Date: Sat, 22 Apr 2006 08:09:09 +0000
Subject: Re: Mnogosearch extension - not working with php 4.4.2
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-3718@lists.php.net to get a copy of this message
Yannick Warnier wrote: >-- I just sent this e-mail to the php-general list and realised that I >would probably get much more knowledgeable people here as it has to do >with extensions anyway, so sorry for the double post to those subscribed >to both lists -- > > >Hello guys, > >I'm hesitating on how to formulate this. I'm a newbie when it comes to >PHP extensions/modules development, but I have a problem which forces me >to go into source code for the mnogosearch extension (mnogosearch is an >open-source search engine). > >The extension (version 1.96) has not been worked on since January 2005 >and is unlikely to get any attention in the coming months from its >authors, but upgrading PHP from 3.3.10 to 4.4.2 has broken it, and I am >trying to figure out why. > >I have had a look at the PHP 4 changelog >(http://www.php.net/ChangeLog-4.php) to see if I could spot anything >obvious, but as I said I'm a newbie and don't exactly know what to look >for. From the type of errors (very unclear and undetailed) that I get, >my first guess would be that one function declaration in php_mnogo.c or >php_mnogo.h would not be recognized anymore (because it used a funny >declaration?). > >The php_mnogo.c and php_mnogo.h are located in this file: >http://www.mnogosearch.org/Download/php/mnogosearch-php-extension-1.96.tar.gz > >(site is down at the moment but should be back up soon I guess) > >Could someone give me some advice on what to look for? (or have a look >at these C files and tell me what's wrong - but I wouldn't dare asking) >The files look very simple (just a few declarations, around 3000 >lines :-) in all - including a lot of empty lines). > >Anyway, I would be glad for any kind of help you could provide me with >around this. > >I suppose it would be easier if I could bring the difference to only one >PHP version (like "between 3.4.1 and 3.4.0) but I am afraid I don't have >enough machines to screw up changing PHP versions all the time to try >it. > >Also, if my guess is right that it would be a declaration not working >anymore, I guess code changes related to extensions would have all been >done in 4.0.0... The mnogosearch extension (1.96) is working for me on both Linux and MacOSX with PHP 5.0 and 5.1 and Mnogosearch 3.2. The way I compile it is by moving it to the ext/ directory, remove the php configure file and run a buildconf --force from scratch. Installing it from PECL didn't work for me but I didn't insist. If you are looking for another nice search engine, I would recommend Hyperestraier in its P2P version. You can access it through http by using the Services_Hyperestraier package which is not yet in PEAR but can be found on the web. I use it, it's good. Or if you are desesperate, you can try Zend Lucene port in PHP :) HTH -- Bertrand Mansion Mamasam Tel : +33 1 48 89 88 26 http://www.mamasam.com Creative Internet Solutions

« previous php.pecl.dev (#3718) next »