Comments (5)
不同的操作系统,命令不相同。。请看下readme里面的Q&A 部分。。。DPostgreSQL_INCLUDE_DIRS 应该只对 ubuntu 生效
from pg_jieba.
如果不加-DPostgreSQL_INCLUDE_DIRS
则直接提示缺少PostgreSQL_INCLUDE_DIRS
。我知道CentOS 7.8上的PostgreSQL 12的安装目录结构不标准(装在/usr/pgsql12
下而不是/usr/lib
、/usr/include
之类的目录下),但是我不知道怎么设那两个-D
。
from pg_jieba.
试一下 cmake -DCMAKE_PREFIX_PATH=/usr/pgsql12 ..
from pg_jieba.
Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY_DIRS
PostgreSQL_INCLUDE_DIRS PostgreSQL_LIBRARIES) (found version "9.6.19")
from pg_jieba.
ok:
cmake -DCMAKE_PREFIX_PATH=/usr/pgsql-9.6 ..
but:
err:
/root/pg_jieba/pg_jieba.c:19:27: fatal error: utils/varlena.h: No such file or directory
#include "utils/varlena.h"
from pg_jieba.
Related Issues (20)
- pg11
- pg 11.5 不支持 HOT 10
- pg 10.10 不支持 HOT 7
- make 出错 HOT 1
- Freebsd 12 + PostgreSQL 12, 编译后无法使用 HOT 1
- Space character (" ") on stop-word list acts like a separator instead of a character
- Postgresql 13下版本号问题 HOT 3
- centos7 + pg13, make: 未知的类型名‘sigjmp_buf’ HOT 1
- to_tsquery有没有办法精确搜索?
- ts_headline与预期结果不同
- 如何集成到greenplum
- postgres14 分词和预期结果不一致 HOT 5
- 在postgres14中使用jieba分词,ts_headline中将原文一些词给隐藏了 HOT 1
- 怎么支持postgresql版本15呢 HOT 2
- ubuntu 18 PG15 版本下无法编译 HOT 1
- 还维护吗? HOT 2
- Compile warning: ‘DefineCustomConfigVariables’ was used with no prototype before its definition [-Wmissing-prototypes]
- Feature Request: Support PG16 HOT 4
- 报告BUG
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pg_jieba.