[Xapian-tickets] [Xapian] #613: Failed test smoketest.php

Xapian nobody at xapian.org
Fri Mar 8 00:02:36 GMT 2013


#613: Failed test smoketest.php
-----------------------------------+----------------------------------------
 Reporter:  dmichelsen             |       Owner:         
     Type:  defect                 |      Status:  new    
 Priority:  normal                 |   Milestone:         
Component:  Xapian-bindings (PHP)  |     Version:  1.2.13 
 Severity:  normal                 |    Keywords:         
Blockedby:                         |    Platform:  Solaris
 Blocking:                         |  
-----------------------------------+----------------------------------------

Comment(by olly):

 Aside: If you're building binary packages to distribute, you probably
 don't want to build the PHP bindings, as built binaries probably aren't
 currently legally distributable due to GPL/PHP licence incompatibility.
 Source packages or build scripts (like BSD ports or Gentoo ebuilds) are
 probably OK.

 It looks to me like this toolchain isn't coping with a C program (i.e.
 PHP's php5 command line interpreter) dynamically loading a C++ plugin
 (i.e. the Xapian PHP bindings xapian.so), though if the other bindings
 work, it clearly isn't quite as simple as that.

 I would suggest you try installing the bindings (make install), and then
 run the smoketest using the installed bindings - this will probably work:

 {{{
 php5 -d safe_mode=off -d enable_dl=on smoketest.php
 }}}

 If that doesn't work/help, you could try telling PHP to load the module at
 startup by adding this line to the {{{[PHP]}}} section of the appropriate
 php.ini:

 {{{
 extension=xapian.so
 }}}

 And then just use:

 {{{
 php5 smoketest.php
 }}}

-- 
Ticket URL: <http://trac.xapian.org/ticket/613#comment:3>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list