Compiling codelite-3.5.5375 centos 5.4

Discussion about CodeLite development process and patches
Patty
CodeLite Curious
Posts: 2
Joined: Wed Oct 02, 2013 5:29 am
Genuine User: Yes
IDE Question: c++
Contact:

Compiling codelite-3.5.5375 centos 5.4

Post by Patty »

Hi,

I've been using an older version of codelite since I'm required to develop on Centos 5.4
I now need to move to another build environment and need to build codelite again.

I've downloaded codelite-3.5.5375 and am stuck at this error:
./sdk/clang/Linux/x86_64/lib/libclang.so: undefined reference to `__longjmp_chk@GLIBC_2.11'

The version of glibc I have is glibc 2.5

I've tried pulling down an older version of libclang.so as mentioned in another post, but that doesn't seem to work.

Is there any chance I can make codelite work in CentOS 5.4?

Thanks, Patty
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Compiling codelite-3.5.5375 centos 5.4

Post by eranif »

You have 2 options here:

Build clang yourself, its staright forward as described in this wiki page

Or: disable clang by using this cmake command:

Code: Select all

cmake -G "Unix Makefiles" -DENABLE_CLANG=0 -DCMAKE_BUILD_TYPE=Release ..
Eran
Make sure you have read the HOW TO POST thread
Patty
CodeLite Curious
Posts: 2
Joined: Wed Oct 02, 2013 5:29 am
Genuine User: Yes
IDE Question: c++
Contact:

Re: Compiling codelite-3.5.5375 centos 5.4

Post by Patty »

Thanks, Erin,

I'm using "make" not "cmake" - one reason for continuing to use an earlier version of codelite. CentOS 5.4 doesn't have the cmake version needed for the current version.

codelite-3.5.5375 is also built using make not cmake.

I've downloaded an earlier version of codelite (codelite-3.0.0.5041) - it doesn't need clang and builds fine. I think I'll just continue down this path.

Thanks for your help.
Patty
Post Reply