User forums > Help

Problem in ubuntu wiki.

(1/1)

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:


--- Quote ---To 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.


--- Code: ---sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
--- End code ---

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


--- Code: ---gksudo gedit /etc/apt/sources.list
--- End code ---

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


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

4. Save and close the file.

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


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

sudo apt-key add key.asc

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


--- Code: ---sudo apt-get update

sudo apt-get dist-upgrade
--- End code ---

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

--- Code: ---sudo apt-get install libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers wx-common
--- End code ---


--- End quote ---

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:
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.

Navigation

[0] Message Index

Go to full version