looks like there is a problem with the tar package I can't tets it right now, but perhaps you use the following command to extract the package and tell is how much you see:
tar -xvzf codeblocks1.0rc2.tgz
the option v gives you all the files that where extracted.
hmm. I see that there is a md5 hash created. you can also do "md5sum codblocks1.0rc2.tgz" (I am not sure about the correct for of this, anyone?) and compare it with the md5sum on the downloadpage.
Ok I am using Gentoo here, and I don't think I'm that newbish but your package is not at all fool proof.
./bootstrap (only needed once)
./configure
make
make install (as root)
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):
find . -type f -and -not -name "*.png" -and -not -name "*.bmp" | sed "s/.*/\"\\0\"/" | xargs dos2unix
Already done that after reading through the bootstrap script.
# 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
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
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):
find . -type f -and -not -name "*.png" -and -not -name "*.bmp" | sed "s/.*/\"\\0\"/" | xargs dos2unix
This messed up some source files :( So instead use:
find . -type f -and -not -name "*.cpp" -and -not -name "*.h" -and -not -name "*.png" -and -not -name "*.bmp" | sed "s/.*/\"\\0\"/" | xargs dos2unix
After this it builds just fine.
I think we should also exlude the *.c, *.cxx and *.ico .
find . -type f -and -not -name "*.cpp" -and -not -name "*.h" -and -not -name "*.png" -and -not -name "*.bmp" -and -not -name "*.c" -and -not -name "*.cxx" -and -not -name "*.ico" | sed "s/.*/\"\\0\"/" | xargs dos2unix
These should be all files which shouldn't be converted. The rest should be XML or autotools files.
Or are there any additional files which should be excluded ?
Thanks for this great line of commands (this is why I like Linux, one line and done)
Daniel