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 / 问题 / 587999
Accepted
johann_ka
johann_ka
Asked: 2015-02-21 17:47:44 +0800 CST2015-02-21 17:47:44 +0800 CST 2015-02-21 17:47:44 +0800 CST

Recoll 1.20.1 prebuilt - configure.ac 无法识别 - './configure' 和 'make' 不工作

  • 772

我正在尝试在 Ubuntu 14.04 上安装最新版本的 Recoll (1.20.1)。

我已经从开发者网站(在“源”下)下载了 tar 文件,/usr/local/src并通过tar -xvf recoll-1.20.1创建一个名为recoll-1.20.1. 该文件夹包含以下文件和目录。

/usr/local/src/recoll-1.20.1$ dir
aspell          configure.ac  internfile         python      unac
autom4te.cache  COPYING       kde                qtgui       utils
bincimapmime    desktop       lib                query       VERSION
ChangeLog       doc           Makefile.in        rcldb
common          filters       makestaticdist.sh  README
config.log      index         mk                 recollinstall.in
configure       INSTALL       php                sampleconf

Recoll 的安装指南说只需使用makeand安装make install,但是这对我不起作用,尽管configure.ac在 gedit 中查看时有一个文件对我来说看起来不错。

如果有人可以发布解决方案,那就太好了。这里还有一些我失败的解决方法的更多细节。

输入时,make我得到以下输出:

/usr/local/src/recoll-1.20.1$ make
make: *** No targets specified and no makefile found. Stop.

我试过autoconf -v这给了我下面的输出。

/usr/local/src/recoll-1.20.1$ autoconf -v
autoconf: running /usr/bin/autom4te -v --language=autoconf --output=configure configure.ac
autom4te: formatting traces for `/tmp/am4tr1Oufp/dependencies': include, m4_include
autom4te: up_to_date (autom4te.cache/traces.0): up to date
autom4te: the trace request object is:
autom4te: $VAR1 = bless( [
autom4te:                  '0',
autom4te:                  1,
autom4te:                  [
autom4te:                    '/usr/share/autoconf'
autom4te:                  ],
autom4te:                  [
autom4te:                    '/usr/share/autoconf/autoconf/autoconf.m4f',
autom4te:                    'configure.ac'
autom4te:                  ],
autom4te:                  {
autom4te:                    'AC_CANONICAL_SYSTEM' => 1,
autom4te:                    'AC_INIT' => 1,
autom4te:                    'AC_DEFINE_TRACE_LITERAL' => 1,
autom4te:                    'AC_CANONICAL_BUILD' => 1,
autom4te:                    'LT_CONFIG_LTDL_DIR' => 1,
autom4te:                    'AC_PROG_LIBTOOL' => 1,
autom4te:                    'AM_SILENT_RULES' => 1,
autom4te:                    '_AM_COND_ENDIF' => 1,
autom4te:                    'AC_CONFIG_LIBOBJ_DIR' => 1,
autom4te:                    'AC_FC_SRCEXT' => 1,
autom4te:                    'AC_LIBSOURCE' => 1,
autom4te:                    'AM_EXTRA_RECURSIVE_TARGETS' => 1,
autom4te:                    '_AM_MAKEFILE_INCLUDE' => 1,
autom4te:                    '_LT_AC_TAGCONFIG' => 1,
autom4te:                    'm4_pattern_allow' => 1,
autom4te:                    'AM_PROG_MKDIR_P' => 1,
autom4te:                    'AM_NLS' => 1,
autom4te:                    'AH_OUTPUT' => 1,
autom4te:                    'AM_POT_TOOLS' => 1,
autom4te:                    'AC_SUBST' => 1,
autom4te:                    'LT_INIT' => 1,
autom4te:                    'AC_FC_PP_SRCEXT' => 1,
autom4te:                    'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
autom4te:                    'AM_MAKEFILE_INCLUDE' => 1,
autom4te:                    'AM_PROG_AR' => 1,
autom4te:                    'AC_FC_PP_DEFINE' => 1,
autom4te:                    'AM_PROG_CXX_C_O' => 1,
autom4te:                    'AM_CONDITIONAL' => 1,
autom4te:                    'AC_SUBST_TRACE' => 1,
autom4te:                    'AM_PROG_FC_C_O' => 1,
autom4te:                    'AC_CONFIG_AUX_DIR' => 1,
autom4te:                    'AC_CONFIG_LINKS' => 1,
autom4te:                    'AC_CONFIG_FILES' => 1,
autom4te:                    '_AM_COND_IF' => 1,
autom4te:                    'AM_PATH_GUILE' => 1,
autom4te:                    'include' => 1,
autom4te:                    'AC_CANONICAL_TARGET' => 1,
autom4te:                    'AM_GNU_GETTEXT' => 1,
autom4te:                    'AM_MAINTAINER_MODE' => 1,
autom4te:                    'AC_CONFIG_HEADERS' => 1,
autom4te:                    'm4_include' => 1,
autom4te:                    'AC_CONFIG_SUBDIRS' => 1,
autom4te:                    'AM_AUTOMAKE_VERSION' => 1,
autom4te:                    'AM_ENABLE_MULTILIB' => 1,
autom4te:                    'AM_PROG_MOC' => 1,
autom4te:                    'AM_PROG_CC_C_O' => 1,
autom4te:                    'sinclude' => 1,
autom4te:                    '_AM_SUBST_NOTMAKE' => 1,
autom4te:                    'AC_REQUIRE_AUX_FILE' => 1,
autom4te:                    'AM_INIT_AUTOMAKE' => 1,
autom4te:                    'AM_PROG_F77_C_O' => 1,
autom4te:                    'LT_SUPPORTED_TAG' => 1,
autom4te:                    'AC_FC_FREEFORM' => 1,
autom4te:                    '_m4_warn' => 1,
autom4te:                    'AC_CANONICAL_HOST' => 1,
autom4te:                    '_AM_COND_ELSE' => 1,
autom4te:                    'm4_sinclude' => 1,
autom4te:                    'AM_XGETTEXT_OPTION' => 1,
autom4te:                    'm4_pattern_forbid' => 1
autom4te:                  }
autom4te:                ], 'Autom4te::Request' );
autom4te: formatting traces for `/tmp/am4tr1Oufp/warnings': _m4_warn
autom4te: reading /tmp/am4tr1Oufp/warnings

