Code::Blocks Forums

User forums => Help => Topic started by: reyn on August 10, 2009, 03:04:48 pm

Title: Errors happen while installing codeblocks on linux 64-bit
Post by: reyn on August 10, 2009, 03:04:48 pm
Please Help!
while I made codeblocks8.0.2 from source ,errors were found! It showed:
../../../src/include/scriptingmanager.h:67:   instantiated from here
/usr/lib/gcc/x86_64-asianux-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_tree.h:389: error: 'struct std::_Rb_tree_node<wxString>' has no member named '_M_value_field'
make[3]: *** [tinywxuni.lo] error 1
make[3]: Leaving directory `/usr/local/codeblocks-8.02/src/base/tinyxml'
make[2]: *** [all-recursive] error 1
make[2]: Leaving directory `/usr/local/codeblocks-8.02/src/base'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/usr/local/codeblocks-8.02/src'
make: *** [all-recursive] error 1

My way to  install wxGTK :
su - root
./configure --prefix=/usr/local/wx/2.8 --enable-xrc --enable-monolithic --enable-unicode
make
make install

I added this to /etc/profile :export PATH=$PATH:/usr/local/wx/2.8/bin
su - root

install codeblocks :
./configure --prefix=/usr/local/codeclocks802 --enable-contrib
make

Errors happend here!

Who knows how to resolve this problem,please?
(My  linux's kernel:2.6.9 ,64-bit.  GCC's version:3.4.6 )
Title: Re: Errors happen while installing codeblocks on linux 64-bit
Post by: SharkCZ on August 19, 2009, 08:54:55 am
What distro are you running? If it is RHEL4 or CentOS4 (as I am guessing from kernel and gcc versions) then you can install C::B 8.02 from the Fedora EPEL (http://fedoraproject.org/wiki/EPEL) repository.