[mapserver-users] mapserver 7.4 beta phpng build error

Richard Greenwood richard.greenwood at gmail.com
Wed Apr 3 15:06:14 PDT 2019


On Wed, Apr 3, 2019 at 10:39 AM Seth G <sethg at geographika.co.uk> 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 this set up on Travis and can do so with the following command:
>
> sudo wget http://prdownloads.sourceforge.net/swig/swig-3.0.12.tar.gz
> tar xf swig-3.0.12.tar.gz
> cd swig-3.0.12 && ./configure --prefix=/usr && make && sudo make install
> swig -version
>

Not sure I'm following you. Do I need to have swig installed? I don't.


> I've run into further errors but mapscriptPHP7_wrap.c is created at least.
>

Again, not sure I'm following you. Is mapscriptPHP7_wrap.c supposed to be
in the source files that I download or git clone, or is it created in the
build process?


>
> Seth
>
> --
> web:http://geographika.co.uk
> twitter: @geographika
>
>
> On Wed, Apr 3, 2019, at 4:11 AM, Richard Greenwood wrote:
>
> I get the following error:
>
>  Building C object
> mapscript/phpng/CMakeFiles/php_mapscriptng.dir/mapscriptPHP7_wrap.c.o
> cc: error: /rwg/src/mapserver/build/mapscript/phpng/mapscriptPHP7_wrap.c:
> No such file or directory
> cc: fatal error: no input files
>
> If i'm reading the error message correctly it's not finding
> "mapscriptPHP7_wrap.c". I don't have "mapscriptPHP7_wrap.c". I tried the
> file at
> https://github.com/mapserver/mapserver/releases/tag/rel-7-4-0-beta1
> as well as git cloning.
>
> I'm not well versed with this stuff so apologizes in advanced if I'm
> missing the obvious.
>
> Rich
>
> --
> Richard W. Greenwood, PLS
> www.greenwoodmap.com
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>

-- 
Richard W. Greenwood, PLS
www.greenwoodmap.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20190403/2405f5d1/attachment.html>


More information about the mapserver-users mailing list