CodeLite and wxCrafter

CodeLite installation/troubleshooting forum
marklar12
CodeLite Curious
Posts: 1
Joined: Mon Feb 03, 2020 4:31 pm
Genuine User: Yes
IDE Question: C++
Contact:

CodeLite and wxCrafter

Post by marklar12 »

Can this be fixed?
The code shows what I'm trying to do and (for those that understand) why I can't.

Code: Select all

sudo apt-add-repository 'deb https://repos.codelite.org/ubuntu/ artful universe'
phil@phil-OptiPlex-380 ~ $ sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]         
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease                            
Hit:3 http://repos.codelite.org/wx3.0.4/ubuntu xenial InRelease                    
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]           
Hit:5 http://archive.canonical.com/ubuntu xenial InRelease                         
Ign:6 http://packages.linuxmint.com sylvia InRelease                               
Get:7 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]         
Hit:8 http://packages.linuxmint.com sylvia Release                                
Get:10 https://repos.codelite.org/ubuntu artful InRelease [2,855 B]               
Get:11 https://repos.codelite.org/ubuntu artful/universe amd64 Packages [1,250 B]
Get:12 https://repos.codelite.org/ubuntu artful/universe i386 Packages [1,271 B]
Fetched 312 kB in 3s (89.5 kB/s) 
Reading package lists... Done
phil@phil-OptiPlex-380 ~ $ sudo apt-get install codelite wxcrafter
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: libclang1-4.0 (>= 1:4.0-3~) but it is not going to be installed
            Depends: libhunspell-1.6-0 but it is not installable
            Depends: libwxbase3.0-0v5 (>= 3.0.3.1+dfsg2) but it is not going to be installed
            Depends: libwxgtk3.0-0v5 (>= 3.0.3.1+dfsg2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: CodeLite and wxCrafter

Post by eranif »

Have you tried running from the command line:

Code: Select all

sudo apt-get -f install
Eran
Make sure you have read the HOW TO POST thread
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: CodeLite and wxCrafter

Post by DavidGH »

I'm not entirely sure I qualify as one of 'those that understand' ;) .

Assuming your /etc/apt/sources.list is sane, you are running Mint Sylvia, which is based on xenial. I don't package for Mint itself, but the xenial packages should install and work without a problem. The current xenial CodeLite/wxCrafter from our repo is 13.0, the latest release.

However you just added artful, for which we provide CodeLite 12.0; there's no reason to expect that to install on a xenial-based system (it might but it's not tested, let alone guaranteed.)

To add to my confusion, apt is complaining (inter alia) about libwx*3.0-0v5 (>= 3.0.3.1+dfsg2) which are official debian wx packages. Our repo contains CodeLite packages which are built against, and contain, our unofficial wx packages (the xenial 13.0 ones use wx3.1.0) and so do not depend on wx3.0.3.

Perhaps you could explain a little more about your situation; in particular, what is your distro/version, why add artful, and what does apt (or synaptic or...) say are the available CodeLite and wxWidgets packages and which are preferred?

Regards,

David
Post Reply