0
我在我的PC(fedora 16) 中編譯了dblink模塊ubder postgresql 8.2.19/contrib/dblink ,但是當我轉向CentOS時,它不起作用,暗示下面的消息:如何在centOS服務器上編譯dblink模塊(64位)
gcc -m64 -O3 -funroll-loops -fargument-noalias-global -fno-omit-frame-pointer -g -finline-limit=1800 -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -fwrapv -I/home/build/builds/greenplum-db/Release-4_1_1_1-build-1_ce_051211-1820/Release-4_1_1_1-build-1_src/ext/rhel5_x86_64/include -Werror -fpic -I/home/gpadmin/greenplum-db/include -w -I. -I/home/gpadmin/greenplum-db/include/postgresql/server -I/home/gpadmin/greenplum-db/include/postgresql/internal -D_GNU_SOURCE -I/home/build/builds/greenplum-db/Release-4_1_1_1-build-1_ce_051211-1820/Release-4_1_1_1-build-1_src/ext/rhel5_x86_64/include -c -o dblink.o dblink.c
dblink.c:1: sorry, unimplemented: 64-bit mode not compiled in
make: *** [dblink.o] error 1
任何人都可以給一些建議嗎? 運行 「裏面Postgres的」
在CentOS得到:〜/ Greenplum的-DB /斌/的Postgres在Fedora 得到:在/ usr /本地/ Greenplum的-DB /斌/ Postgres的
我想在基於postgresql 8.2.15的greeplum數據庫中使用dblink,因此我應該使用postgresql 8.2.X – moxpeter 2012-04-16 08:30:56
您的'greenplum'的pg_config是否首先由您的'PATH'設置找到? – vyegorov 2012-04-16 08:32:21
$ pg_config --pgxs /usr/local/greenplum-db-4.1.0.0/lib/postgresql/pgxs/src/makefiles/pgxs.mk – moxpeter 2012-04-16 08:41:57