[mapserver-dev] error in php_mapscript_util.c

Ivo Karabojkov karabojkov at kit-bg.com
Tue Jul 3 23:10:24 PDT 2012


I found that for FreeBSD the necessary PREFIX is /usr/local.
For successful configure on my FreeBSD 9.0 Rel I have to use:

./configure --with-png=/usr/local/ --with-gif=/usr/local/
--with-jpeg=/usr/local/ --with-php=/usr/local/bin/php-config

and then:

make

But I still can't compile php-mapscript which I need so much:
...
cd mapscript/php; make;
make: don't know how to make php_mapscript_util.lo. Stop
*** Error code 2

Stop in /usr/home/ivo/mapsrv/mapserver-mapserver-bd4cf18.

I downloaded the latest git-master
(mapserver-mapserver-rel-6-2-0-beta1-24-gbd4cf18)

Thanks in advance for any help!



Ivo Karabojkov wrote
> 
> Following your advice I downloaded git-master from 
> https://github.com/mapserver/mapserver
> https://github.com/mapserver/mapserver 
> I used ZIP and extracted it to my server. The file I downloaded is:
> mapserver-mapserver-6.0.3-1060-g0d6092e.zip
> ...
> configure: error: png.h header not found. install png development package,
> or reconfigure with --with-png=/path/to/png/prefix
> 


--
View this message in context: http://osgeo-org.1560.n6.nabble.com/error-in-php-mapscript-util-c-tp4654681p4985859.html
Sent from the Mapserver - Dev mailing list archive at Nabble.com.


More information about the mapserver-dev mailing list