AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 27994
Accepted
Wayne Werner
Wayne Werner
Asked: 2011-02-26 00:10:09 +0800 CST2011-02-26 00:10:09 +0800 CST 2011-02-26 00:10:09 +0800 CST

安装 gtk-config 和/或 fsv,缺少 GTK 依赖项

  • 772

我正在尝试在 Ubuntu 10.10 上安装文件系统可视化工具(想想“这是一个 UNIX 系统!我知道这个!”来自侏罗纪公园)。

我已经下载并提取了 .tar.gz。但是,当我./configure,我得到这个输出:

loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for POSIXized ISC... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for mode_t... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for size_t... yes
checking for comparison_fn_t... yes
checking for st_blocks in struct stat... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... yes
checking for alloca... yes
checking for working fnmatch... yes
checking for strftime... yes
checking for getcwd... yes
checking for gettimeofday... yes
checking for mktime... yes
checking for strcspn... yes
checking for strdup... yes
checking for strspn... yes
checking for strtod... yes
checking for strtoul... yes
checking for scandir... yes
checking for inline... inline
checking for off_t... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... (cached) yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... (cached) yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for gtk-config... no
checking for GTK - version >= 1.2.1... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: Cannot find proper GTK+ version

显然它正在寻找 gtk-config。但是,显然它不再存在于存储库中。然后这篇文章提到 gtkglarea 解决了他们的问题,如本文所述。

当然,那张海报巧妙地忘记提及 gtkglarea 究竟是什么以及如何解决了他们的问题,而且谷歌几乎没有关于这个问题的信息。

所以我来这里寻求帮助!我想安装 fsv,但它告诉我 gtk-config 不存在。如何在 Ubuntu 10.10 中解决此问题?

谢谢!

编辑

所以在罗伯特的帮助下,这就是我必须做的:

从我下载的 Dapper 存储库中:

libgtk1.2-dev_1.2.10-18_i386.deb
libgtk1.2_1.2.10-18_i386.deb
libgtk1.2-common_1.2.10-18_all.deb gtkglarea5
-dev_1.2.3-2ubuntu4_i386.deb
gtkglarea5_1.2.3-2ubuntu4_i386.deb
.2.10-10.1build1_i386.deb
libglib1.2-dev_1.2.10-10.1build1_i386.deb

然后我必须安装:

  1. libglib1.2
  2. libglib1.2-dev
  3. libgtk1.2-通用
  4. libgtk1.2
  5. libgtk1.2-dev
  6. gtkglarea5
  7. gtkglarea5-dev

我使用sudo gdebi <file>.deb了它们中的大多数(如果你错过了它,它会更好地告诉你依赖关系)。在少数情况下,gdebi没有做正确的事情,然后死了。发生这种情况时,使用dpkg -i <file>.deb它应该可以工作。

10.10
  • 3 3 个回答
  • 18461 Views

3 个回答

  • Voted
  1. Best Answer
    Robert
    2011-05-03T22:40:57+08:002011-05-03T22:40:57+08:00

    如果图书馆仍然有人使用或想要,它怎么会过时?

    我在构建 mozilla 1.7.13(是的,旧的 mozilla 浏览器)时遇到了同样的问题。

    我已经在 10.10 中手动安装了 dapper 包和所有依赖项:

    https://launchpad.net/ubuntu/dapper/i386/libgtk1.2-dev/1.2.10-18

    你需要:

    libglib1.2_1.2.10-10.1build1_i386.deb
    libglib1.2-dev_1.2.10-10.1build1_i386.deb
    libgtk1.2-common_1.2.10-18_all.deb
    libgtk1.2_1.2.10-18_i386.deb
    libgtk1.2-dev_1.2.10-18_i386.deb
    
    • 5
  2. Arjen
    2012-09-10T07:49:18+08:002012-09-10T07:49:18+08:00

    可以在 GitHub 上找到 fsv 的更新版本:https ://github.com/mcuelenaere/fsv 。它已被修改为与 GTK 2.0 一起使用并在 Linux Mint 13 上为我工作(使用 Ubuntu 12.04 包)

    • 5
  3. João Pinto
    2011-02-26T02:14:14+08:002011-02-26T02:14:14+08:00

    该软件没有维护,需要 GTK1,它是一个过时的图形库版本,它在 Ubuntu 存储库中不可用,我不知道有任何存储库提供它。

    我建议您联系软件作者并与他确认是否有升级计划,或者搜索维护的类似软件。

    • 2

相关问题

  • GTK 改进何时会在 Maverick 上落地?

  • 目前是否有计划在“Maverick Meerkat”10.10 中用 Banshee 替换 Rhythmbox?

  • 什么是 btrfs?它有哪些高级功能?

  • 为什么在 Ubuntu 10.10 中 F-Spot 被 Shotwell 取代?

  • Haskell 平台会在 10.10 中可用吗?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    我需要什么命令来解压缩/提取 .tar.gz 文件?

    • 8 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Marko Smith

    如何使用命令行将用户添加为新的 sudoer?

    • 7 个回答
  • Marko Smith

    更改文件夹权限和所有权

    • 9 个回答
  • Martin Hope
    EmmyS 我需要什么命令来解压缩/提取 .tar.gz 文件? 2011-02-09 14:50:41 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve