Code::Blocks Forums

User forums => Help => Topic started by: SnagaDuath on April 15, 2008, 06:09:01 pm

Title: Installation problem on Debian
Post by: SnagaDuath on April 15, 2008, 06:09:01 pm
Hi, I downloaded the debian binaries, but get the following console output:
Code
# dpkg --install codeblocks-dev_8.02_i386.deb
(Reading database ... 117221 files and directories currently installed.)
Preparing to replace codeblocks-dev 8.02 (using codeblocks-dev_8.02_i386.deb) ...
Unpacking replacement codeblocks-dev ...
dpkg: dependency problems prevent configuration of codeblocks-dev:
 codeblocks-dev depends on libcodeblocks0 (= 8.02); however:
  Package libcodeblocks0 is not installed.
dpkg: error processing codeblocks-dev (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 codeblocks-dev

Where do i get libcodeblocks? Thx!
Title: Re: Installation problem on Debian
Post by: Jenna on April 15, 2008, 06:45:27 pm
Where do i get libcodeblocks? Thx!

From the same place you got codeblocks-dev from.

I guess it was a tar-ball.
That should include all necessary deb-packages.

By the way you only need the dev-package if you want to develop for C::B (for example plugin development), not if you develop with C::B.
Title: Installation problem on Debian Lenny
Post by: ETj on April 20, 2008, 03:32:46 am
Hi,

I have some troubles in installing C::B 802 on a debian lenny.
It seems there are some problems in lib versions:
Code
# dpkg --install libcodeblocks0_8.02_i386.deb
(Reading database ... 266407 files and directories currently installed.)
Preparing to replace libcodeblocks0 8.02 (using libcodeblocks0_8.02_i386.deb) ...
Unpacking replacement libcodeblocks0 ...
dpkg: dependency problems prevent configuration of libcodeblocks0:
 libcodeblocks0 depends on libwxbase2.8-0 (>= 2.8.7.1); however:
  Package libwxbase2.8-0 is not installed.
 libcodeblocks0 depends on libwxgtk2.8-0 (>= 2.8.7.1); however:
  Package libwxgtk2.8-0 is not installed.
dpkg: error processing libcodeblocks0 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libcodeblocks0
#


These are the currently available wx* libs:
Code
$ dpkg-query -l libwx*
  -- snip --
ii  libwxbase2.6-0                                                       2.6.3.2.2-2
ii  libwxbase2.6-dev                                                     2.6.3.2.2-2
rc  libwxgtk2.4                                                          2.4.3.1
ii  libwxgtk2.6-0                                                        2.6.3.2.2-2
ii  libwxgtk2.6-dev                                                      2.6.3.2.2-2
$

Is there a way to use the requested 2.8 libs without using the unstable repo?

   TIA,
   Emanuele
Title: Re: Installation problem on Debian
Post by: stahta01 on April 20, 2008, 05:29:12 am
Look at this link
http://jens.lody.name/debian/

It may help.

Tim S
Title: Re: Installation problem on Debian
Post by: ETj on April 20, 2008, 10:48:46 pm
Quote
Look at this link
http://jens.lody.name/debian/

It may help.

Tnx a lot for the link (also to jens for the page itself, of course), it did help indeed :)
However, I wished for a statically linked version of C::B, so to avoid the upgrade of system libraries from "unofficial" sources.
Never mind, guess I can live with it... :)

   Ciao,
   Emanuele
Title: Re: Installation problem on Debian
Post by: Jenna on April 20, 2008, 11:05:07 pm
Quote
Look at this link
http://jens.lody.name/debian/

It may help.

Tnx a lot for the link (also to jens for the page itself, of course), it did help indeed :)
However, I wished for a statically linked version of C::B, so to avoid the upgrade of system libraries from "unofficial" sources.
Never mind, guess I can live with it... :)

   Ciao,
   Emanuele

If you want official (maintained by debian) wxWidgets 2.8.7 you can use the packages from debian experimental, but I guess that it will only work if you have debian unstable installed.