Page 1 of 1

Build Issue

Posted: Thu Sep 02, 2010 8:22 pm
by suresht
Hi Eran,

I am compiling Code Lite 2.7.0.4375 (downloaded today) on a Linux FC11 (Linux xxx.com 2.6.30.8-64.fc11.i686.PAE #1 SMP Fri Sep 25 04:56:58 EDT 2009 i686 i686 i386 GNU/Linux)

and get the following error. I updated wxWidgets recently before this build, attached is the file with errors cl.zip.

When I try to install using RPM and execute codelite get the following error.
~/Download $ codelite
codelite: symbol lookup error: /usr/lib/codelite/libcodeliteu.so: undefined symbol: _ZN9SingletonI8LanguageE11ms_instanceE

Could you please help.

thanks,
Suresh

Re: Build Issue

Posted: Thu Sep 02, 2010 8:32 pm
by eranif
You can not compile codelite with wxWidgets built as static library. You need to compile against the shared library version of wxWIdgets.

Eran

Re: Build Issue

Posted: Thu Sep 02, 2010 9:30 pm
by suresht
thanks for the Response, corrected the vxWidgets and Build process is fine.

Trying to execute codelite reports the following error,
Problem:1
~/Compilations/codelite-2.7.0.4375/Runtime $ ./codelite: Symbol `_ZTV12wxBufferedDC' has different size in shared object, consider re-linking
./codelite: Symbol `_ZTV10wxClientDC' has different size in shared object, consider re-linking
./codelite: Symbol `_ZTV10wxMemoryDC' has different size in shared object, consider re-linking
./codelite: Symbol `_ZTV17wxBufferedPaintDC' has different size in shared object, consider re-linking
Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.4,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6).

Problem:2
sudo make install reported the following error
~/Compilations/codelite-2.7.0.4375 $ sudo make install
Uninstalling CodeLite
installing CodeLite
cp: failed to preserve ownership for `/home/XXXX/Desktop/codelite.desktop': Operation not permitted
make: *** [core_install] Error 1
~/Compilations/codelite-2.7.0.4375 $

sorry for being such a novice user.

Re: Build Issue

Posted: Thu Sep 02, 2010 9:48 pm
by eranif
About the first problem: I suggest that you do this:

Code: Select all

./configure && make clean && make
And see if it helps

Eran

Re: Build Issue

Posted: Thu Sep 02, 2010 10:09 pm
by suresht
no improvement, same issue.

do you think, if I cleanup the wxWidgets and clean compile and try again? I am using wxWidgets-2.8.11.

regards,
Suresh

Re: Build Issue

Posted: Fri Sep 03, 2010 11:11 am
by eranif
Yes, you should perform clean and try and build wxwidgets again

Eran