Author Topic: Problem in ubuntu wiki.  (Read 3756 times)

wuffur

  • Guest
Problem in ubuntu wiki.
« on: August 07, 2007, 09:13:55 pm »
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

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

Code
gksudo gedit /etc/apt/sources.list

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

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

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


P.S: Sorry for my bad english).

Offline cstudent

  • Almost regular
  • **
  • Posts: 159
    • Cstudent's Help Desk
Re: Problem in ubuntu wiki.
« Reply #1 on: August 07, 2007, 10:43:13 pm »
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

  • Guest
Re: Problem in ubuntu wiki.
« Reply #2 on: August 08, 2007, 08:24:33 pm »
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.

Offline cstudent

  • Almost regular
  • **
  • Posts: 159
    • Cstudent's Help Desk
Re: Problem in ubuntu wiki.
« Reply #3 on: August 08, 2007, 08:57:12 pm »
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.
« Last Edit: August 08, 2007, 09:49:50 pm by cstudent »

Offline cstudent

  • Almost regular
  • **
  • Posts: 159
    • Cstudent's Help Desk
Re: Problem in ubuntu wiki.
« Reply #4 on: August 09, 2007, 03:23:23 pm »
Instructions on Wiki for Ubuntu have been updated.