User forums > Help

Cannot Build Code::Blocks 12.11 from source on CentOS 4.8

<< < (2/2)

Uskok:
Maybe I could help.

I had the similar problem with RedHat 4.x and this is company development environment for the old projects and it is not possible to upgrade the machine.
Compiler is too old to build Code::Blocks as is mention before.

Original compiler (3.4.6) is enough to build wxWidgets, and this you can do in company machine.
I made my own virtual machine with RedHat 4.x, compile once more wxWidgets, replace the compiler with new version from RedHat 5.x (4.1.2, build from sources) and then is possible to compile Code::Blocks. There is one part in the code, insert of debug menu for default compiler and produce assert, but if this is removed, Code::Blocks is running in RedHat 4.x

Now I have one machine where I could compile Code:Blocks and only what I need is to copy Output folder to the another machines with wxWidgets.

Even you can pack own version of output directory together with copy of
libwx_gtk2u-2.8.so.0 -> libwx_gtk2u-2.8.so.0.8.0
libwx_gtk2u-2.8.so.0.8.0
libwx_gtk2u_stc-2.8.so.0 -> libwx_gtk2u_stc-2.8.so.0.8.0
ibwx_gtk2u_stc-2.8.so.0.8.0

And this is working on every RedHat 4.x because the rest of the so are not changed.

You cannot compile Code::Blocks in CentOS  5.x or CentOS 6.x and expect to work in CentOS 4.x.

Navigation

[0] Message Index

[*] Previous page

Go to full version