User forums > Help
install Code::Blocks on fc7
(1/1)
loskiller:
Hello,
I've installed wxwidgets 2.8.6 and run ./bootsrap
then hit "bash:./bootstrap /bin/sh^M bad interpreter".
but I find sh in /bin. what can I do?
Jenna:
You have dos/windows line-endings.
Linux tries to find an interpreter called "/bin/sh^M", that does not exist.
Normally if you download a svn-version this should not happen (it does not happen for me at least).
There are some of the .cpp and .h files with dos/windows line-endings, what that doesn't matter. But shellscripts or for example .am-files might be critical.
There is a commandline tool called dos2unix that can be used to convert the line-endings.
On debian it's in a packet calle "tofrodos". I don't know, where you can find it on FC7.
With the tool you can run
--- Code: ---find . -exec dos2unix {} \;
--- End code ---
from the codeblocks-source root directory.
loskiller:
I convert it to Unix, but I have a new problem.
"Autoconf 2.50 or above is required."
my autoconf is 2.61.
SharkCZ:
If an older nightly build is sufficient, then "yum install codeblocks codeblocks-contrib" is all you need. I must publish a newer one :-)
Navigation
[0] Message Index
Go to full version