[Xapian-discuss] Problems with xapian php bindings in osx

Frank Claycomb fclaycomb at mntntp.com
Tue Nov 27 20:36:32 GMT 2007


Olly,

This time I ran it just for php and it worked just fine.  Ran the  
make-check and it worked.  Now I just need to find some documentation  
for using this with php on a webserver.  Do you have any  
recommendations?

-Frank

On Nov 27, 2007, at 3:31 PM, Olly Betts wrote:

> On Tue, Nov 27, 2007 at 02:44:14PM -0500, Frank Claycomb wrote:
>> Thanks for the speedy reply.  I was in fact trying to run
>> smoketest.php from the webbrowser.
>
> Ah, OK.  It's not intended to work like that.
>
>> at any rate, I have now pointed
>> at my php-config file and when compiling I get this error when
>> running make in the bindings.
>>
>> Making all in examples
>> make[5]: Nothing to be done for `all'.
>> make[4]: Nothing to be done for `all-am'.
>> Making all in .
>> mkdir built
>> mkdir: built: File exists
>> make[3]: [built/xapian_jni.jar] Error 1 (ignored)
>> /usr/bin/jar -cf built/xapian_jni.jar org/xapian/*.class org/xapian/
>> errors/*.class
>
> That's building the java bindings, and isn't really an error (as make
> says, it's "ignored").  It just means the "built" subdirectory already
> exists.
>
> If there's actually a problem here, you didn't show us the right part
> of make's output.
>
> Does "make check" work?
>
> Incidentally, if you're only interested in the PHP bindings, you can
> configure with "--with-php".  If you don't specify any languages,
> configure will try to build for all languages it finds suitable tools
> for.
>
> Cheers,
>     Olly
>




Frank Claycomb
Software Developer
MountainTop Technologies
814-536-7676




More information about the Xapian-discuss mailing list