User forums > Using Code::Blocks

Cross reference?

<< < (3/3)

Jenna:
Are the packages from apt.wxwidgtes.org visible in your package-manager ?
If not, did you update the lists after adding apt.wxwidgets.org ?

I just tested it on ubuntu 10.04 (under qemu-kvm) and it works as expected.

Did you import the wxwidgets key as described on my site ?
Normally it should warn about untrusted key, but work anyway,
nevertheless it might be wort a try:


--- Code: ---wget -q http://apt.wxwidgets.org/key.asc -O-  | sudo apt-key add -
--- End code ---

erezz:
Yes, those packages are available in the list, and yes, I did run the "wget -q http://apt.wxwidgets.org/key.asc -O-  | sudo apt-key add -" command.

I manually removed the libwxbase package and then I installed the package from apt.wxwidgets.org (via apt-get). Now, I have v2.8.12.0-0, but it looks like I need v2.8.12.1. Here's the new error message:


--- Code: ---root@erez-lx:~/t# apt-get install codeblocks
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:
 codeblocks : Depends: libcodeblocks0 (= 10.05svn7639-1) but it is not going to be installed
              Depends: libwxbase2.8-0 (>= 2.8.12.1) but 2.8.12.0-0 is to be installed
              Depends: libwxgtk2.8-0 (>= 2.8.12.1) but it is not going to be installed
E: Broken packages

--- End code ---

Jenna:
I really don't know what happens there.
I tested it on Ubuntu 11.10 and it works flawlessly.

The lenny-wx repo of apt-wxwidgets.org has 2.8.12.1 in it and if I chose codeblocks and codeblocks-contrib synaptic choses it automagically for me.

Maybe you should try to install it via synaptic (and check whether the appropriate version is available).

erezz:
I think that I understand the problem: if you look at http://apt.wxwidgets.org/dists/natty-wx/main/binary-i386/, you will not find v2.8.12.1. If you look at http://apt.wxwidgets.org/dists/lenny-wx/main/binary-i386/, you will find it (http://apt.wxwidgets.org/dists/lenny-wx/main/binary-i386/libwxbase2.8-0_2.8.12.1-0_i386.deb).

So, I changed the line in /etc/apt/sources.list from "natty" to "lenny" (although I'm running ubuntu 11.04 Natty Narwhal) and was able to install codeblocks. For some reason, they don't like ubuntu 11.04??

Anyway, thanks a lot for your help.

Erez

Jenna:
If you would have read the note for ubuntu users on my page carefully, you would have seen, that I asked you to use the lenny-wx repo for ubuntu.
By the way, the maverick repo contains 2.8.12.1, too, as far as I know.

Navigation

[0] Message Index

[*] Previous page

Go to full version