Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/fsharp/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Bash autoreconf:automake失败/configure.ac:未找到所需文件-但该文件存在_Bash_Build_Automake_Autoreconf - Fatal编程技术网

Bash autoreconf:automake失败/configure.ac:未找到所需文件-但该文件存在

Bash autoreconf:automake失败/configure.ac:未找到所需文件-但该文件存在,bash,build,automake,autoreconf,Bash,Build,Automake,Autoreconf,我在试着建造LALSuite。我已将其Git存储库克隆到lalsuite文件夹中。此文件夹包含一个名为00boot的文件。根据官方指示,我在bash中运行./00boot,同时在文件夹的目录中运行。我得到以下错误: 00boot: running autoreconf configure.ac.7: error: required file 'src/LALFrameVCSInfo.c.in' not found configure.ac.7: error: required file 'src

我在试着建造LALSuite。我已将其Git存储库克隆到lalsuite文件夹中。此文件夹包含一个名为00boot的文件。根据官方指示,我在bash中运行./00boot,同时在文件夹的目录中运行。我得到以下错误:

00boot: running autoreconf
configure.ac.7: error: required file 'src/LALFrameVCSInfo.c.in' not found
configure.ac.7: error: required file 'src/LALFrameVCSInfo.h.in' not found
autoreconf: automake failed with exit status: 1
!!! ./00boot: autoreconf failed
00boot的内容:

#!/bin/sh

## function to print error message and exit
fail () {
  echo "!!! $0: $1" >&2
  exit 1
}

## check script is being run from top-level source directory
test "$0" = "./00boot" || fail "must be run from top-level source directory"

## remove M4 cache files
rm -rf autom4te.cache/
rm -f aclocal.m4

# FIXME: autoreconf from Ubuntu 9.10 (and probably also from recent
# Debian versions) automatically run libtoolize with the --copy option
# therefore over writing the supplied libtool scripts with system
# version. This can lead to unexpected build failures therefore to work
# round this "feature" we set the LIBTOOLIZE enviroment variable to
# point to the the true executable which bypasses the running of
# libtoolize, this will not effect the vast majority of users and those
# it will effect will know how to run libtoolize, if required.

## run autoreconf
AUTORECONF=${AUTORECONF:-"autoreconf"}
echo "00boot: running ${AUTORECONF}"
LIBTOOLIZE=true ${AUTORECONF} || fail "${AUTORECONF} failed"

echo "
==================================================
00boot has been run successfully.
Now run './configure' with appropriate options
to configure LALSuite.
==================================================
"

问题是这两个文件都存在于lalsuite/lalframe/src中。为什么控制台会说它们不存在/找不到它们,我如何解决这个问题?提前感谢。

您从哪个目录运行
autoreconf
命令?从lalsuite,即具有00boot的文件夹。在lalsuite内部有一个lalframe,它包含两个有问题的文件。请尝试从项目目录的根目录运行它。
autoreconf.ac
显然需要内容Ly00Boot在层次结构中较低,因此我不明白为什么它找不到这两个文件。YSC,我不知道你说的是什么意思。你从哪个目录运行
autoreconf
命令?从lalsuite,带00boot的文件夹。在lalsuite内部有一个lalframe,它包含两个有问题的文件。请尝试从项目目录的根目录运行它。
autoreconf.ac
显然需要内容Ly00Boot在层次结构中较低,因此我不明白为什么它找不到这两个文件。YSC,我不知道你说的是什么意思。