<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hi Richard,<br></div><div><br></div><div>If you had previous errors it may be best to delete the whole /rwg/src/mapserver/build/ and start the build from scratch again. <br></div><div><br></div><div>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:<br></div><div><br></div><div>sudo wget <a href="http://prdownloads.sourceforge.net/swig/swig-3.0.12.tar.gz">http://prdownloads.sourceforge.net/swig/swig-3.0.12.tar.gz</a><br></div><div>tar xf swig-3.0.12.tar.gz<br></div><div>cd swig-3.0.12 && ./configure --prefix=/usr && make && sudo make install<br></div><div>swig -version<br></div><div><br></div><div>I've run into further errors but mapscriptPHP7_wrap.c is created at least. <br></div><div><br></div><div>Seth<br></div><div><br></div><div id="sig62266145"><div class="signature">--<br></div><div class="signature">web:http://geographika.co.uk<br></div><div class="signature">twitter: @geographika<br></div></div><div><br></div><div><br></div><div>On Wed, Apr 3, 2019, at 4:11 AM, Richard Greenwood wrote:<br></div><blockquote type="cite" id="fastmail-quoted"><div dir="ltr"><div dir="ltr"><div>I get the following error:<br></div><div><br></div><div><div> Building C object mapscript/phpng/CMakeFiles/php_mapscriptng.dir/mapscriptPHP7_wrap.c.o<br></div><div>cc: error: /rwg/src/mapserver/build/mapscript/phpng/mapscriptPHP7_wrap.c: No such file or directory<br></div><div>cc: fatal error: no input files<br></div><div><br></div><div>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 <a href="https://github.com/mapserver/mapserver/releases/tag/rel-7-4-0-beta1">https://github.com/mapserver/mapserver/releases/tag/rel-7-4-0-beta1</a><br></div><div>as well as git cloning.<br></div><div><br></div><div>I'm not well versed with this stuff so apologizes in advanced if I'm missing the obvious.<br></div><div><br></div><div>Rich<br></div><div><br></div><div>-- <br></div><div class="fastmail-quoted-gmail_signature" dir="ltr"><div dir="ltr"><div>Richard W. Greenwood, PLS<br></div><div><a href="http://www.greenwoodmap.com">www.greenwoodmap.com</a><br></div></div></div></div></div></div><div>_______________________________________________<br></div><div>mapserver-users mailing list<br></div><div>mapserver-users@lists.osgeo.org<br></div><div>https://lists.osgeo.org/mailman/listinfo/mapserver-users<br></div></blockquote><div><br></div></body></html>