[英]Install Pygtk on Amazon EC2
我想在AWS上安裝PywebkitGTK
(Amazon EC2,Amazon Linux AMI 2013.09.2(64位))
$ sudo ./configure --prefix=/usr
...
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating ./config.lt
config.lt: creating libtool
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.6/site-packages
checking for headers required to compile python extensions... found
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DEPS... no
configure: error: Package requirements (libxslt
gthread-2.0
pygtk-2.0) were not met:
No package 'libxslt' found
No package 'gthread-2.0' found
No package 'pygtk-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables DEPS_CFLAGS
and DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
在我的linuxmint上,我可以使用sudo apt-get install ...
依賴關系,
但我無法通過yum
搜索相同的軟件包
任何幫助,將不勝感激 :)
Amazon Linux AMI不支持任何與GUI相關的東西。 實際上,它的YUM存儲庫甚至都沒有與GUI遠程相關的軟件包。 因此,您無法在Amazon Linux的YUM存儲庫中找到丟失的軟件包。
相反,您可能想嘗試一個CentOS / Fedora / Ubuntu / RHEL AMI,它支持所有與GUI相關的事情。 盡管這些不是現成配置的,但是您當然可以手動配置它們。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.