[Xapian-discuss] PHP bindings on a Mac

Richard Boulton richard@lemurconsulting.com
Wed, 26 May 2004 12:32:09 +0100


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.

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.

-- 
Richard