don't specify the paths for libraries/dependencies that are in default locations, i.e.
./configure --with-ogr --with-gdal --with-wfsclient --with-wmsclient --enable-debug --with-proj --with-gd --with-jpeg --with-freetype --with-threads --with-wcs --with-postgis=/usr/local/database/bin/pg_config --with-geos --with-sos On 13 March 2013 10:35, Icadedt <icad...@yahoo.fr> wrote: > > > hi, > > > im trying to build mapserver 6.2: > i type this: > > ./configure --with-ogr=/usr/bin/gdal-config > --with-gdal=/usr/bin/gdal-config --with-httpd=/usr/sbin/httpd > --with-wfsclient --with-wmsclient --enable-debug > --with-curl-config=/usr/bin/curl-config --with-proj=/usr/local --with-tiff > --with-gd=/usr/share/locale/ --with-jpeg --with-freetype=/usr/lib64/ > --with-threads --with-wcs --with-postgis=/usr/local/database/bin/pg_config > --with-libiconv=/usr --with-geos=/usr/local/geos-3.3.5/tools/geos-config > --with-xml2-config=/usr/bin/xml2-config --with-sos > > > > but i have this error about freetype: > > checking if pkg-config path is provided... checking for pkg-config... > /usr/bin/pkg-config > checking for freetype-config... no > checking for FT_Init_FreeType in -lfreetype... no > configure: error: unable to link - reconfigure with correct > --with-freetype=dir > > > > i checked freetype-2.3.11-14.el6_3.1.x86_64 is already installed > > > Thanks in advance > > > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users