Public bug reported:

Our PHP doc says you have to specify PHP5_BINARY_DIR, PHP5_INCLUDE_DIR,
and PHP5_LIBRARY manually to build Zorba with the appropriate bindings.

This should be more automated - our FindPHP5.cmake should be enhanced so
that the user needs only to set CMAKE_PREFIX_PATH to point to a common
root and all things will be found.

It looks like this might already be true for PHP5_INCLUDE_DIR, but
PHP5_BINARY_DIR is used as a PATHS for finding the php5 binary which
isn't normal. And PHP5_LIBRARY isn't set by FindPHP5.cmake at all -
swig/php/CMakeLists.txt expects it to be set, apparently by hand.

** Affects: zorba
     Importance: Low
     Assignee: Rodolfo Ochoa (rodolfo-ochoa)
         Status: New

** Changed in: zorba
   Importance: Undecided => Low

** Changed in: zorba
     Assignee: (unassigned) => Rodolfo Ochoa (rodolfo-ochoa)

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/1029783

Title:
  Improve finding PHP

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Our PHP doc says you have to specify PHP5_BINARY_DIR,
  PHP5_INCLUDE_DIR, and PHP5_LIBRARY manually to build Zorba with the
  appropriate bindings.

  This should be more automated - our FindPHP5.cmake should be enhanced
  so that the user needs only to set CMAKE_PREFIX_PATH to point to a
  common root and all things will be found.

  It looks like this might already be true for PHP5_INCLUDE_DIR, but
  PHP5_BINARY_DIR is used as a PATHS for finding the php5 binary which
  isn't normal. And PHP5_LIBRARY isn't set by FindPHP5.cmake at all -
  swig/php/CMakeLists.txt expects it to be set, apparently by hand.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1029783/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to