I'll try to see if I can get PHPMapScript to compile with cmake, since I am "code-sprinting", and file a ticket. I believe I am stuck on this because I am on Windows (see the many hardcoded unix paths in FindPHP.cmake). I'll do my best to see if I can stop having to use custom makes.

If anyone else can help please let me know.

-jeff



On 2016-08-26 5:48 AM, Argyris Margaritis wrote:
Hi everyone,

I'm trying to follow the installation steps for the PHP version of
MapScript, however I'm a bit confused as many of the guides date back to
php3.

Currently I was using the following docker image for my tests, which was
working fine as it is:

https://github.com/kartoza/docker-mapserver
<https://github.com/kartoza/docker-mapserver>

However, to enable PHP MapScript I think I've had to add the
following to thesetup.sh
<https://github.com/kartoza/docker-mapserver/blob/master/setup.sh> as a
cmake option:

    -DWITH_PHP=1


This resulted in the following error during build:

    CMake Error at mapscript/php/CMakeLists.txt:31 (install):
      install TARGETS given no LIBRARY DESTINATION for module target
      "php_mapscript".


How should I pass the PHP5_EXTENSION_DIR to cmake?

Thanks in advance,
Argyris



--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to