我试着在Ubuntu 14.04上安装酒杯:
sudo apt-get install swig
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package swigSeach给出了一些无关的东西:
apt-cache search swig
python-sip - Python/C++ bindings generator runtime library
libkml0 - Library to manipulate KML 2.2 OGC standard files
libapparmor-perl - AppArmor library Perl bindingsHowewer 这里
那么,正确的安装方法是什么呢?
更新:似乎是sudo apt-get update帮了忙。
发布于 2017-10-03 08:38:52
下载最新开发(主)版本的SWIG:
git clone https://github.com/swig/swig.git
cd swig
sudo apt-get install automake
./autogen.sh
./configure
sudo apt-get install bison flex
make
sudo make install希望能帮上忙,盖普
https://askubuntu.com/questions/893932
复制相似问题