我试图在solaris机器上编译mapserver 5.4.2而且我遇到了问题。 我使用以下配置参数:
./configure --prefix=$HOME/local/apps/mapserver-5.4.2 \
--with-ogr=$HOME/local/bin/gdal-config \
--with-gdal=$HOME/local/bin/gdal-config \
--with-httpd=$HOME/local/bin/httpd \
--with-curl-config=$HOME/local/bin/curl-config \
--with-proj=$HOME/local \
--with-gd=$HOME/local \
--with-freetype=$HOME/local \
--with-agg=$HOME/src/agg-2.5 \
--with-jpeg \
--with-tiff \
--with-png \
--with-wms \
--with-wmsclient \
--with-wfs \
--with-wfsclient \
--with-zlib \
--without-ld-shared \
--with-postgis=$HOME/local/pgsql8110/bin/pg_config \
--with-fastcgi=$HOME/local
我得到的错误是:
checking FastCGI support... requested.
checking for FCGI_Accept in -lfcgi... no
configure: error: Unable to link against -L/home/ogclive/local/lib -lfcgi
任何想法错误意味着什么以及如何解决它?
...谢谢
答案 0 :(得分:0)
您的参数“--with-fastcgi = $ HOME / local”不正确。在我的机器上它是“--with-fastcgi = / usr / lib”。
这是所需文件libfcgi.so和libfcgi.a的位置。
对不起,这花了很长时间。