【问题标题】:how to install xlibs-dev on Ubuntu 10.04 (lucid)?如何在 Ubuntu 10.04 (lucid) 上安装 xlibs-dev?
【发布时间】:2012-03-15 19:52:45
【问题描述】:

我正在尝试在需要安装 xlibs-devUbuntu 10.04 (lucid) 上安装 V4L2。我试过:sudo apt-get install xlibs-dev 但它返回:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package xlibs-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package xlibs-dev has no installation candidate

然后我尝试了:

第一次尝试:attemp:sudo apt-get install xorg-dev;

第二次尝试:sudo apt-get updatesudo apt-get upgrade

全部失败。同样安装 xorg-dev,更新和升级了我的包,不能安装 xlibs-dev 库。如何解决这个问题?提前致谢。

【问题讨论】:

标签: c linux build ubuntu-10.04


【解决方案1】:

命令

 apt-cache search xlib dev

建议你

 aptitude install libx11-dev

您的发行版可能有 V4L2。考虑安装v4l2ucp 包...

PS。 xlib 中没有 s 字母,因为它是一个库,而不是多个!

【讨论】:

    猜你喜欢
    • 2012-05-28
    • 2012-06-25
    • 1970-01-01
    • 1970-01-01
    • 2011-04-11
    • 2011-05-14
    • 2012-08-04
    • 2012-03-10
    • 2011-07-30
    相关资源
    最近更新 更多