Just installed Spynner module, the use of Easy_install Spynner installation, a variety of files missing Ah, inadvertently found apt-file command, never worry about compiling software missing a file and overwhelmed.
1, first have to install Apt-file command
The code is as follows:
Apt-get Install Apt-file
2, then update the apt-file cache
The code is as follows:
Apt-file Update
3, now you can use Apt-file search for missing files, such as the compilation process prompted the lack of
The code is as follows:
root@test:~# Apt-file Search XTest.h
Libbcprov-java-doc:/usr/share/doc/libbcprov-java-doc/api/org/bouncycastle/jce/provider/test/pkixtest.html
Libreoffice-dev-doc:/usr/share/doc/libreoffice-dev/docs/common/ref/com/sun/star/test/xtest.html
Libsvgsalamander-java-doc:/usr/share/doc/libsvgsalamander-java-doc/api/com/kitfox/svg/xml/cpx/cpxtest.html
Libsvgsalamander-java-doc:/usr/share/doc/libsvgsalamander-java-doc/api/com/kitfox/svg/xml/cpx/class-use/ Cpxtest.html
Libxtst-dev:/usr/include/x11/extensions/xtest.h
4, obviously Libxtst-dev package is exactly what we need to install
The code is as follows:
Apt-get Install Libxtst-dev
Bash/shell Code
-
apt-get install libxtst-dev