I wonder why nobody try to package Code::Blocks, a good, GUI, IDE into Debian. It was wnpp-ed long time ago (April 2005), then abandoned. The easy alternative is to use Ubuntu's which have been actively developed. Instaling them into Debian Sid was very smooth. But then I said to myself, "Why wouldn't I try compile it myself?". I tried, and it was a rather frustrating experience :(
My result so far: succes on Debian Etch AMD64. Big failure on Debian Sid i386. We need this tiny patch to compile it in Debian:
--- codeblocks/debian/rules.orig 2007-04-01 14:15:57 +0700In Sid i386, preparation process by running bootstrap always failed with this uncommunicative error messages:
+++ codeblocks/debian/rules 2007-04-01 14:17:11 +0700
@@ -93,7 +93,7 @@
src/base/tinyxml/Makefile.am:6: Libtool library used but `LIBTOOL' is undefinedSo I tried alternative: run bootstrap on Ubuntu Dapper AMD64, apply above patch, then continue build fakeroot debian/rules binary. Voila! We got a native Debian one!
src/base/tinyxml/Makefile.am:6: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/base/tinyxml/Makefile.am:6: to `configure.in' and run `aclocal' and `autoconf' again.
Update April 4th, 2007
I found the culprit: libtool from experimental. After downgrading back to sid, everything's fine now.