LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-18-2002, 10:52 PM   #1
Floppy
LQ Newbie
 
Registered: Feb 2002
Posts: 10

Rep: Reputation: 0
gtk 2.0


Is it possible to compile programs with gtk 2.0 that depend on gtk-config being in $PATH?
Apparently gtk 2.0 uses pkg-config which does the same thing I guess, but only better.

Do I have to have a gtk >= gtk 1.2 but <= gtk 2.0?

I tried compiling gvim, but it doesn't find the appropriate gtk 2.0 stuff even if I force it to use gtk. So, vim defaults to this rather ugly user interface called athena.

I also tried compiling xmms, but had the same problems with gtk-config.

Are gtk 2.0 and gtk 1.2 compatible or do I have to wait for the developers of xmms and vim to include support for gtk 2.0.

What gtk version do you have on your LFS system?
Thanks for your support
 
Old 03-19-2002, 11:05 PM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Re: gtk 2.0

Quote:
Originally posted by Floppy
Is it possible to compile programs with gtk 2.0 that depend on gtk-config being in $PATH?
Apparently gtk 2.0 uses pkg-config which does the same thing I guess, but only better.

Do I have to have a gtk >= gtk 1.2 but <= gtk 2.0?

I tried compiling gvim, but it doesn't find the appropriate gtk 2.0 stuff even if I force it to use gtk. So, vim defaults to this rather ugly user interface called athena.

I also tried compiling xmms, but had the same problems with gtk-config.

Are gtk 2.0 and gtk 1.2 compatible or do I have to wait for the developers of xmms and vim to include support for gtk 2.0.

What gtk version do you have on your LFS system?
Thanks for your support
gtk-2 and gtk-1 are not compatible. The reason for the major version number increase is that they use totally new interfaces, API's and whatever else is new. An app has to be specifically written for gtk-2 for it to work.

For that reason I'm still using gtk-1.2.10 on my LFS system.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz Oholiab Slackware 8 09-18-2005 11:57 AM
GTK source install doesn't give gtk-config Feebles Linux - Software 4 06-15-2005 12:51 PM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 12:46 AM
GTK error when starting gtk-chtheme Dswissmiss Linux - Software 1 10-01-2004 11:53 PM
compiling gaim/ gtk error (two versions of gtk) webazoid Linux - Software 0 07-06-2004 06:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration