Monday, October 25, 2021

[SOLVED] Installing Issue in the Debian-Linux Server

Issue

I am trying to install Kyoto Cabinet in the Debian-Linux Server by using this commands. However, when I execute

./configure

Command, it gives error

-bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory

Can anybody help me why is this happening and how to solve this issue ? Or any idea why this error can happen ?


Solution

Because of the ^M character, the configure file is probably using Windows-style line endings.

Try to convert it to use UNIX-style:

dos2unix configure

or in vi type:

:set fileformat=unix

than save the script and try again.



Answered By - hovanessyan