【问题标题】:Install Pygtk on Amazon EC2在 Amazon EC2 上安装 Pygtk
【发布时间】:2014-03-09 20:54:28
【问题描述】:

我想在 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 ...Dependencies,
但我无法通过yum 搜索相同的包

任何帮助将不胜感激:)

【问题讨论】:

    标签: python amazon-web-services amazon-ec2 yum


    【解决方案1】:

    Amazon Linux AMI 不支持任何与 GUI 相关的东西。事实上,它的 YUM repo 甚至没有与 GUI 远程相关的包。因此,您无法在 Amazon Linux 的 YUM 存储库中找到丢失的包。

    相反,您可能想尝试支持所有 GUI 相关内容的 CentOS/Fedora/Ubuntu/RHEL AMI。虽然这些不是开箱即用的配置,但您当然可以手动配置它们。

    【讨论】:

      猜你喜欢
      • 2013-09-14
      • 1970-01-01
      • 2020-11-27
      • 2011-06-20
      • 2013-07-01
      • 1970-01-01
      • 1970-01-01
      • 2012-03-31
      • 2015-04-04
      相关资源
      最近更新 更多