Page 1 of 1

Compiling codelite-3.5.5375 centos 5.4

Posted: Wed Oct 02, 2013 10:09 am
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

Re: Compiling codelite-3.5.5375 centos 5.4

Posted: Wed Oct 02, 2013 10:21 am
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

Re: Compiling codelite-3.5.5375 centos 5.4

Posted: Wed Oct 02, 2013 7:02 pm
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