Hi Rich,
A small update: SWIG 4.0 was released yesterday.
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
https://gatewaygeomatics.com/
On 2019-04-25 11:13 PM, Richard Greenwood wrote:
I finally got PHPNG to build. As Jeff suggested, I built and installed
SWIG 4.0 beta b
I finally got PHPNG to build. As Jeff suggested, I built and installed SWIG
4.0 beta but that didn't help. I compared my configure flags against Seth's
at
https://github.com/mapserver/mapserver/wiki/PHPNG-SWIG-MapScript-Linux-Build
and it appears -DWITH_PYTHON=ON is what I was missing. Does that ma
Hi,
I made a few minor changes to the PHP CMakeLists.txt in
https://github.com/mapserver/mapserver/pull/5797
I've also added a wiki page detailing a full build process at
https://github.com/mapserver/mapserver/wiki/PHPNG-SWIG-MapScript-Linux-Build
This relies on updating the mapscript/phpng/CMak
On 2019-04-25 10:15 AM, Jeff McKenna wrote:
Hi Rich,
For Windows builds for MS4W I've been compiling SWIG master from source
to handle PHP mapscript with PHP7. On unix you can use the recent SWIG
4.0-beta1 release:
https://github.com/swig/swig/archive/rel-4.0.0-beta1.tar.gz To be
honest I'
Hi Rich,
For Windows builds for MS4W I've been compiling SWIG master from source
to handle PHP mapscript with PHP7. On unix you can use the recent SWIG
4.0-beta1 release:
https://github.com/swig/swig/archive/rel-4.0.0-beta1.tar.gz To be
honest I'll likely stick with master, as I've now had
Yes I do:
php7.2-dev/bionic,now 7.2.17-1+ubuntu18.04.1+deb.sury.org+3 amd64 [
installed]
The non-SWIG version builds and runs fine.
And I have SWIG Version 3.0.12 installed.
Thanks,
Rich
On Sun, Apr 21, 2019 at 8:36 AM Stephen Woodbridge <
stephenwoodbridg...@gmail.com> wrote:
> Rich,
>
> D
Rich,
Do you have the php-dev package installed?
-Steve W
On 4/21/2019 9:17 AM, Richard Greenwood wrote:
Seth,
I don't think this helps your issue with Travis, but just for the
record, I still can't get PHPNG to build on Ubuntu 18.04. The legacy
PHP builds fine. I've tried building PHPNG on
Seth,
I don't think this helps your issue with Travis, but just for the record, I
still can't get PHPNG to build on Ubuntu 18.04. The legacy PHP builds fine.
I've tried building PHPNG on two Ubuntu 18.04 machines with slightly
different PHP configurations (one has PHP 7.2 from the Ubuntu repo, the
Hi Richard / all,
The new PHP SWIG bindings seem to be fine to compile locally, and as they are
part of ms4w, and I believe the Debian builds are working well.
I've not been able to get them to build on Travis, not has AlexanderGabriel who
set these up originally - see https://github.com/mapser
mapscriptPHP7_wrap.c is created by SWIG so won't exist unless SWIG runs
successfully.
I'm trying to get it setup on Travis so you can see a full build output, but
was getting errors.
You can have a look at
https://travis-ci.org/geographika/mapserver/jobs/515238229 -
https://api.travis-ci.org
Seth,
I understand that there are two php versions and the native one builds fine
for me. But the swig one (phpng) does not. I installed swig 3.0.12. My
build fails with error:
/rwg/src/mapserver-branch-7-4/build/mapscript/phpng/mapscriptPHP7_wrap.c:
No such file or directory
I can't find the fi
There are now 2 PHP MapScripts. See
https://mapserver.org/development/rfc/ms-rfc-117.html for details.
The "native" one has been updated to work with PHP7 in the MapServer 7.4
release, and also a new SWIG based PHP MapScript is now available. The first
does not require SWIG, the latter does.
On Wed, Apr 3, 2019 at 10:39 AM Seth G wrote:
> Hi Richard,
>
> If you had previous errors it may be best to delete the whole
> /rwg/src/mapserver/build/ and start the build from scratch again.
>
I did do that.
Also to note is PHP 7 support was only added in SWIG-3.0.11. I'm trying to
> get thi
Hi Richard,
If you had previous errors it may be best to delete the whole
/rwg/src/mapserver/build/ and start the build from scratch again.
Also to note is PHP 7 support was only added in SWIG-3.0.11. I'm trying to get
this set up on Travis and can do so with the following command:
sudo wget
Nice - that fixed it, thanks!
Now got an unrelated error, will follow up in separate email if I don't
figure it out myself.
Best regards,
Rich
On Tue, Apr 2, 2019 at 9:50 AM Seth G wrote:
> Hi Richard,
>
> There was a pull request against the beta release that could well be
> related: https://g
Hi Richard,
There was a pull request against the beta release that could well be related:
https://github.com/mapserver/mapserver/pull/5776
Could you try adding the change to see if it works?
Seth
--
web:http://geographika.co.uk
twitter: @geographika
On Tue, Apr 2, 2019, at 4:03 PM, Richard Gr
16 matches
Mail list logo