[Xapian-tickets] [Xapian] #691: drupal xapian-binding for php gives problems

Xapian nobody at xapian.org
Mon Nov 16 01:23:23 GMT 2015


#691: drupal xapian-binding for php gives problems
-----------------------------------+-------------------------------
 Reporter:  ictzara                |             Owner:  olly
     Type:  defect                 |            Status:  closed
 Priority:  normal                 |         Milestone:
Component:  Xapian-bindings (PHP)  |           Version:  1.2.21
 Severity:  normal                 |        Resolution:  incomplete
 Keywords:  bindings php drupal    |        Blocked By:
 Blocking:                         |  Operating System:  Linux
-----------------------------------+-------------------------------
Changes (by olly):

 * status:  new => closed
 * resolution:   => incomplete


Old description:

> Hi,
>
> I have problem with xapian-bindings (for php) version 1.2.21 on CentOS 7
> linux.
>
> I have isntalled from source:
> xapian-core-1.2.21 (no problems occured during configure/make/make
> install)[[BR]]
>
> xapian-omega-1.2.21  (no problems occured during configure/make/make
> install)[[BR]]
>
> xapian-bindings (for php) 'problem oiccured during make and while
> execution.
>
> The index creation on drupal crashed with this errormessang in
> /var/log/httpd/error_log:
>
> PHP Fatal error:  No matching function for overloaded
>  'QueryParser_parse_query' in /usr/local/share/php5/xapian.php on line
> 2930, referer: http://13.41.46.181/dms/?q=admin/config/search/search_api
>

> During the make instruction I got an error in php5/xapian_wrap.cc :
>
> php5/xapian_wrap.cc: In member function ‘virtual std::string
> SwigDirector_KeyMaker::operator()(const Xapian::Document&) const’:
> php5/xapian_wrap.cc:2713:1: warning: control reaches end of non-void
> function [-Wreturn-type]
>  }
>

> And also as shown in the attachement.
>

> Kind Regards,
>
> Harry Cornelis

New description:

 Hi,

 I have problem with xapian-bindings (for php) version 1.2.21 on CentOS 7
 linux.

 I have isntalled from source:
 xapian-core-1.2.21 (no problems occured during configure/make/make
 install)[[BR]]

 xapian-omega-1.2.21  (no problems occured during configure/make/make
 install)[[BR]]

 xapian-bindings (for php) 'problem oiccured during make and while
 execution.

 The index creation on drupal crashed with this errormessang in
 /var/log/httpd/error_log:

 {{{
 PHP Fatal error:  No matching function for overloaded
  'QueryParser_parse_query' in /usr/local/share/php5/xapian.php on line
 2930, referer: http://13.41.46.181/dms/?q=admin/config/search/search_api
 }}}

 During the make instruction I got an error in php5/xapian_wrap.cc :

 {{{
 php5/xapian_wrap.cc: In member function ‘virtual std::string
 SwigDirector_KeyMaker::operator()(const Xapian::Document&) const’:
 php5/xapian_wrap.cc:2713:1: warning: control reaches end of non-void
 function [-Wreturn-type]
  }
 }}}

 And also as shown in the attachement.


 Kind Regards,

 Harry Cornelis

--

Comment:

 No follow-up for 3 weeks, so closing as "incomplete".

 If this is an issue in Xapian, we need more information to be able to
 address it - add a comment explaining what parameters are being passed to
 this method which ought to work but don't, and we can reopen.

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



More information about the Xapian-tickets mailing list