News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

How to install CodeBlock on Centos

Started by alexchen, April 20, 2013, 02:29:56 AM

Previous topic - Next topic

alexchen

I download CodeBlock 12.11 today to a Centos 6.4 64-bit machine.  The package is codeblocks-12.11-1.el6.x86_64.tar.bz2.
After I unpack it, I have the following rpm files: codeblocks-12.11-1.el6.x86_64.rpm, codeblocks-contrib-devel-12.11-1.el6.x86_64.rpm, codeblocks-contrib-12.11-1.el6.x86_64.rpm, and codeblocks-devel-12.11-1.el6.x86_64.rpm
When I try to install it, I encountered the following errors.  What other packages do I need to download to get it installed?

Thanks.
Alex
=========== error messages =============
$ rpm -i codeblocks-12.11-1.el6.x86_64.rpm
warning: codeblocks-12.11-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 6eeb25c9: NOKEY
error: Failed dependencies:
   libwx_baseu-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_baseu-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_baseu-2.8.so.0(WXU_2.8.2)(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_baseu_net-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_baseu_net-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_baseu_xml-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_baseu_xml-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_gtk2u_adv-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_gtk2u_adv-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_gtk2u_aui-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_gtk2u_aui-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_gtk2u_aui-2.8.so.0(WXU_2.8.5)(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_gtk2u_core-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_gtk2u_core-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_gtk2u_core-2.8.so.0(WXU_2.8.5)(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_gtk2u_html-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_gtk2u_html-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_gtk2u_qa-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_gtk2u_richtext-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_gtk2u_xrc-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   libwx_gtk2u_xrc-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-12.11-1.el6.x86_64
   wxGTK >= 2.8.0 is needed by codeblocks-12.11-1.el6.x86_64

$ rpm -i codeblocks-devel-12.11-1.el6.x86_64.rpm
warning: codeblocks-devel-12.11-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 6eeb25c9: NOKEY
error: Failed dependencies:
   codeblocks(x86-64) = 12.11 is needed by codeblocks-devel-12.11-1.el6.x86_64
   libcodeblocks.so.0()(64bit) is needed by codeblocks-devel-12.11-1.el6.x86_64

$ rpm -i codeblocks-contrib-12.11-1.el6.x86_64.rpm
warning: codeblocks-contrib-12.11-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 6eeb25c9: NOKEY
error: Failed dependencies:
   codeblocks(x86-64) = 12.11 is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libcodeblocks.so.0()(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_baseu-2.8.so.0()(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_baseu-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_baseu_net-2.8.so.0()(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_baseu_net-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_baseu_xml-2.8.so.0()(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_baseu_xml-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_gtk2u_adv-2.8.so.0()(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_gtk2u_adv-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_gtk2u_aui-2.8.so.0()(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_gtk2u_aui-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_gtk2u_aui-2.8.so.0(WXU_2.8.5)(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_gtk2u_aui-2.8.so.0(WXU_2.8.9)(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_gtk2u_core-2.8.so.0()(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_gtk2u_core-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_gtk2u_core-2.8.so.0(WXU_2.8.1)(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_gtk2u_core-2.8.so.0(WXU_2.8.5)(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_gtk2u_html-2.8.so.0()(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_gtk2u_html-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_gtk2u_qa-2.8.so.0()(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_gtk2u_richtext-2.8.so.0()(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_gtk2u_richtext-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_gtk2u_xrc-2.8.so.0()(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64
   libwx_gtk2u_xrc-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-contrib-12.11-1.el6.x86_64


$ rpm -i codeblocks-contrib-devel-12.11-1.el6.x86_64.rpm
warning: codeblocks-contrib-devel-12.11-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 6eeb25c9: NOKEY
error: Failed dependencies:
   codeblocks-contrib(x86-64) = 12.11 is needed by codeblocks-contrib-devel-12.11-1.el6.x86_64
   libwxchartctrl.so.0()(64bit) is needed by codeblocks-contrib-devel-12.11-1.el6.x86_64
   libwxcustombutton.so.0()(64bit) is needed by codeblocks-contrib-devel-12.11-1.el6.x86_64
   libwxflatnotebook.so.0()(64bit) is needed by codeblocks-contrib-devel-12.11-1.el6.x86_64
   libwximagepanel.so.0()(64bit) is needed by codeblocks-contrib-devel-12.11-1.el6.x86_64
   libwxkwic.so.0()(64bit) is needed by codeblocks-contrib-devel-12.11-1.el6.x86_64
   libwxled.so.0()(64bit) is needed by codeblocks-contrib-devel-12.11-1.el6.x86_64
   libwxsmithlib.so.0()(64bit) is needed by codeblocks-contrib-devel-12.11-1.el6.x86_64
   libwxspeedbutton.so.0()(64bit) is needed by codeblocks-contrib-devel-12.11-1.el6.x86_64
   libwxtreelist.so.0()(64bit) is needed by codeblocks-contrib-devel-12.11-1.el6.x86_64

stahta01

Does wxWidgets 2.8 support 64 bits on your OS?
It DOES not support 64 bit on Windows.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

alexchen

CodeBlock binary I downloaded is for 64-bit.  But it needs wxGTK 2.8 ( I found from the last line in the error message ).
wxGTK only has Ubuntu binary build. I tried to build it from source code but it failed because it depends on GTK+.  This thing is snowballing now.

stahta01

Why are you NOT using the CB 32 bit build?
Because it almost have to have a Code::Blocks 32 bit build if they have a 64 bit build.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Jenna

wxWidgets supports 64 bit on linux, and you can not use 32-bit binaries easily.
You need wxGTK from repoforge to install C::, see my server or repoforge directly.

Using a self-build wxWidgest will most likely fail, due to different build-parameters.