我正在尝试通过使用 git 克隆来安装程序。我在 Ubuntu 14.04.4 LTS 中运行。我使用“git clone”正确获取源代码,但 autoreconf 失败并出现以下错误:
xray@silvia-desktop:~/Software/Gitsrc/simput$ autoreconf --install --verbose
autoreconf2.50: Entering directory `.'
autoreconf2.50: configure.ac: not using Gettext
autoreconf2.50: running: aclocal
autoreconf2.50: configure.ac: tracing
autoreconf2.50: configure.ac: adding subdirectory extlib/cfitsio to autoreconf
autoreconf2.50: Entering directory `extlib/cfitsio'
autoreconf2.50: configure.in: not using Gettext
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf2.50: configure.in: tracing
autoreconf2.50: configure.in: not using Libtool
autoreconf2.50: running: /usr/bin/autoconf
configure.in:175: AC_PROG_CPP was called before AC_PROG_CC
autoconf: Undefined macros:
configure.in:11:AC_CONFIG_SRCDIR([fitscore.c])
configure.in:178: AC_MSG_NOTICE(cfitsio: == Fortran compiler search has been overridden)
configure.in:179: AC_MSG_NOTICE(cfitsio: == Cfitsio will be built without Fortran wrapper support)
configure.in:186: AC_MSG_NOTICE(cfitsio: == Adding wrapper support for GNU Fortran by default)
configure.in:226:AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[void d( int , double) ]])],[PROTO=yes],[PROTO=no])dnl
configure.in:248: AC_LANG_PUSH([C])
configure.in:249: AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],[c_has_option=yes],[c_has_option=no])
configure.in:250: AC_MSG_RESULT($c_has_option)
configure.in:251: AC_LANG_POP([])
configure.in:278: AC_LANG_PUSH([C])
configure.in:279: AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],[c_has_option=yes],[c_has_option=no])
configure.in:280: AC_MSG_RESULT($c_has_option)
configure.in:281: AC_LANG_POP([])
configure.in:288: AC_DEFINE(_LARGEFILE_SOURCE)
configure.in:289: AC_DEFINE(_FILE_OFFSET_BITS,64)
configure.in:304: AC_DEFINE(_LARGEFILE_SOURCE)
configure.in:305: AC_DEFINE(_FILE_OFFSET_BITS,64)
configure.in:309: AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <stdio.h>],
configure.in:311: AC_DEFINE(_LARGEFILE_SOURCE)
configure.in:312: AC_DEFINE(_FILE_OFFSET_BITS,64)
configure.in:313: AC_MSG_RESULT(yes)
configure.in:314: ],[AC_MSG_RESULT(no)])
configure.in:323: AC_DEFINE(_LARGEFILE_SOURCE)
configure.in:324: AC_DEFINE(_FILE_OFFSET_BITS,64)
configure.in:454:AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
configure.in:458:AC_DEFINE(HAVE_FTRUNCATE)
configure.in:459:AC_MSG_RESULT("yes")
configure.in:460:],[AC_MSG_RESULT("no") ])
configure.in:467:AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>
configure.in:471:AC_DEFINE(HAVE_LONGLONG)
configure.in:472:AC_MSG_RESULT("yes")
configure.in:473:],[AC_MSG_RESULT("no") ])
configure.in:488:AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <sys/ipc.h>
configure.in:497:AC_DEFINE(HAVE_SHMEM_SERVICES)
configure.in:499:AC_MSG_RESULT("yes")
configure.in:500:],[AC_MSG_RESULT("no") ])
configure.in:509:AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/fcntl.h>
configure.in:513:AC_DEFINE(HAVE_FLOCK_T)
configure.in:514:AC_MSG_RESULT("yes")
configure.in:515:],[AC_MSG_RESULT("no") ])
configure.in:519: AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/flock.h>
configure.in:523: AC_DEFINE(HAVE_FLOCK_T)
configure.in:524: AC_MSG_RESULT("yes")
configure.in:525: ],[AC_MSG_RESULT("no") ])
configure.in:534:AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/ipc.h>
configure.in:53: AC_DEFINE(BUILD_HERA)
configure.in:540:AC_DEFINE(HAVE_UNION_SEMUN)
configure.in:541:AC_MSG_RESULT("yes")
configure.in:542:],[AC_MSG_RESULT("no") ])
configure.in:552: AC_DEFINE(HAVE_NET_SERVICES)
configure.in:561: AC_DEFINE(_REENTRANT)
configure.in:566:AC_CONFIG_FILES([Makefile])
configure.in:568:AC_CONFIG_FILES([cfitsio.pc])
configure.in:572:AC_MSG_RESULT([])
configure.in:573:AC_MSG_RESULT([ Congratulations, Makefile update was successful.])
configure.in:574:AC_MSG_RESULT([ You may want to run \"make\" now.])
configure.in:575:AC_MSG_RESULT([])
configure.in:64: AC_DEFINE(GSIFTP_FLAVOUR,1,[Define Globus Toolkit architecture])
configure.in:79: AC_DEFINE(HAVE_GSIFTP,1,[Define if you want Globus Toolkit gsiftp protocol support])
configure.in:93: AC_DEFINE(HAVE_BZIP2,1,[Define if you want bzip2 read support])
configure.in:98: AC_DEFINE(HAVE_BZIP2,1,[Define if you want bzip2 read support])
autoreconf2.50: /usr/bin/autoconf failed with exit status: 1
我一直在这个网站和其他网站上搜索。我发现问题可能与 libtool 的旧版本有关,或者与未安装它有关,但我已经检查过了,并且我的 libtool 包是最新的。我也更新了自动工具。
有趣的一点是,我尝试将它安装在我安装在虚拟机中的其他计算机上的 Debian 中,并且我得到了同样的错误,所以这似乎与我在系统一般配置中犯的错误有关...
我一直在和小伙伴讨论安装没有问题,在做outoreconf的时候得到这个输出:
lenovo:~/tmp/simput> autoreconf --install --verbose
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory extlib/cfitsio to autoreconf
autoreconf: Entering directory `extlib/cfitsio'
autoreconf: configure.in: not using Gettext
aclocal: warning: autoconf input should be named 'configure.ac', not
'configure.in'
autoreconf: configure.in: tracing
任何想法?
非常感谢!