[Xapian-discuss] PHP bindings on a Mac

rm@fabula.de rm@fabula.de
Wed, 26 May 2004 13:43:40 +0200


On Wed, May 26, 2004 at 12:32:09PM +0100, Richard Boulton wrote:
> Richard Boulton wrote:
> >In this case the file isn't found in the distribution because the 
> >php4/xapian/ directory is created as part of the build process.  I 
> >believe that the phpize tool is responsible for creating the config.sub 
> >file.  It could be that you have a buggy version of this tool (or it 
> >could be that my understanding is flawed).  Firstly, I recommend 
> >checking that you've got the latest version of this installed, and check 
> >further up your output log to see if it reported any errors.
> 
> A quick follow-up to this - my version of "phpize" creates config.sub by 
> invoking "libtoolize".  It may be that your version of phpize is 
> perfectly up-to-date, but libtoolize is broken in some way.

Your follow-up is faster then my reply :-)

> You can check this by entering php4/xapian/, and running "libtoolize -f 
> -c".  This should create a config.sub.
> 
> Check that you've got libtool version 1.5 (or later) installed.

That's i workarround. libtoolize shouldn't be neccessary for the end user -
that command should be run during the package creation (-> i.e. by the
developer). 

 Ralf Mattes

> -- 
> Richard
> 
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss@lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss