Building codelite from sources

CodeLite installation/troubleshooting forum
minterg
CodeLite Curious
Posts: 5
Joined: Sun Aug 25, 2013 7:12 am
Genuine User: Yes
IDE Question: C++
Contact:

Building codelite from sources

Post by minterg »

Running Linux version 3.8.0-19-generic (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ), wxWidgets2.9.5
Following the instructions at http://codelite.org/Developers/HomePage
Step 1 succeeds (all the way through "make -j8") but 'clang.so' is nowhere to be found following the successful build.

Alternate methods fail:
- codelite-5.2 from tarball contains no 'configure' script.
- codelite from git repository contains no 'configure' script.
- codelite-5.2-gtk.src.tar.gz contains a configure script, but fails the build: ../ScaledDC.cpp:21:119: error: cannot allocate an object of abstract type ‘wxSFDCImplWrapper’
- codelite by apt repositories: sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc succeeds, but
sudo apt-add-repository 'deb http://repos.codelite.org/ubuntu/ raring universe' results in:
Cannot add PPA: 'No JSON object could be decoded'.

So by my count that is five different methods, all fail.
Does codelite community actually *want* a userbase?
More to the point, what is the easiest way to install the latest codelite (currently 5.2)?
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Building codelite from sources

Post by DavidGH »

Following the instructions at http://codelite.org/Developers/HomePage
Step 1 succeeds (all the way through "make -j8") but 'clang.so' is nowhere to be found following the successful build.
Did you really build according to exactly that page? It provides links to each platforms build howto, plus the extra info about building clang for those few people who need their own one. So for Linux you should have gone to http://codelite.org/Developers/Linux.
Alternate methods fail:
- codelite-5.2 from tarball contains no 'configure' script.
- codelite from git repository contains no 'configure' script.
True. As the above link explains, CodeLite now uses cmake.
- codelite-5.2-gtk.src.tar.gz contains a configure script, but fails the build: ../ScaledDC.cpp:21:119: error: cannot allocate an object of abstract type ‘wxSFDCImplWrapper’
The only 'configure' that 'find' can find is sdk/wxsqlite3/configure, which isn't for CodeLite itself.
- codelite by apt repositories: sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc succeeds, but
sudo apt-add-repository 'deb http://repos.codelite.org/ubuntu/ raring universe' results in:
Cannot add PPA: 'No JSON object could be decoded'
.
I don't know why you got that error message. I just tested that line on ubuntu raring: it worked fine.

Regards,

David
Post Reply