Hi
I'm not sure whether this is the right place to post, so please tell me if not.
Let me begin by saying I am impressed with Code::Blocks in just about every way, except with compiling it under Linux.
I don't know what half-baked tool you use to create the source tarball, but for both RC1 and RC2, source and sdk tarballs, I get "lone zero block at ..." errors when untarring. All the files are there, though.
RC1 won't compile now (it did on an older Linux version) so I'll forget it.
But for RC2, there is no configure. Okay, you use ./autogen or whatever. But the permissions are wrong (644, instead of 755). And if you change them, it still doesn't work ("bad interpreter").
So I typed the commands in that file manually. Then I tried ./configure, only to get
creating Makefile
failed to create Makefile
After about an hour of exotic hacks (like strace -ff -o log ./configure), I determined the problem is that configure.in is in DOS format (\r\n), which causes autoconf to stop parsing
AC_CONFIG_FILES([Makefile^M
...^M
])
after the first ^M.
So I fixed that, and it configured and compiled. Then when I tried to start Code::Blocks from Gnome's menu, I get "failed to recognise text format" and it won't start. When I looked at codeblocks.desktop, there's more ^M's waiting to be deleted.
Now it finally works, but I am an expert in Linux. If it took me one and a half hours, how are other people supposed to figure all this out?
Please make it easier for us Linux users in future versions - at least mention these potential problems somewhere.
Code::Blocks holds a lot of potential, please don't let it go to waste with nightmarishly difficult builds.