[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MapServer PHP mapscript packaging issue



On 2020-06-25 11:42 a.m., Sebastiaan Couwenberg wrote:
On 6/25/20 4:17 PM, Jeff McKenna wrote:
Just pointing here to a report of a missing required file for PHP
mapscript:
https://bugs.launchpad.net/ubuntu/+source/mapserver/+bug/1884854 ; I
can't find a result for that filename 'mapscript.php' in the
php-mapscript-ng package
https://packages.debian.org/unstable/php-mapscript-ng

The file is not installed as part of the build process, this installs
the results of `make install`.

There is no mapscript.php in the source tree, nor is there any reference
in any of the CMakeLists.txt files.

`make install` only installs these files:

  -- Installing: <BUILDPATH>/usr/lib/php/20190902/php_mapscript.so

  -- Installing: <BUILDPATH>/usr/lib/php/20190902/php_mapscriptng.so

And these are included in their respective packages.


SWIG generates this file, so it will not be listed in CMakeLists.txt

For example, now for the last 2 years I've had to manually include the generated file 'mapscript.php' for Windows users, since MS4W switched to using PHPNG mapscript (SWIG).

I sent this message here, and updated that ticket report, to try to explain that this file must be added into the next php-mapscript-ng package.

(if I am understanding your response)

-jeff




--
Jeff McKenna
MapServer Consulting and Training Services
co-founder of FOSS4G
http://gatewaygeo.com/


Reply to: