wget http://postgis.refractions.net/download/postgis-1.5.2.tar.gz tar zxvf postgis-1.5.2.tar.gz && cd postgis-1.5.2/ sudo ./configure && make && sudo checkinstall --pkgname postgis-1.5.2 --pkgversion 1.5.2-src --default
但是它没有通过“sudo ./configure”命令.最后一句话:
configure: error: could not find pg_config within the current path. You may need to try re-running configure with a --with-pgconfig parameter.
所以我在网上看到我发现一个这样的地方说:
–with-pgconfig=FILE Postgresql provides a utility called pg_config to
enable extensions like PostGIS to
locate the Postgresql installation
directory. Use this parameter
(–with-pgconfig=/path/to/pg_config)
to manually specify a particular
Postgresql installation that PostGIS
will build against.
我使用“whereis pg_config”搜索pg_config,但是找不到.是指“/etc/postgresql/9.0/main/pg_hba.conf”文件还是文件夹??我错过了什么吗?在这一点上我真的很困惑我猜想比真正的清晰度更好的真正的混乱:).
我使用Postgresql 9 / Ubuntu 10.10.任何帮助将不胜感激.