./configure 命令完成并出现警告,configure:警告:'missing' 脚本太旧或缺失

./configure 命令完成并出现警告,configure:警告:'missing' 脚本太旧或缺失

运行 ./configure 命令后

sams@sams-desktop:~/Desktop/softwedge-1.0.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/sams/Desktop/softwedge-1.0.0/missing: line 3: $'\r': command not found
/home/sams/Desktop/softwedge-1.0.0/missing: line 5: $'\r': command not found
/home/sams/Desktop/softwedge-1.0.0/missing: line 9: $'\r': command not found
/home/sams/Desktop/softwedge-1.0.0/missing: line 14: $'\r': command not found
/home/sams/Desktop/softwedge-1.0.0/missing: line 19: $'\r': command not found
/home/sams/Desktop/softwedge-1.0.0/missing: line 24: $'\r': command not found
/home/sams/Desktop/softwedge-1.0.0/missing: line 29: $'\r': command not found
/home/sams/Desktop/softwedge-1.0.0/missing: line 47: syntax error near unexpected token `$'in\r''
'home/sams/Desktop/softwedge-1.0.0/missing: line 47: `case "$1" in
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) none
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
configure: error: cannot run /bin/bash ./config.sub

完成时出现错误,然后当我尝试制作文件时显示错误

make: *** No targets specified and no makefile found.  Stop.

我正在附加要安装的文件的超链接

打开此链接并在本页末尾下载 linux 文件

答案1

Linux Version of softwedge-1.0.0.zip档案显然是用 DOS 样式的 CRLF 行结尾创建的。

重新开始,但这次使用unzip -a将文本文件转换为正确的行尾。来自man unzip

   -a     convert  text files.  Ordinarily all files are extracted exactly
          as they are stored (as ``binary'' files).  The -a option  causes
          files  identified by zip as text files (those with the `t' label
          in zipinfo  listings,  rather  than  `b')  to  be  automatically
          extracted  as such, converting line endings, end-of-file charac‐
          ters and the character set itself as necessary.

相关内容