我试着安装Freeswitch我做到了
./bootstrap.sh
./configure但当我这么做的时候
make上面写着
Entering directory '/usr/src/freeswitch/src/mod/databases/mod_pgsql'
Makefile:958: *** You must install libpq-dev to build mod_pgsql. Stop.
make[4]: Leaving directory '/usr/src/freeswitch/src/mod/databases/mod_pgsql'
make[3]: *** [Makefile:714: mod_pgsql-all] Error 1
make[3]: Leaving directory '/usr/src/freeswitch/src/mod'
make[2]: *** [Makefile:615: all-recursive] Error 1
make[2]: Leaving directory '/usr/src/freeswitch/src'
make[1]: *** [Makefile:3680: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/freeswitch'我试着用sudo apt-get install libpq-dev安装libpg-dev,然后再试一次
./bootstrap.sh
./configure
make它给了我同样的错误。
发布于 2021-07-14 11:48:20
我猜是出了什么问题。
sudo apt-get install libpq-dev #for installing libpq-dev
sudo apt-get update #for updating system
sudo apt-get upgrade #for upgrading system
sudo chmod +x bootstrap.sh #make the bash file executable
sudo chmod +x configure #make the bash file executable
./bootstrap.sh #run bootstrap
./configure #run configure
make我不知道make是做什么的。所以,我只是像你写的那样写。
https://stackoverflow.com/questions/68366145
复制相似问题