This is a discussion on GTK2 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Is it easy to upgrade SL81 (with GTK1.2) to GTK2? Thanks JB...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| On Wed, 05 Nov 2003 08:15:46 +0100, J Boehm wrote: > Is it easy to upgrade SL81 (with GTK1.2) to GTK2? Yes. Just bare in mind that (I'm pretty sure of this, not 100% though), GTK2 does NOT replace GTK1.2... You need both of them. You can for instance not satisfy a 1.2 dependency with GTK2.x. But the installation itself is rather simple. Just standard. Good luck. -- Erik L erik@metalab.unc.edu Sweden |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 J Boehm wrote: > Is it easy to upgrade SL81 (with GTK1.2) to GTK2? I just did a source build, no problems. The site points to all the dependancies you'll need. Leave the 1.2 stuff on there for the std. apps compiled against it. Blumf -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/qMJlMid3IcxolsoRAmlDAJ9Cfz8Is3EJ7E3dm04LSrcNPSu9Og CeOOWg 83UR8/Ntmx4tgykrrK4ChhU= =Uiuh -----END PGP SIGNATURE----- |
| |||
| Erik L wrote: > On Wed, 05 Nov 2003 08:15:46 +0100, J Boehm wrote: > >> Is it easy to upgrade SL81 (with GTK1.2) to GTK2? > > Yes. Just bare in mind that (I'm pretty sure of this, not 100% though), > GTK2 does NOT replace GTK1.2... You need both of them. luckily it is very simple to have both of them installed together. i installed gtk+2 from source, with gtk+1.2 installed. the presence of gtk+1.2 never interfered with the build of gtk+2, and when i now compile a program that requires gtk+, it just picks the right version (or sometimes you can specify the version). getting gtk+2 on an 8.1 system is not difficult, but it does take some work, because it depends on a lot of other packages that 8.1 does not have. like i said, i did this in the past two weeks, installing gtk+2 on a mixed 8.1/9.0 system, so let me outline what i did. (i'd give you my packages, but they're for powerpc, so i doubt they're of any use to you.) first, i compiled xfree86 4.3.0. i heard gtk+2 is more stable with this version, and i wanted the xft support. for xfree86 4.3.0 to compile, i needed freetype and expat. freetype should be built during the build of xfree86, if you use Pat's build script, but that didn't work for me, so i built it by hand first. (actually, i ended up not using Pat's build script at all for xfree86.) it may work for you, though. then i compiled glib2, which (i think) is needed for gtk+2. then i compiled atk and pango, which are required by gtk+2. then i compiled gtk+2, and then gdk-pixbuf. the easiest way to do all this is to get the source and build or Slackbuild scripts plus any additional stuff for the required packages from your favourite slackware mirror. then get slacktrack from <http://www.interlude.org.uk/unix/slackware/>. slacktrack will run the build scripts for you and create a package out of them. (note that the <package>.build scripts do not create packages, only the <package>.Slackbuild scripts do.) before you install a package created with slacktrack, check it thoroughly, by less-ing the package and by examining the log file created by slacktrack. slacktrack normally does not terminate when an error occurs, so you always end up with a package, but if something went wrong, it won't contain the programs you were trying to compile. -- Joost Kremers since when is vi an editor? a discussion on vi belongs in comp.tools.unusable or something... ;-) |
| ||||
| On Wed, 05 Nov 2003 11:56:20 +0100, Erik L wrote: > On Wed, 05 Nov 2003 08:15:46 +0100, J Boehm wrote: > >> Is it easy to upgrade SL81 (with GTK1.2) to GTK2? > > Yes. Just bare in mind that (I'm pretty sure of this, not 100% though), > GTK2 does NOT replace GTK1.2... You need both of them. You can for > instance not satisfy a 1.2 dependency with GTK2.x. > > But the installation itself is rather simple. Just standard. > > Good luck. Many thanks JB |