Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装smlar插件失败 #28

Open
amu9394 opened this issue May 14, 2018 · 0 comments
Open

安装smlar插件失败 #28

amu9394 opened this issue May 14, 2018 · 0 comments

Comments

@amu9394
Copy link

amu9394 commented May 14, 2018

安装smlar插件失败,提示是缺少了文件。请问一下这个文件怎么获取?

我是参照这里的步骤搞的:http://blog.databasepatterns.com/2014/07/postgresql-install-smlar-extension.html

以下为报错代码:
[root@localhost smlar]# USE_PGXS=1
[root@localhost smlar]# make
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX_OOM_SCORE_ADJ=0 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -fPIC -I. -I. -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o smlar.o smlar.c
smlar.c:6:33: fatal error: access/htup_details.h: No such file or directory
#include "access/htup_details.h"
^
感谢德哥支持。谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant