0

我正在尝试在 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

任何想法该错误意味着什么以及我如何解决它?

谢谢...

4

1 回答 1

0

您的 with 参数“--with-fastcgi=$HOME/local”不正确。在我的机器上它是“--with-fastcgi=/usr/lib”。

这是所需文件 libfcgi.so 和 libfcgi.a 的位置。

抱歉,这花了这么长时间。

于 2012-04-13T21:41:52.510 回答