我正在尝试在 ubuntu 12.04 + postgresql-9.3 中安装 slony1-2.2.1。配置完成,但是当我触发“make all”命令时,显示以下错误:
root@administrator:/home/priyatam/Desktop/icons/slony1-2.2.1# make all
make[1]: 进入目录/home/priyatam/Desktop/icons/slony1-2.2.1/src'
make[2]: Entering directory
/home/priyatam/Desktop/icons/slony1-2.2.1/src/parsestatements' ./test-scanner < /dev/null > emptytestresult.log ./test-scanner < ./test_sql. sql > test_sql.log `
./test-scanner < ./cstylecomments.sql > cstylecomments.log
make[2]: Leaving directory
/home/priyatam/Desktop/icons/slony1-2.2.1/src/parsestatements'make[2]:进入目录/home/priyatam/Desktop/icons/slony1-2.2.1/src/slon'
make[2]: Nothing to be done for
all'。make[2]: 离开目录/home/priyatam/Desktop/icons/slony1-2.2.1/src/slon'
make[2]: Entering directory
/home/priyatam/Desktop/icons/slony1-2.2.1/src/slonik' make[2]: 无事可做all'.
make[2]: Leaving directory
/home/priyatam/Desktop/icons/slony1-2.2.1 /src/slonik' make[2]: 进入目录/home/priyatam/Desktop/icons/slony1-2.2.1/src/backend'
gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../.. -fpic -I/usr/include/postgresql -c -o slony1_funcs.o slony1_funcs.c
slony1_funcs.c:23:23: fatal error: miscadmin.h: No such file or directory
compilation terminated.
make[2]: *** [slony1_funcs.o] Error 1
make[2]: Leaving directory
/home/priyatam/Desktop/icons/slony1-2.2.1/src/backend' make[1]: * [all] Error 2 make[1]: Leaving directory ` /home/priyatam/Desktop/icons/slony1-2.2.1/src' 制作:* [全部] 错误 2
请帮帮我。