当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 安装Postgis2.1.8的编译问题
帖子发表于 : 2015-08-30 0:56 

注册: 2015-08-30 0:47
帖子: 1
系统: ububtu 12.04
送出感谢: 0 次
接收感谢: 0 次
Ubuntu 12.04
配置如下:
----------------------------------------------------------------
PostGIS is now configured for x86_64-unknown-linux-gnu

-------------- Compiler Info -------------
C compiler: gcc -g -O2
C++ compiler: g++ -g -O2
SQL preprocessor:

-------------- Dependencies --------------
GEOS config: /usr/local/bin/geos-config
GEOS version: 3.4.2
GDAL config: /usr/local/bin/gdal-config
GDAL version: 1.11.2
PostgreSQL config: /usr/local/pgsql/bin/pg_config
PostgreSQL version: PostgreSQL 9.4.4
PROJ4 version: 49
Libxml2 config: /usr/local/bin/xml2-config
Libxml2 version: 2.9.2
JSON-C support: yes
PostGIS debug level: 0
Perl: /usr/bin/perl

--------------- Extensions ---------------
PostGIS Raster: enabled
PostGIS Topology: enabled
SFCGAL support: disabled

-------- Documentation Generation --------
xsltproc:
xsl style sheets:
dblatex:
convert:
mathml2.dtd: http://www.w3.org/Math/DTD/mathml2/mathml2.dtd
---------------------------------------------------------------------------------------------

编译时Error:
---------------------------
/usr/bin/perl -lpe "s'MODULE_PATHNAME'\$libdir/postgis-2.1'g" > legacy_minimal.sql
I../libpgcommon legacy_gist.sql.in | grep -v '^#' | \
/usr/bin/perl -lpe "s'MODULE_PATHNAME'\$libdir/postgis-2.1'g" > legacy_gist.sql
/bin/sh: 1: I../libpgcommon: not found
/usr/bin/perl ../utils/create_undef.pl sfcgal.sql 94 > uninstall_sfcgal.sql
/bin/sh: 1: I../libpgcommon: not found
/usr/bin/perl ../utils/create_undef.pl postgis.sql 94 > uninstall_postgis.sql
cat postgis_drop_before.sql postgis.sql postgis_drop_after.sql > postgis_upgrade_20_21.sql.in
/usr/bin/perl ../utils/create_undef.pl legacy.sql 94 > uninstall_legacy.sql
/usr/bin/perl ../utils/postgis_proc_upgrade.pl postgis_upgrade_20_21.sql.in 2.0 > postgis_upgrade_20_21.sql
Unable to locate target new version number in postgis_upgrade_20_21.sql.in
Makefile:170: recipe for target 'postgis_upgrade_20_21.sql' failed
make[1]: *** [postgis_upgrade_20_21.sql] Error 255
make[1]: *** Deleting file 'postgis_upgrade_20_21.sql'
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/root/postgis-2.1.8/postgis'
GNUmakefile:14: recipe for target 'all' failed
make: *** [all] Error 1
----------------------------------------

个人分析下来,感觉是 SQL preprocessor: 没有找到导致的,
但是,不知道这个问题怎么解决?
哪位大神遇到过?求指导


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 0 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译