[mapserver-dev] Trunk problems - Apache2 crashing creating
Smith, Michael ERDC-CRREL-NH
Michael.Smith at usace.army.mil
Wed Jan 18 06:45:25 EST 2012
This is due to the new build configuration that uses libtool. Now, you
need to do a make install which will copy the binaries to you $PREFIX/bin
directory and then you copy the mapserv file (which is now a wrapper) to
your cgi-bin dir.
US Army Corps
Remote Sensing GIS/Center
On 1/18/12 4:34 AM, "Havard Tveite" <havard.tveite at umb.no> wrote:
>I recently updated to the latest version of trunk.
>configure and make went fine, and the binary seemed to
>work (mapserv -v).
>shp2img seems to be OK.
>However, when I tried to run it through Apache I get
>an internal server error with the following in the
>Apache error log:
>mkdir: cannot create directory `/usr/lib/cgi-bin/.libs': Permission denied
>/usr/bin/ld: cannot open output file
>/usr/lib/cgi-bin/.libs/2915-lt-mapserv: No such file or directory
>collect2: ld returned 1 exit statusn
>Premature end of script headers: mapserver-trunk
>I have tested with a few map files.
>I am using Apache2 on Debian Lenny, and everything was
>OK with my build from the end of November.
>I have noticed that the --with-httpd is gone from configure.
>I have not included --with-apache-module in configure.
>I am hesitant to file a bug, as I guess I have missed
>something. Does anyone have an idea about what it can be?
>I have looked in the migration guide, but could not find
>MapServer version 6.1-dev OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
> SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=CAIRO SUPPORTS=FREETYPE
> SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
> SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
> SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=POSTGIS
> INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
>I have built using:
>./configure --prefix=/usr/local --enable-debug --with-freetype=/usr
>--with-zlib=/usr --with-png=/usr --with-libiconv=/usr/local
>--with-postgis=/usr/local/pgsql/835/bin/pg_config --with-wfs --with-wcs
>--with-wmsclient --with-wfsclient --with-php=/usr/bin/php-config
>--with-geos --with-fastcgi --with-threads --with-jpeg --with-cairo
>Department of Mathematical Sciences and Technology, UMB
>Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY
>Phone: +47 64965483 Fax: +47 64965401 http://www.umb.no/imt/
>mapserver-dev mailing list
>mapserver-dev at lists.osgeo.org
More information about the mapserver-dev