[Xapian-tickets] [Xapian] #722: xapian-bindings-php configure error install centos7

Xapian nobody at xapian.org
Fri May 13 18:43:19 BST 2016


#722: xapian-bindings-php configure error install centos7
-----------------------------------+---------------------------
 Reporter:  giulianomandotti       |             Owner:
     Type:  task                   |            Status:  new
 Priority:  high                   |         Milestone:  1.2.x
Component:  Xapian-bindings (PHP)  |           Version:  1.2.23
 Severity:  normal                 |        Resolution:
 Keywords:                         |        Blocked By:
 Blocking:                         |  Operating System:  All
-----------------------------------+---------------------------

Comment (by james):

 Generally, environment variables should be set at the end of the configure
 line not at the start (this is noted at the start of `./configure --help`,
 although all the variables are documented at the end). Additionally, as I
 pointed out earlier, `PHP_CONFIG` should point to `php-config` and not
 `php`, a directory containing `php` or (most bafflingly, of the things
 you've tried) `/etc`. It's also worth pointing out that
 `PHP_MAJOR_VERSION` isn't a variable controlling the configure script
 (it's figured out by configure, and used by the rest of the build system).

 Please try the following:

 {{{
 $ ./configure --with-php PHP_CONFIG=/opt/plesk/php/5.6/bin/php-config
 }}}

 That should work fine (`/usr/local` should be in your `PATH`, so it can
 find `xapian-config` automatically; if that doesn't work, then you can
 tack `XAPIAN_CONFIG=/usr/local/bin/xapian-config` on the end of the
 configure line).

 That's assuming you want to use the 5.6 installed version. It sounds like
 you have 5.4 installed on the system already, in which case `./configure
 --with-php` should work for you without any difficulties.

--
Ticket URL: <https://trac.xapian.org/ticket/722#comment:7>
Xapian <//xapian.org/>
Xapian



More information about the Xapian-tickets mailing list