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

Olly Betts olly at survex.com
Tue Nov 27 20:31:09 GMT 2007


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



More information about the Xapian-discuss mailing list