Page 1 of 2

install

Posted: Mon Oct 14, 2013 7:11 pm
by mauro
Hello, I have successfull installed wxWidgets 2.95 and codelite on Linux Ubuntu 13.04 raring distro,following http://codelite.org/LiteEditor/Repositories. I have also checked Codelite with an example and it runs good . Now I would install wxcrafter,but I am not able. I ve tried both stabdlone and plugin version but without success.Can you explain step by step how install wxcratfer plugin under Linux ?
Thanks

Re: install

Posted: Mon Oct 14, 2013 8:58 pm
by eranif
Hi Mauro,

When using the repositories as described here
You only need to install it like this:

Code: Select all

sudo apt-get install codelite wxcrafter
wxCrafter is part of the repositories of codelite and from there you should be able to install it.

Eran

Re: install

Posted: Tue Oct 15, 2013 10:09 pm
by mauro
hello, I have done "sudo apt-get install codelite wxcrafter" , but codelite crashes
So when I launch Codelite , now a messagebox is diplayed : "COdelite Crash Handler" Codelite crashed;you may attach to it using gdb........"

How do I solve this problem?

Re: install

Posted: Tue Oct 15, 2013 10:22 pm
by eranif
I am guessing it is an installation problem.
Can you run codelite under gdb?

Open a terminal and type:

Code: Select all

$> gdb /usr/bin/codelite
(gdb) run
and when codelite crashes, print the backtrace like this:

Code: Select all

(gdb) bt
Please paste the content here

Eran

Re: install

Posted: Wed Oct 16, 2013 1:05 pm
by mauro
Hi, here is the results:

mauro@mauro-HP-Compaq-6830s:~$ gdb /usr/bin/codelite
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/codelite...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/codelite
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xb3779b40 (LWP 2491)]
[New Thread 0xb2dffb40 (LWP 2492)]
[New Thread 0xb22a3b40 (LWP 2493)]
[New Thread 0xb18ffb40 (LWP 2494)]
[Thread 0xb22a3b40 (LWP 2493) exited]
[New Thread 0xb22a3b40 (LWP 2496)]
[New Thread 0xb0fadb40 (LWP 2497)]
[Thread 0xb22a3b40 (LWP 2496) exited]
[New Thread 0xb068cb40 (LWP 2502)]
[New Thread 0xafe8bb40 (LWP 2503)]
[New Thread 0xaf68ab40 (LWP 2504)]
[New Thread 0xaee89b40 (LWP 2505)]
[New Thread 0xae688b40 (LWP 2506)]
[New Thread 0xade87b40 (LWP 2507)]
[New Thread 0xad686b40 (LWP 2508)]
[New Thread 0xa921cb40 (LWP 2509)]
[New Thread 0xa84bbb40 (LWP 2512)]
[Thread 0xa84bbb40 (LWP 2512) exited]
[New Thread 0xa7cbab40 (LWP 2516)]
[Thread 0xa7cbab40 (LWP 2516) exited]
[New Thread 0xa734bb40 (LWP 2517)]
[New Thread 0xb22a3b40 (LWP 2525)]

Program received signal SIGSEGV, Segmentation fault.
0x0823cffa in std::list<StyleProperty, std::allocator<StyleProperty> >::operator=(std::list<StyleProperty, std::allocator<StyleProperty> > const&) ()

(gdb) bt
#0 0x0823cffa in std::list<StyleProperty, std::allocator<StyleProperty> >::operator=(std::list<StyleProperty, std::allocator<StyleProperty> > const&) ()
#1 0xb5c147f3 in LexerConf::Apply(wxStyledTextCtrl*, bool) ()
from /usr/lib/i386-linux-gnu/codelite/libplugin.so
#2 0xa740cae8 in ZoomText::UpdateLexer(wxString const&) ()
from /usr/lib/i386-linux-gnu/codelite/ZoomNavigator.so
#3 0xa740cbad in ZoomText::OnThemeChanged(wxCommandEvent&) ()
from /usr/lib/i386-linux-gnu/codelite/ZoomNavigator.so
#4 0xb6f4e636 in wxAppConsoleBase::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const ()
from /usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-2.9.so.4
#5 0xb6f4e9af in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const ()
from /usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-2.9.so.4
#6 0xb70b1946 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
from /usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-2.9.so.4
#7 0xb70b1d70 in wxEvtHandler::SearchDynamicEventTable(wxEvent&) ()
from /usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-2.9.so.4
#8 0xb70b1e19 in wxEvtHandler::TryHereOnly(wxEvent&) ()
from /usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-2.9.so.4
#9 0xb70b1eb4 in wxEvtHandler::ProcessEventLocally(wxEvent&) ()
from /usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-2.9.so.4
---Type <return> to continue, or q <return> to quit---

Re: install

Posted: Wed Oct 16, 2013 1:09 pm
by eranif
Hi,

Try deleting your ~/.codelite/ directory and see if it helps (it does for 99% of the cases)

Eran

Re: install

Posted: Wed Oct 16, 2013 3:24 pm
by mauro
there are several codelite directories :
1) usr / share /codelite
2) usr /lib / i386-linux-gnu / codelite
3) usr / share / doc / codelite

Which of them must delete?

Re: install

Posted: Wed Oct 16, 2013 4:17 pm
by eranif
mauro wrote:Which of them must delete?
~/.codelite

which usually expands to:

Code: Select all

/home/<username>/.codelite
Eran

Re: install

Posted: Wed Oct 16, 2013 4:43 pm
by mauro
sorry,do you mean that directory used for installation (codelitegit ) ?

Re: install

Posted: Wed Oct 16, 2013 4:46 pm
by eranif
No, when you first start codelite, it will create a directory where it keeps all your preferences (user specific settings)
Under Linux, this directory is created under /home/mauro/.codelite (this is the Linux standard location for such settings )

Try and delete this folder

Eran