Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

Status
Not open for further replies.

ashkan_ed

Member level 1
Joined
Jan 2, 2008
Messages
33
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,466
Hi
when I want to execute a configure file, following error occurs,

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

what should I do to remove this error ?
 

config file must be in UNIX format and not DOS. Command "file configure" should tell you if configure is in UNIX format.
 

Hi, ashkan_ed!

If "dos2unix" did not exist, Try to edit it with vi editer ":%s/^M//g".
 
  • Like
Reactions: Fernes

    Fernes

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top