News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

install Code::Blocks on fc7

Started by loskiller, November 22, 2007, 09:08:19 AM

Previous topic - Next topic

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 find . -exec dos2unix {} \; 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 :-)
Code::Blocks package maintainer for Fedora and EPEL