暂无图片
make安装的报错--pg12
我来答
分享
暂无图片 匿名用户
make安装的报错--pg12

pg_rman源码安装的报错  ,pg-12.6 版本

[root@gbase8c_1 pg_rman-1.3.9-pg12]# make
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o backup.o backup.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o catalog.o catalog.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o data.o data.c
data.c: In function ‘figure_out_segno’:
data.c:1268:8: warning: variable ‘scanned’ set but not used [-Wunused-but-set-variable]
int scanned;
^
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o delete.o delete.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o dir.o dir.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o init.o init.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o parray.o parray.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o pg_rman.o pg_rman.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o restore.o restore.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o show.o show.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o util.o util.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o validate.o validate.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o xlog.o xlog.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o pgsql_src/pg_ctl.o pgsql_src/pg_ctl.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o pgut/pgut.o pgut/pgut.c
In file included from pgut/pgut.c:10:0:
/usr/local/pg12/include/postgresql/server/libpq/pqsignal.h:40:1: error: unknown type name ‘pqsigfunc’
extern pqsigfunc pqsignal_pm(int signo, pqsigfunc func);
^
/usr/local/pg12/include/postgresql/server/libpq/pqsignal.h:40:41: error: unknown type name ‘pqsigfunc’
extern pqsigfunc pqsignal_pm(int signo, pqsigfunc func);

我来答
添加附件
收藏
分享
问题补充
3条回答
默认
最新
漫步者

去github上面找对应12的分支版本试试

暂无图片 评论
暂无图片 有用 1
打赏 0
唐虞之道

bg1.png

暂无图片 评论
暂无图片 有用 0
打赏 0
唐虞之道
上传附件:MongoBD用户手册.docx
暂无图片 评论
暂无图片 有用 0
打赏 0
回答交流
Markdown


请输入正文
提交
相关推荐
postgreSQL 的mvcc怎么实现cache,fusion,维护一个page的所有权表吗?
回答 1
PostgreSQL的MVCC机制是通过维护一个page的所有权表来实现的。当一个事务开始时,它会创建一个新的page,并将该页面的所有行标记为“未锁定”。然后,事务会读取或写入这些行,并将它们标记为
postgreSQL 有自带的数据迁移工具吗?
回答 1
最常用的是pgloader。此外,还有其他一些第三方工具可供选择,例如Golang和PostgreSQLSQL迁移。
postgresql 报错:could not close temporary statistics file "pg_stat_tmp/db_0.tmp": No space left on device
回答 1
临时文件使用量过大,可以使用tempfilelimit限制临时文件的大小。
pg14新特性Pg_database_owner有啥用处?不能授权,授权时报错
回答 1
已采纳
pgdatabaseowner是数据库owner,不能显示赋予,也不能被赋予。可以将表授权到该role:star@star>altertabletab1OWNERTOpgdatabaseowne
PG数据库的shared_buffers满了,checkpoint还未发生,这时数据库处于什么状态?
回答 2
这个问题给我看一愣,缓冲池就是给用户用的啊,一直是满的不是应该的吗。如果是想问缓冲池页面的淘汰机制,pg是时钟扫描算法,扫一个页面如果页面状态是被钉住(在使用),如果没有钉住则会将钉值减一,如果一个页
postgresql wal日志是循环写入吗?
回答 2
已采纳
不是的。一直不断生成新的
pg中序列的使用率达到80%的给找出来,做预警用
回答 3
如何在PostgreSQL中检查即将用尽的序列
pg_rman-1.3.9-1.pg12.rhel7.x86_64 求一个
回答 1
上传附件:pgrman1.3.91.pg12.rhel7.x8664.rpm
pg-13安装pg_qualstats插件失败
回答 3
rpm跳过后,会不会出问题,就是影响pgqualstats的使用?没有问题,rpm只是一种打包方式,不会影响使用,插件和pg版本对的上就没问题。
如何定位存储过程执行到什么程度了
回答 2
看目前执行到第几个可以在v$session中查询sqlid再去查看v$sql中查看sqltext