News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Installation problems FC4 (failed dependencies)

Started by doublemax, August 03, 2006, 10:21:59 PM

Previous topic - Next topic

doublemax

Hi,

i'm a first time CB user and don't have much Linux experience either...

I tried installing CB_20060802_rev2803_fc4+5.rpm and got these error messages:

error: Failed dependencies:
   libwx_baseu-2.6.so.0 is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586
   libwx_baseu-2.6.so.0(WXU_2.6) is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586
   libwx_baseu_net-2.6.so.0 is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586
   libwx_baseu_net-2.6.so.0(WXU_2.6) is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586
   libwx_baseu_xml-2.6.so.0 is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586
   libwx_baseu_xml-2.6.so.0(WXU_2.6) is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586
   libwx_gtk2u_adv-2.6.so.0 is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586
   libwx_gtk2u_adv-2.6.so.0(WXU_2.6) is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586
   libwx_gtk2u_core-2.6.so.0 is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586
   libwx_gtk2u_core-2.6.so.0(WXU_2.6) is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586
   libwx_gtk2u_core-2.6.so.0(WXU_2.6.2) is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586
   libwx_gtk2u_html-2.6.so.0 is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586
   libwx_gtk2u_html-2.6.so.0(WXU_2.6) is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586
   libwx_gtk2u_qa-2.6.so.0 is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586
   libwx_gtk2u_qa-2.6.so.0(WXU_2.6) is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586
   libwx_gtk2u_xrc-2.6.so.0 is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586
   libwx_gtk2u_xrc-2.6.so.0(WXU_2.6) is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586
   wxGTK >= 2.6.0 is needed by codeblocks-1.0_0.svn.2803-0.fc4+5.i586


I build wxGTK 2.6.3 from the sources, it compiled fine, and i could compile and run the wxWidgets samples.
I ran "make", "make install" and "ldconfig" after the build.
The above libs all exist with the exact filename in /usr/local/lib/

I have no idea what to do now.

TheTuxKeeper

The problem is that RPM doesn't know that you installed wxGTK manually, so it's not installed for it ;)

Why don't you use the wxGTK package out of the extras repository ? Selfcompiling should be the very last option :!:

Perhaps you have to activate the repository, but the repository is preconfigured and usable by yum on every fedora installation.  :)
One way installing wxGTK is opening a terminal (konsole/gnome-terminal/xterm/...) and running yum as root:
sudo yum --enablerepo=extras install wxGTKThis activates the repository only for this time. In graphical frontends like kyum or yumex should be a checkbox to activate the repository.
Nightly builds for openSUSE

doublemax

Thanks for your answer.

Now i used "--nodeps" and forced rpm to install CB. When i start CB now, it complains about a non-matching build of the wxWidgets libraries. Guess i have to build CB from sources, too :)

I only found a source package for the old RC2 version, are the latest sources only available through SVN?

TheTuxKeeper

Quote from: doublemax on August 03, 2006, 11:13:36 PM
Thanks for your answer.

Now i used "--nodeps" and forced rpm to install CB. When i start CB now, it complains about a non-matching build of the wxWidgets libraries. Guess i have to build CB from sources, too :)

I only found a source package for the old RC2 version, are the latest sources only available through SVN?
Using --nodeps is no good idea. It deactivates what RPM is made for (check dependencies).

I think the best way is to delete your selfcompiled wxGTK installation, install wxGTK out of the extras repository and then reinstall codeblocks. That's the most safe and clean way ;)

But though I'll answer your question. Building codeblocks from the sources is described in the wiki: Category:Installing Code::Blocks from source
If you want to have an RPM package as result go to Installing Code::Blocks from source on RPM based distributions
If not Installing Code::Blocks from source on Linux#Getting the latest sources from SVN
Nightly builds for openSUSE