Code Monkey home page Code Monkey logo

Comments (5)

jingjingxyk avatar jingjingxyk commented on July 21, 2024

你可以自己构建一个版本,看看

from swoole-cli.

1307super avatar 1307super commented on July 21, 2024

要得, 我试试看

from swoole-cli.

jingjingxyk avatar jingjingxyk commented on July 21, 2024

MAC OS 上执行这个命令就可以开始构建了

php prepare.php --without-docker=1 @macos

sh make.sh all-library

sh make.sh config 
sh make.sh build 

更多信息,看这 https://github.com/swoole/swoole-cli/blob/main/docs/macOS.md

@1307super

from swoole-cli.

1307super avatar 1307super commented on July 21, 2024

MAC OS 上执行这个命令就可以开始构建了

php prepare.php --without-docker=1 @macos

sh make.sh all-library

sh make.sh config 
sh make.sh build 

更多信息,看这 https://github.com/swoole/swoole-cli/blob/main/docs/macOS.md

@1307super

跟着文档大部分问题解决了, 在make.sh build的时候 报错了, 在执行前已手动执行了 export PKG_CONFIG_PATH=xxxx(make.sh 里的) 在对应的cares/include 也有ares.h 能帮忙看看这个问题怎么解决吗
image

from swoole-cli.

jingjingxyk avatar jingjingxyk commented on July 21, 2024

@1307super 类似这样解决:

LIBS=$(pkg-config --libs --static libcares readline icu-i18n icu-io icu-uc)

或者这样:https://github.com/jingjingxyk/swoole-cli/blob/fbfe0edf96747fe63f97f1cd58cc928cfd68f76f/sapi/make.php#L254

之所以说类似,是因为这里还处于变更期,没有完全定版

from swoole-cli.

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.