Re: upgrade from GTK 1.2 to a recent 2.x



  First,Gtk 2.0 can be install in Linux system without affecting your old 
gtk1.2 app and library!
I think it's rather simple to get gtk 2.0 installed in your pc. First your 
should get glib2.0/pango1.0/atk1.0/gtk2.0.0 source archieves from www.gtk.org 
and then compile them in sequence and install them.Here is an example order
   1. glib2.0 
       ./configure 
       make
       make install
   2.pango 1.0
       ./configure 
       make
       make install
   3.atk 1.0
      ./configure
       make 
       make install
   4.gtk2.0 (last step)
        ./configure 
        make 
        make install 
    all the share object install in /usr/local/lib ,so edit your 
/etc/ld.so.conf to make sure /usr/local/lib in it
    
     For an test ,you can run ./testgtk in gtk2.0/test directory.
That's all ,good luck to u




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]