私のPC(fedora 16)にdblinkモジュールubder postgresql 8.2.19/contrib/dblink をコンパイルしましたが、CentOSを回すとうまくいかない場合は、以下のメッセージが表示されます。centOSサーバー(64ビット)でdblinkモジュールをコンパイルする方法
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/binに/ postgresのFedoraの上 取得:は/ usr/local/Greenplumは-DB/binに/ postgresの
私はpostgresql 8.2.15に基づいてgreeplumデータベースでdblinkを使いたいので、postgresql 8.2.Xを使うべきです – moxpeter
'greenplum'のpg_configが' PATH'設定によって最初に見つかったのですか? – vyegorov
$はpg_config --pgxs /usr/local/greenplum-db-4.1.0.0/lib/postgresql/pgxs/src/makefiles/pgxs.mk – moxpeter