GNU ccRTP installation error(bad interpreter ??)
Hi All,
I am using OpenSuSE 11.0. Today I downloaded GNU ccRTP software and tried to install it. I went inside the directory and typed ./configure to start the installation process as told in the "readme" and "install" file. Bur I got the following error : bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory Then I looked again in the "install" file and it was written that for older machines use " sh ./configure". Although my computer is new, I decided to use it and got the following error: sh ./configure : command not found1: (lol funny ! see the "1" at the end of "found") ./configure: line 19: Syntax error near unexpected token `elif' ./configure: line 19: `elif test -n "${BASH_VERSION+set}" && (set -o posix) >/de'/null 2>&1; then Please tell me how can I install it |
Can you post the first 30 or so lines of the configure script, ideally in CODE tags so it looks pretty? CODE tags are available in Advanced post editing via the # icon.
|
Code:
#! /bin/sh |
Hi ! I got some small help by searching, but that does not solve the problem. I think, it will help you in suggesting something to me. Somewhere this was writen:
"Apparently if a shell script gets opened and saved in notepad it will not run anymore. A simple dos2unix fixed the problem." Since I downloaded it from internet, it may be possible that it was infected with the "notepad" problem somewhere. So, I did "dos2unix configure" and then I run " ./configure". It worked for a while and then stopped, giving some errors. I looked at the errors and undertood that some other file was also corrupted in the same way. I did dos2unix on some files and again run ./config. this time, it worked for a longer time, but it stopped at last giving errors. Like this, I converted several files and tried. But how long can I do like this? It is still giving errors.Is there a way to make the whole folder compatible by directly doing "dos2unix" or any other way? |
Is written to run under lots of shells (smart coding!) but your /bin/sh is gagging on it.
What is your /bin/sh and sh? Please post output from Code:
type sh Code:
#!/bin/bash |
Quote:
Code:
find . -type f -exec dos2unix {} \; Code:
find . -type f -iname '*.sh' -exec dos2unix {} \; |
Hi ! I downloaded from other site. But here is an explanation how it was corrupted. I downloaded the tar file and uncompresses in the Windows computer(because only that is connected to the internet !) and then transfered to Linux pc.That introduced the corruption. This time, I uncompressed in the Linux.So, there was no problem. But now something serious happened. Here is the error.
Code:
linux-904e:/home/linux3/RTP/ccrtp-1.5.1 # ./configure |
Hi ! I dowloaded and installed libcommoncpp2 as a remedy for the error "No package 'libccgnu2' found" . But still the error remains same. Even though I saw that libccgnu2-1.7.so.0 is present in the /usr/lib. Why is it not detecting it?
|
All times are GMT -5. The time now is 05:52 PM. |