我检查过/tmp/am4tr1Oufp/warnings,但没有警告等。

跑步时./configure我得到以下信息。然而,根据安装文件,'xapian' 和 'iconv' (libiconv) 将在安装过程中排序。所以,我认为这应该不是问题。

/usr/local/src/recoll-1.20.1$ ./configure
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking how to run the C++ preprocessor... g++ -E
checking tr1/unordered_map usability... yes
checking tr1/unordered_map presence... yes
checking for tr1/unordered_map... yes
checking unordered_map usability... no
checking unordered_map presence... no
checking for unordered_map... no
checking for sys/mount.h... yes
checking for sys/statfs.h... yes
checking for sys/statvfs.h... yes
checking for sys/vfs.h... yes
checking for file... /usr/bin/file
checking for aspell... /usr/bin/aspell
configure: aspell support enabled but aspell package not found. Compiling with internal aspell interface file
configure: enabled support for inotify monitoring
configure: FAM support enabled but inotify support also enabled. Disabling FAM support and using inotify
checking for mkdtemp... yes
checking for type of inbuf parameter to iconv... checking for type of string parameter to putenv... checking for xapian-config... no
checking for xapian-config-1.3... no
checking for xapian-config-1.1... no
configure: error: Cannot find xapian-config command in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games. Is
xapian-core installed ?
software-installation
  • 2 2 个回答
  • 366 Views

2 个回答

  • Voted
  1. Best Answer
    medoc
    2015-02-25T00:50:16+08:002015-02-25T00:50:16+08:00

    您需要安装以下软件包(取自 Ubuntu 软件包“控制”文件):

               libqt4-dev,
               libqtwebkit-dev,
               libx11-dev,
               libxapian-dev (>= 1.2.0),
               libz-dev,
               python-all-dev (>= 2.6.6-3~),
               python3-all-dev,
    

    python3-all-dev 只有在你想构建模块的 python3 版本时才有用,默认的 Makefile 不需要

    然后 configure / make / make install 应该可以工作。

    也许通过 --prefix=/usr 进行配置以避免以两次 recoll 安装结束的风险?

    你能告诉我 recoll 文档中哪里说 make + make install 应该起作用吗?始终需要配置。

    • 3
  2. johann_ka
    2015-02-25T14:42:10+08:002015-02-25T14:42:10+08:00

    @medoc:谢谢,我使用apt-get install FILENAMES.

    然后我访问了保存提取的源代码的旧版本。我用了'./configure'然后make然后sudo checkinstall。

    在第 5.1.2 节下,它说“提取 tar 文件后,您可以继续安装,就像从源代码构建包一样(即,只需键入 make install)。构建二进制树以安装到 /usr/当地的。”

    您在哪里看到缺少哪些依赖项?

    • 0

相关问题

  • 如何在没有 root 访问权限的情况下安装软件包?

  • 设置 LAMP 堆栈的最简单方法是什么?

  • 我应该在哪里安装 sagemath?

  • How do I install Adobe Flash player?对于 11.10 及更高版本明确修复 11.10 上的 64 位 Flash

  • 如何设置软件中心为非 root 用户安装软件?

Sidebar

Stats

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

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

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

    • 14 个回答
  • Marko Smith

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

    • 24 个回答
  • Marko Smith

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

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +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