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
When following the above steps,
sudo: apt-get: command not found
reports an error. The high probability is due to the CentOS system being used. When downloading, change the apt-get to yum
Read More:
- Error occurred when Python installed the pocketsphinx module (package): Command‘ swig.exe “Failed: no such file or directory
- When python installs pocketsphinx module (package), an error is reported: command ‘swig.exe’ failed: No such file or directory
- Methods of compiling and installing ffmpeg and libx264 in Linux
- Centos7 quick installation of docker and configuration of image acceleration
- Installing GCC reduced version GCC 4.4.6 under Linux
- Prompt “libevent not found” when installing tmux
- Installing open CV under Linux system
- Installing opencv and Linux Makefile:160 : recipe for target ‘all’ failed problem resolution
- Git solves the problem of failed: http request failed
- How to Use paho.mqtt.cpp
- Raspberry pie upgrade to Python 3.7.3
- Linux CentOS installing protobuf
- Pull code execution NPM install error code: 128
- VTK installation
- Error: LTO wrapper failed collect2: error: LD returned 1 exit status
- Configuration: error: no acceptable C compiler found in $path
- Cocoapods- ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension.
- Call to undefined function mysql_ Connect() solution summary
- Command failed: NPM install — loglevel error — registry= https://registry.npm.taobao.org
- Solve the problem of prompt couldn’t find path to unrear library after installing unrear in Python