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

centos 7.4/7.5+postgresql 11 环境make报错,什么时候支持postgres11呀? #29

Closed
zyd opened this issue Nov 12, 2018 · 5 comments

Comments

@zyd
Copy link

zyd commented Nov 12, 2018

No description provided.

@mofei031026
Copy link

同问

@amutu
Copy link
Owner

amutu commented Mar 21, 2019

报错信息提供一下?

@zyd
Copy link
Author

zyd commented Mar 21, 2019

/opt/rh/llvm-toolset-7/root/usr/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -O2 -I/usr/local/include/scws -I. -I./ -I/usr/pgsql-11/include/server -I/usr/pgsql-11/include/internal -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -flto=thin -emit-llvm -c -o zhparser.bc zhparser.c
make: /opt/rh/llvm-toolset-7/root/usr/bin/clang: Command not found
make: *** [zhparser.bc] Error 127

@zlianzhuang
Copy link
Collaborator

clang: Command not found 安装这个命令就可以了。

@zyd
Copy link
Author

zyd commented Mar 28, 2019

yum install clang之后重新make,还是报错
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I/usr/local/include/scws -I. -I./ -I/usr/pgsql-11/include/server -I/usr/pgsql-11/include/internal -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -c -o zhparser.o zhparser.c
zhparser.c: In function ‘init’:
zhparser.c:223:6: warning: implicit declaration of function ‘SplitIdentifierString’ [-Wimplicit-function-declaration]
if(!SplitIdentifierString(extra_dicts,',',&elemlist)){
^
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -shared -o zhparser.so zhparser.o -L/usr/pgsql-11/lib -Wl,--as-needed -L/usr/lib64/llvm5.0/lib -L/usr/lib64 -Wl,--as-needed -Wl,-rpath,'/usr/pgsql-11/lib',--enable-new-dtags -lscws -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib
/opt/rh/llvm-toolset-7/root/usr/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -O2 -I/usr/local/include/scws -I. -I./ -I/usr/pgsql-11/include/server -I/usr/pgsql-11/include/internal -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -flto=thin -emit-llvm -c -o zhparser.bc zhparser.c
make: /opt/rh/llvm-toolset-7/root/usr/bin/clang: Command not found
make: *** [zhparser.bc] Error 127

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

4 participants