源码

首页 » 归档 » 源码 » linux – ./configure:/ bin / sh ^ M:错误的解释…

linux – ./configure:/ bin / sh ^ M:错误的解释…


参见英文答案 > Are shell scripts sensitive to encoding and line endings?????????????????????????????????????5个
我一直在尝试在我的12系统上安装lpng142.对我来说似乎是一个问题.我收到这个错误

[root@localhost lpng142]# ./configure
bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory
[root@localhost lpng142]# 

我该如何解决? / etc / fstab文件:

#
# /etc/fstab
# Created by anaconda on Wed May 26 18:12:05 2010
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/VolGroup-lv_root /                       ext4    defaults        1 1
UUID=ce67cf79-22c3-45d4-8374-bd0075617cc8 /boot                   ext4    
defaults        1 2
/dev/mapper/VolGroup-lv_swap swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
(0)

本文由 投稿者 创作,文章地址:https://blog.isoyu.com/archives/linux-configure-bin-sh-mcuowudejieshi.html
采用知识共享署名4.0 国际许可协议进行许可。除注明转载/出处外,均为本站原创或翻译,转载前请务必署名。最后编辑时间为:9 月 16, 2019 at 08:35 下午

热评文章