User forums > Help

I'm too dumb to install Code::Blocks under GNU/Linux

<< < (2/3) > >>

Bloop:
Been there done that. Isn't that the CVS way? Now look:

Your bootstrap in the root of your tar is not executable! When made executable or executed with "sh bootstrap" I get:

$ sh bootstrap
: command not found
: command not found
: command not found
: command not found
bootstrap: line 41: syntax error: unexpected end of file

Am I really the only one with this kind of problem?

Note:
I took the tarbal from here: http://www.codeblocks.org/downloads.shtml
I selected :
Code::Blocks sources

.tgz format
Filesize: 2,742,954 Bytes | Version: 1.0rc2
MD5 Hash: 425c700feb77d22b1b85b1061d2504d9

I do have the right file, do I?Or Am I trying to install the windows version?

Anyway thank you for your quick answer.

Regards Bloop

takeshimiya:
You need to have autotools (autoconf/automake) installed and the correct versions (be sure to check it).

There was some ebuild in the forums also, you may want to look at it.

Bloop:
Already done that after reading through the bootstrap script.


--- Code: ---# Deal with some gentoo-specific issues
export WANT_AUTOMAKE='1.7'
export WANT_AUTOCONF='2.5'

## Using prereq in autoconf rather than here, mostly for the debian systems at
## this point
if test -z "`autoconf --version 2>&1|head -n 1|egrep '2.5'`"; then
        echo "Autoconf 2.50 or above is required. Aborting build...";
    exit 1;
fi

if test -z "`automake --version 2>&1|head -n 1|egrep '1.[7-9]'`"; then
        echo "Automake 1.7 or above is required. Aborting build...";
        exit 1;
fi


--- End code ---

So bootstrap should tell me if automake and autoconf are missing. This is not the case, neither does bootstrap tell me, nor do I lack the right scripts:

autoconf     
autoconf-2.13       
autoconf-2.59   

automake   
automake-1.4
automake-1.5   
automake-1.6 
automake-1.7
automake-1.8
automake-1.9     

Could someone just download the tar an take a look at it? I have the feeling noone understands me.

I am checking the ebuild option right now! Thanks for that idea!

Regards Bloop

gfgfd:
I updated wiki entry for compiling Code::Blocks in Gentoo. See if that helps.. And someone could spell check my engrish :D

gfgfd:

--- Quote from: mandrav on October 25, 2005, 11:24:05 pm ---Also, someone mentioned he had problems because of the line endings.
Although it's not happening for me, here's the proposed solution (use it if you get weird errors in bootstrap):


--- Code: ---find . -type f -and -not -name "*.png" -and -not -name "*.bmp" | sed "s/.*/\"\\0\"/" | xargs dos2unix

--- End code ---

--- End quote ---

This messed up some source files :( So instead use:

--- Code: ---find . -type f -and -not -name "*.cpp" -and -not -name "*.h" -and -not -name "*.png" -and -not -name "*.bmp" | sed "s/.*/\"\\0\"/" | xargs dos2unix

--- End code ---
After this it builds just fine.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version