我一直在尝试在我的fed 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
# # /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
要解决此问题,请使用vi或vim打开脚本Esc,然后以vi命令模式(键)进入,然后输入以下命令:
Esc
:set fileformat=unix
最后保存
:x! 要么 :wq!
:x!
:wq!