Hi List,<br><br>i am trying to compile Mapserver 5.6.0 on a linux box with --with-experimental-png but the below message appears:<br><br>checking if AGG support requested... checking if RGBA palette png support requested... configure: error: cannot find png headers in /root/app/mapserver-5.6.0/yes<br>

<br>/root/app/mapserver-5.6.0 is the folder where i untar the mapserver tarball<br><br>yes -&gt; i don&#39;t know what is this :P<br><br>Where i put the location of png headers?<br><br>This is the command line:<br>./configure  --enable-point-z-m --with-freetype --with-zlib --with-png --with-jpeg --with-xpm --with-libiconv --with-gd --with-pdf --with-agg=/usr --with-experimental-png --with-eppl --with-proj --with-threads --with-geos --with-ogr --with-gdal --with-tiff --with-postgis --with-ming --with-wfs --with-wcs --with-wmsclient --with-wfsclient --with-sos --with-curl-config --with-xml2-config --with-fribidi-config --with-cairo --with-fastcgi --with-php=/usr/include/php<br>

<br><br>If i remove --with-experimental-png, i got this:<br>./configure  --enable-point-z-m --with-freetype --with-zlib --with-png
--with-jpeg --with-xpm --with-libiconv --with-gd --with-pdf --with-agg=/usr --with-eppl --with-proj
--with-threads --with-geos --with-ogr --with-gdal --with-tiff
--with-postgis --with-ming --with-wfs --with-wcs --with-wmsclient
--with-wfsclient --with-sos --with-curl-config --with-xml2-config
--with-fribidi-config --with-cairo --with-fastcgi
--with-php=/usr/include/php<br><br> -------------- Compiler Info ------------- <br>  C compiler:                gcc -O2 -fPIC -W -Wall -Wcast-align -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -Wmissing-declarations <br>

  C++ compiler:              g++ -O2 -fPIC -W -Wall -Wcast-align -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type  <br>  Debug:                     <br>  Generic NINT:              <br><br> -------------- Renderer Settings --------- <br>

  OpenGL support:            <br>  zlib support:              -DUSE_ZLIB<br>  png support:               <br>  palette rgba png support:  <br>  jpeg support:              <br>  iconv support:             -DUSE_ICONV<br>  AGG support:               -DUSE_AGG<br>

  Cairo (SVG,PDF) support:   -DUSE_CAIRO<br>  Ming(flash) support:       -DUSE_MING_FLASH<br>  PDFLib support:            -DUSE_PDF<br><br> -------------- Support Libraries --------- <br>  Proj.4 support:            -DUSE_PROJ<br>

  Libxml2 support:           -DUSE_LIBXML2<br>  FriBidi support:           -DUSE_FRIBIDI -DUSE_FRIBIDI2<br>  Curl support:              -DUSE_CURL<br>  FastCGI support:           -DUSE_FASTCGI<br>  Threading support:         -DUSE_THREAD<br>

  GEOS support:              -DUSE_GEOS -DGEOS_HAS_SIMPLIFY<br><br> -------------- Data Format Drivers ------- <br>  native tiff support:       -DUSE_TIFF<br>  PostGIS support:           -DUSE_POSTGIS<br>  EPPL7 support:             -DUSE_EPPL<br>

  ArcSDE support:            <br>  OGR support:               -DUSE_OGR<br>  GDAL support:              -DUSE_GDAL<br>  Oracle Spatial support:    <br><br> -------------- OGC Services -------------- <br>  WMS Server:                -DUSE_WMS_SVR<br>

  WMS Client:                -DUSE_WMS_LYR<br>  WFS Server:                -DUSE_WFS_SVR<br>  WFS Client:                -DUSE_WMS_LYR<br>  WCS Server:                -DUSE_WCS_SVR<br>  SOS Server:                -DUSE_SOS_SVR<br>

<br> -------------- MapScript ----------------- <br>  PHP MapScript:             yes<br><br><br>Any clue about this problem?<br><br>Best Regard&#39;s<br clear="all">Luigi Castro Cardeles<br>