News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Problem in ubuntu wiki.

Started by wuffur, August 07, 2007, 09:13:55 PM

Previous topic - Next topic

wuffur

I think that i found a problem in wiki there:
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Ubuntu
Could someone fix it and replace wxiwidgets 2.8.4.0-0,  with 2.8.4.0-5 repository.
Because there is many problems like that:
(codeblocks:5713): Gtk-CRITICAL **: gtk_window_realize_icon: assertion `info->icon_pixmap == NULL' failed

So i think it`s need to be changed:

QuoteTo install wxWidgets 2.8.4 you need to be using Ubuntu 7.04 (Feisty Fawn) and you need to add the wxWidget repository to your sources.list.

1. Backup your current sources.list first for precaution.

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

2. Open your sources.list in a text editor to edit it.

gksudo gedit /etc/apt/sources.list

3. Add the correct repository for the Ubuntu version you are running to the end of the file.

deb http://apt.wxwidgets.org feisty-wx main

4. Save and close the file.

5. Add the key for apt.wxwidgets.org .

wget http://apt.wxwidgets.org/key.asc

sudo apt-key add key.asc

6. Update your sources.list and run upgrade to make sure everything is up-to-date.

sudo apt-get update

sudo apt-get dist-upgrade


7. Now you're finally ready to install wxWidgets 2.8.4.

sudo apt-get install libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers wx-common



P.S: Sorry for my bad english).

cstudent

If you are following the wiki directions, then you would be installing the latest wxWidgets packages available. I don't see the where the problem is myself.

wuffur

I think that 2.8.4.0-5 version is later than 2.8.4.0-0 and synaptic shows that is.
You may compare it there:
http://apt.tt-solutions.com/ubuntu/dists/feisty/main/binary-i386/
http://apt.wxwidgets.org/dists/feisty-wx/main/binary-i386/
and changing repository helped me and other man to run the CB and compile WxWidget application. I had problem after installation that .h  widget`s file was not where CB looks for them. After reinstall problem solved. And I followed the instructions from wiki first.

cstudent

#3
Well ain't that a kick in the head.  :? According to wxWidgets own download page: http://www.wxwidgets.org/downloads/ there is no mention of the apt.wxwidgets.org repository. But you are right, that repo seems to contain a more up-to-date version of wxWidgets. I'm doing some testing and will get things updated as soon as I can. Thanks for letting me know. :)

EDIT: This might pose a problem. Their Edgy repository has 2.8.4.0-2 and their Feisty repo has 2.8.4.0-5.

cstudent

Instructions on Wiki for Ubuntu have been updated.