GithubHelp home page GithubHelp logo

Comments (5)

jaiminpan avatar jaiminpan commented on August 31, 2024

不同的操作系统,命令不相同。。请看下readme里面的Q&A 部分。。。DPostgreSQL_INCLUDE_DIRS 应该只对 ubuntu 生效

from pg_jieba.

Aetherus avatar Aetherus commented on August 31, 2024

如果不加-DPostgreSQL_INCLUDE_DIRS则直接提示缺少PostgreSQL_INCLUDE_DIRS。我知道CentOS 7.8上的PostgreSQL 12的安装目录结构不标准(装在/usr/pgsql12下而不是/usr/lib/usr/include之类的目录下),但是我不知道怎么设那两个-D

from pg_jieba.

jaiminpan avatar jaiminpan commented on August 31, 2024

试一下 cmake -DCMAKE_PREFIX_PATH=/usr/pgsql12 ..

from pg_jieba.

lcp580 avatar lcp580 commented on August 31, 2024

Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY_DIRS
PostgreSQL_INCLUDE_DIRS PostgreSQL_LIBRARIES) (found version "9.6.19")

from pg_jieba.

lcp580 avatar lcp580 commented on August 31, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.