Cyber memos for my personal knowledge.

2009-03-25

Linux kernel 2.6.29 is released

Cool~!

On 2009-03-23 the Linux kernel 2.6.29 is out there~!
Let's find out how many cool stuffs' inside this release.

Message from Linus: click here.

For the changes in 2.6.29: click here.

BTW, I love this new logo - Tuz, it's cute.

2009-03-13

Code::Blocks IDE in openSUSE 11.1-build and install

Again, today I will try to build and install the Code::Blocks, an open source and free IDE for programming, in my own openSUSE 11.1 box...;-)

1. First, I need wxWidgets supported in my openSUSE 11.1 box. In a terminal console:

$
zypper search wxWidgets

I got some information about it as:
正在載入儲存庫資料...
正在讀取已安裝的套件...
S | 名稱 | 摘要 | 類型--+-----------------------+-------------------------------------------------------+-----------
| wxWidgets | C++ framework for cross-platform development | 套件
| wxWidgets | C++ framework for cross-platform development | srcpackage
| wxWidgets-compat | WxWidgets Compatibility Package | 套件
| wxWidgets-debuginfo | Debug information for package wxWidgets | 套件
| wxWidgets-debugsource | Debug sources for package wxWidgets | 套件
| wxWidgets-devel | Include files and libraries for wxWidgets development | 套件
| wxWidgets-docs | WxWidgets html documentations | 套件
| wxWidgets-gl | OpenGL add-on for wxWidgets | 套件
| wxWidgets-gl-compat | OpenGL add-on for wxWidgets | 套件
| wxWidgets-lang | Languages for package wxWidgets | 套件

So, I decided to install some packages:
$ sudo zypper install wxWidgets wxWidgets-compat wxWidgets-devel wxWidgets-lang

System will automatically check your box and tells you about how many new packages would be installed.
Just type your passwoed and hit 'y' to go.

2. Get Code::Blocks source code via SVN. (Or you may want to check this page first):
$ svn checkout svn://svn.berlios.de/codeblocks/trunk svn-trunk/

This will try to checkout the latest Code::Blocks source code trunk to the directory called "./svn-trunk/"
Revision of my code that checked out is 5483.

3. Just read the file inside your truck directory called "BUILD", and now I can build and install it:
$ cd svn-trunk/
$ ./bootstrap

Output message is:
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

$ ./configure --enable-contrib

Output message is a little bit weird but seems fine to go on......
I checked the help page of ./configure but there is no "--enable-contrib" option......:

...
...
configure: WARNING: unrecognized options: --enable-contrib
*************************************************
* Code::Blocks source tree has been configured. *
*************************************************
You can now build Code::Blocks by issuing 'make'.
When the build is complete, become root and install
it by issuing 'make install'.

Finally, we can:
$ make
$ sudo make install

All good to install and play with it...;-)