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 @@
# dh_installemacsen
# dh_installpam
dh_installmime
- dh_iconcache
+# dh_iconcache
# dh_installinit
# dh_installcron
# dh_installinfo
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:
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.
1 comment:
Ini IDE favorite saya untuk ngajar C++. saya biasa merekomendasikan IDE ini ke siswa saya, dengan alasan installasi tinggal copy-paste (on windows),lengkap dengan compiler, dah termasuk wxWidget yang merupakan windows toolkit yang keren dan multi platform. kalau untuk di ubuntu ada beberapa masalah, pertama saya egak bisa install debian di notebook saya (wearnes), kedua saya egak yakin wxWidget (UI lib-nya code::block) jalan mulus di debian, walaupun katanya dah bagian dari debian http://packages.debian.org/testing/source/wxwidgets2.6
dan yang lebih parah lagi sekarang eclipse dan netbeans support c++ dah bagus, ada refactoring segala...
Post a Comment