Which version of Ubuntu do you use ?
There are wxWidgets2.8.7 packages for dapper, feisty and gutsy and 2.8.6 packages for edgy on the wxWidgets-server (look here how to install them).
If none of the versions work you can try to build it from source.
The Ubuntu-sources are on the same server.
If you have build-dependency problems when you use "dpkg-buildpackage", install all the missing packages in the newest version you get for your Ubuntu-version.
And if you have done this (don't try it without) you can run "dpkg-buildpackage -d" to override the dependencies on special versions. This might work. You can also try to fix the "debian/control"-file to work with your Ubuntu-suite.
Normally a wxWidgets-version for an older Ubuntu-suite should work with yours.
I use wxWidgets for debian-edge on edge, lenny, sid and experimental without problems.
I'm using Ubuntu 7.1 - Gutsy. I partially resolved problemm installing older Code::Blocks from
http://prdownload.berlios.de/codeblocks/CB_20070907_rev4439_Ubuntu6.10+7.04_wx2.8.4.tar.gzI've found info how to add wxWidgets to repository:
build against wxWidgets 2.8.7.1 from:
deb
http://apt.wxwidgets.org/ gutsy-wx main
key-import to apt's trusted keys:
wget -q
http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -
But problem is, that, when i tray to install wxWidgets, it says that i have too old libpango. There isn't any newer in repository. There is newer for Ubuntu Hardy. and here:http://ftp.debian.org/debian/pool/main/p/pango1.0/ I downloaded it, tried to install and the same - it says me i have too old libc6 and libdatrie, i tried install newer libdatrie and the same. ENDLESS CIRCLE !!!
How to simply install wxWidgets 2.8.7.1 without all this complications.
It's not a problem that i have to install wxWidgets from source, but problem that every library need another newer library (or more than one) on lowel level. I would have to do big tree of upgrades to finally install wxWidgets.
Or maybe i can ignore wxWidgets dependency to libpango in some way and install it anyway.
It needs libpango 1.18.3 and I have 1.18.2 version, so maybe 0.00.1 isn't big deal?
If yes can I install it by :
sudo apt-get --force-yes upgrade libwxgtk2.8