![配置警告缺少已安装的库](https://linux22.com/image/1522807/%E9%85%8D%E7%BD%AE%E8%AD%A6%E5%91%8A%E7%BC%BA%E5%B0%91%E5%B7%B2%E5%AE%89%E8%A3%85%E7%9A%84%E5%BA%93.png)
我希望这是一个适合讨论这个问题的论坛。我正在尝试学习configure, make, make install
似乎是众所周知的 Linux 惯例的“”工作流程。我正尝试将其应用于 xscreensaver。除了阅读 xscreensaver 网站并在 Google 上搜索此主题外,我找不到此问题的解决方法:下载并解压缩 xscreensaver 后,我运行configure
。它输出以下警告:
Warning: The GTK libraries do not seem to be available; the
`xscreensaver-demo' program requires them.
Warning: The GDK-Pixbuf library was not found.
Warning: The XPM library was not found.
为了理解“ configure, make, make install
”,我想解决这些警告直到configure
完全完成。
据我所知,我有 GDK-Pixbuf 库:
>sudo dnf install gdk-pixbuf2
Package gdk-pixbuf2-2.30.3-1.fc20.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
>
>find /usr/local/lib -name "*pixbuf*"
/usr/local/lib/libgdk_pixbuf-2.0.so.0
/usr/local/lib/pkgconfig/gdk-pixbuf-2.0.pc
/usr/local/lib/libgdk_pixbuf-2.0.la
/usr/local/lib/libgdk_pixbuf-2.0.so.0.2800.2
/usr/local/lib/libgdk_pixbuf-2.0.so
>
>echo $LD_LIBRARY_PATH
/usr/local/lib:/usr/lib64
(我创建了 LD_LIBRARY_PATH 作为无目的地调试此问题的一部分)。
有人能建议如何进一步调试吗?为什么会configure
抱怨缺少 pixbuf 库,而它似乎存在?尽管这个问题特定于 xscreensaver,但我想通过弄清楚如何安装依赖项来了解经验丰富的 Linux 用户的工作流configure
。
更新:
我的Linux发行版:
>cat /proc/version
Linux version 3.11.10-301.fc20.x86_64 ([email protected]) (gcc version 4.8.2 20131017 (Red Hat 4.8.2-1) (GCC) ) #1 SMP Thu Dec 5 14:01:17 UTC 2013