Code::Blocks IDE in openSUSE 11.1编译和安装指南

opensuse Again, today I will try to build and install the Code::Blocks, an and free IDE for programming, in my own 11.1 box…;-)
1. First, I need supported in my 11.1 box. In a terminal console:
$ zypper search
I got some information about it as:
正在載入儲存庫資料…
正在讀取已安裝的套件…
S | 名稱 | 摘要 | 類型–+———————–+——————————————————-+———–
| | C++ framework for cross-platform development | 套件
| | C++ framework for cross-platform development | srcpackage
| -compat | Compatibility Package | 套件
| -debuginfo | Debug information for package | 套件
| -debugsource | Debug sources for package | 套件
| -devel | Include files and libraries for development | 套件
| -docs | html documentations | 套件
| -gl | OpenGL add-on for | 套件
| -gl-compat | OpenGL add-on for | 套件
| -lang | Languages for package | 套件
So, I decided to install some packages:

 

$ sudo zypper install -compat -devel -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…;-)

 

Came from: http://weijoewang.blogspot.com/2009/03/codeblocks-ide-in-opensuse-111-build.html

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • Live
  • MySpace
  • RSS
  • Slashdot
  • Technorati
  • TwitThis

Related posts:

  1. Debian Lenny编译wxWidgets与Code::Blocks SVN版
  2. Code::Blocks IDE: 手动安装和配置编译器指南
  3. 加法?减法:CodeLite or Code::Blocks just for another sourceinsight
  4. QT4+MinGW+Code::Blocks IDE集成
  5. Setting up Code::Blocks to work with SDL - 多媒体编程库
  6. 如何在Windows上安装Code Blocks 8.02官方发布版
  7. Debugging with Code::Blocks
  8. Code::Blocks Debug Shortcut and Example
  9. ProjectManager, Project and ProjectFile in Code::Blocks
  10. Code::Blocks编译skyeye步骤

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Contact us

Admin: Bryan Wu