User forums > Using Code::Blocks
Install C::B latest STABLE version on Debian Squeeze - Dependencies issues
Léa Massiot:
Hello.
I'm trying to install the lasted C::B STABLE version on Debian Squeeze.
I've downloaded:
--- Code: ---codeblocks_12.11-1_amd64-debian-stable.tar.bz2
codeblocks-dbg_12.11-1_i386-debian-stable.tar.bz2 (squeeze)
--- End code ---
at this address:
http://www.codeblocks.org/downloads/26#linux64
I've unzipped and untared these two archives.
I got the following ".deb" files:
--- Code: ---codeblocks_12.11-1_amd64.deb
codeblocks-common_12.11-1_all.deb
codeblocks-contrib_12.11-1_amd64.deb
codeblocks-contrib-common_12.11-1_all.deb
codeblocks-contrib-dbg_12.11-1_amd64.deb
codeblocks-dbg_12.11-1_amd64.deb
codeblocks-dev_12.11-1_amd64.deb
codeblocks-headers_12.11-1_all.deb
codeblocks-libwxcontrib0_12.11-1_amd64.deb
codeblocks-wxcontrib-dev_12.11-1_amd64.deb
codeblocks-wxcontrib-headers_12.11-1_all.deb
libcodeblocks0_12.11-1_amd64.deb
libwxsmithlib0_12.11-1_amd64.deb
libwxsmithlib0-dev_12.11-1_amd64.deb
wxsmith-dev_12.11-1_amd64.deb
wxsmith-headers_12.11-1_all.deb
--- End code ---
I put these files in "/usr/local/codeblocks".
I tried:
--- Code: ---root> dpkg -i *.deb
--- End code ---
I have dependencies problems.
So, I read I should install the ".deb" packages in a certain order...
I started with "libcodeblocks0_12.11-1_amd64.deb" which apparently depends on:
--- Code: ---libwxbase2.8-0 (>= 2.8.12.1)
libwxgtk2.8-0 (>= 2.8.12.1)
--- End code ---
It seems that there is a problem as I have only a 2.8.10 version available on my system:
--- Code: ---root> apt-cache show libwxbase2.8-0
[...]
Source: wxwidgets2.8 (2.8.10.1-3)
Version: 2.8.10.1-3+b1
[...]
--- End code ---
Yet, I installed that package despite everything:
--- Code: ---root> apt-get install libwxbase2.8-0
--- End code ---
and ran:
--- Code: ---root> dpkg -i libcodeblocks0_12.11-1_amd64.deb
Selecting previously deselected package libcodeblocks0.
(Reading database ... 55687 files and directories currently installed.)
Unpacking libcodeblocks0 (from libcodeblocks0_12.11-1_amd64.deb) ...
dpkg: dependency problems prevent configuration of libcodeblocks0:
libcodeblocks0 depends on libwxbase2.8-0 (>= 2.8.12.1); however:
Package libwxbase2.8-0 is not installed.
libcodeblocks0 depends on libwxgtk2.8-0 (>= 2.8.12.1); however:
Package libwxgtk2.8-0 is not installed.
dpkg: error processing libcodeblocks0 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libcodeblocks0
--- End code ---
I even tried:
--- Code: ---root> dpkg -i --force-depends *.deb
root> apt-get install -f
--- End code ---
The latest command execution results in the cancellation of all that was done after the first command was complete.
It looks like to me that I won't be able to install this stable C::B on my stable Debian installation (as I do not want testing or unstable things on my computer...)
Can you confirm this or tell me how to install properly C::B (STABLE)?
Thank you.
P.S. I won't install a nightly build instead.
Jenna:
I used the wxWidgets-packages from apt.wxwidgets.org for building.
It looks like I missed to remove the sources.list entry for it, when actual stable was released.
I just started a rebuild of the stable packages against debians wxWidgets-packages, if they are ready I will reupload the packages when they are ready.
Léa Massiot:
Okay. I'm looking forward to the new stable release.
Can you let me know here when it's ready (and where)?
Thank you.
Jenna:
--- Quote from: Léa Massiot on January 11, 2013, 10:27:52 pm ---Okay. I'm looking forward to the new stable release.
Can you let me know here when it's ready (and where)?
Thank you.
--- End quote ---
You can download the 12,11-2 release-files for stable from our download site or use my repo.
Instructions how to use it can be found on my server (see signature).
@MortenMacFly:
can you upload the 12.11-2 files for debian stable to sourceforge ?
dfatcb:
Yeah, I'm trying to update through the synaptic package manager and having problems, no matter what codeblocks part I try to update it has dependency issues .. for example:
codeblocks:
Depends: libcodeblocks0 (=12.11svn8710-1) but 10.05-1 is to be installed
Depends: libwxbase2.8-0 (>=2.8.12.1) but 2.8.10.1-3+b1 is to be installed
Depends: libwxgtk2.8-0 (>=2.8.12.1) but 2.8.10.1-3+b1 is to be installed
Depends: codeblocks-common (=12.11svn8710-1) but 10.05-1 is to be installed
Navigation
[0] Message Index
[#] Next page
Go to full version