Page 1 of 1

Unable to install on Ubuntu 15.10 wily

Posted: Sat Sep 26, 2015 9:04 am
by steelwil
I have followed the guidelines but I am unable to install, no matter what I try. I have also tried downloading the weekly build but that also does not work. I would appreciate some help.

Code: Select all

sudo apt-get install codelite 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 codelite : Depends: libwxbase3.0-0 (>= 3.0.2) but it is not installable
            Depends: libwxgtk3.0-0 (>= 3.0.2) but it is not installable
            Recommends: lldb (>= 3.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Code: Select all

sudo apt install libwxbase3.0-0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libwxbase3.0-0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libwxbase3.0-0v5:i386 libwxbase3.0-0v5

E: Package 'libwxbase3.0-0' has no installation candidate
/etc/apt/sources.list

Code: Select all

## respective vendors as a service to Ubuntu users.
deb http://repos.codelite.org/wx3.0.2/ubuntu/ utopic universe
# deb-src http://repos.codelite.org/wx3.0.2/ubuntu/ utopic universe
deb http://repos.codelite.org/ubuntu/ vivid universe
# deb-src http://repos.codelite.org/ubuntu/ vivid universe
Thanks

Re: Unable to install on Ubuntu 15.10 wily

Posted: Sat Sep 26, 2015 9:37 am
by eranif
We don't support Ubuntu 15.10 (it was not released yet...)
You can install it from sources (_really_ straight forward on Linux)

See the HOW TO on the Wiki:

http://codelite.org/Developers/Linux

Eran

Re: Unable to install on Ubuntu 15.10 wily

Posted: Sat Sep 26, 2015 7:03 pm
by steelwil
I compiled it and I get an unfortunate core dump

Code: Select all

$ codelite
Aborted (core dumped)

Re: Unable to install on Ubuntu 15.10 wily

Posted: Sat Sep 26, 2015 8:36 pm
by DavidGH
Hi,

You need to run CodeLite inside gdb to find out why. If you're lucky, your current build may give useful results.

If not you'll need a debug CodeLite build. That means rebuilding using the -DCMAKE_BUILD_TYPE=DebugFull cmake option.

Or, if you'd prefer, be patient until a day or two after the wily release, when we'll have had a chance to provide packages. Until then, if wily has its own CodeLite package you could use that.

Regards,

David

Re: Unable to install on Ubuntu 15.10 wily

Posted: Sat Sep 26, 2015 10:15 pm
by steelwil
Hi David. I recompiled using the debug settings and under gdb I get the following

Code: Select all

Starting program: /usr/bin/codelite 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe5144700 (LWP 29093)]
[New Thread 0x7fffe4943700 (LWP 29094)]
[New Thread 0x7fffdffff700 (LWP 29095)]
[Thread 0x7fffe5144700 (LWP 29093) exited]
[New Thread 0x7fffdf7fe700 (LWP 29096)]
[New Thread 0x7fffdeffd700 (LWP 29097)]
[New Thread 0x7fffde7fc700 (LWP 29098)]
[New Thread 0x7fffddffb700 (LWP 29099)]
[New Thread 0x7fffdd7fa700 (LWP 29100)]
[New Thread 0x7fffdcff9700 (LWP 29101)]
[New Thread 0x7fffbbfff700 (LWP 29102)]
[New Thread 0x7fffbb7fe700 (LWP 29103)]
[New Thread 0x7fffbaffd700 (LWP 29104)]
[New Thread 0x7fffba7fc700 (LWP 29105)]
[New Thread 0x7fffb95fa700 (LWP 29108)]
[Thread 0x7fffb95fa700 (LWP 29108) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00007fffa03fbb96 in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-3.7.so.1

Re: Unable to install on Ubuntu 15.10 wily

Posted: Sat Sep 26, 2015 10:23 pm
by steelwil
I got it working :) I un-installed libllvm3.7 so it is now using libllvm3.6v5 seems like it does not like libllvm3.7

But alas now it refuses to compile!

Code: Select all

make[2]: *** No rule to make target '/usr/lib/llvm-3.7/lib/liblldb.so.1', needed by 'lib/LLDBDebugger.so'. Stop.
CMakeFiles/Makefile2:1669: recipe for target 'LLDBDebugger/CMakeFiles/LLDBDebugger.dir/all' failed
make[1]: *** [LLDBDebugger/CMakeFiles/LLDBDebugger.dir/all] Error 2
I then reinstalled libllvm3.7 this time when I un-installed liblldb-3.7 it started working again.