macOS下编译PgBouncer
生活随笔
收集整理的這篇文章主要介紹了
macOS下编译PgBouncer
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
為什么80%的碼農都做不了架構師?>>> ??
1、安裝必須軟件
brew install libevent openssl c-ares pkg-config autoconf automake
2、設置路徑
export PATH=/usr/local/Cellar/autoconf/{ver}/bin:/usr/local/Cellar/pkg-config/{ver}/bin:/usr/local/Cellar/automake/{ver}/bin:$PATH
{ver} 為各自的當前版本
3、后邊就沒什么了
./autogen.sh (要在 pkg-config 之前安裝,否則會出現 PKG_PROG_PKG_CONFIG: command not found)
./configure --with-libevent=/usr/local/Cellar/libevent/{ver} --with-openssl=/usr/local/Cellar/openssl/{ver}
./make
?
補充:brew 見網站 https://brew.sh/
轉載于:https://my.oschina.net/quanzl/blog/1480087
總結
以上是生活随笔為你收集整理的macOS下编译PgBouncer的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 「POJ 1135」Domino Eff
- 下一篇: Java并发编程(三)volatile域