Re: mapserver 7.4 beta phpng build error

"Seth G" <[email protected]>
Newsgroups gmane.comp.gis.mapserver.user
Message-ID <[email protected]>
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 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

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

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
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.