Code Monkey home page Code Monkey logo

Comments (4)

bearlord avatar bearlord commented on May 25, 2024

看来我的提示应该写的有问题,我需要改下提示。
pdo_taos需要依赖 libtaos,涛思数据的库文件。也就是说你需要安装涛思数据的服务端或者客户端。

config.m4中

--with-pdo_taos -> check with-path

SEARCH_PATH="/usr/local/taos /usr/local"
SEARCH_FOR="/include/taos.h"
if test -r $PHP_PDO_TAOS/$SEARCH_FOR; then # path given as parameter
PDO_TAOS_DIR=$PHP_PDO_TAOS
else # search default path list
AC_MSG_CHECKING([for pdo_taos files in default path])
for i in $SEARCH_PATH ; do
if test -r $i/$SEARCH_FOR; then
PDO_TAOS_DIR=$i
AC_MSG_RESULT(found in $i)
fi
done
fi

首先本目录中搜索 [include/taos.h],找不到了,再去系统搜索[/usr/local/taos/include/taos.h, /usr/local/include/taos.h]。你的现在是两个都没有找到,报错了。但是我的提示写错了,汗~~。

等下我改提示。

from pdo_taos.

bearlord avatar bearlord commented on May 25, 2024

错误提示 已修改。请先从dev-master克隆代码试试。

from pdo_taos.

bioinformatist avatar bioinformatist commented on May 25, 2024

收到,我按照您的指引再试下。对php的编译流程不熟悉,感谢帮助~

from pdo_taos.

bioinformatist avatar bioinformatist commented on May 25, 2024

安装成功了,感谢。
image
我的TDengine是丢在Docker container里运行的,方便项目上线时部署(虽然官方不鼓励这样做,但是我可以用自己的Dockerfile)
所以理论上我最好只需要安装client就好了~
参照您上面的描述和官方文档,虽然Lite版只有C/C++扩展,但是必要的头文件应该有了,我试了一下,果然可以。
您看是否有必要更新一下README,或者不嫌弃的话,我可以PR补充一下的
另由于我们最近在一个项目上尝试全面迁移至TDengine,且后端技术栈为纯php,应该对您的pdo项目依赖蛮重,请问是否方便添加微信方便沟通(issue仍会以社区规范化的形式提出,仅做业务交流)?
我的微信号是MTMwNDQyNDAzMDQK(base64-encoded,non-salted)
原谅唐突:smile:

from pdo_taos.

Related Issues (4)

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.