Re: help - gtk+2.2.1 and RH8



 Do the following AFTER you reinstall 2.0.6

 (By the way, did you try to start any application that crashed from the
console window ? What was the result ?)


--- Jun Ma <ma_jun1973 yahoo com> wrote:
I also tried using prefix=/usr/lib while configuring. 
  
  1) Intall glib with:
  ./configure --prefix=/opt/gtk2_2_1

  2) Then, after glib is installed, edit your $HOME/.bashrc and add the
following:
  export LD_LIBRARY_PATH=/opt/gtk2_2_1/lib:$LD_LIBRARY_PATH
  export PATH=/opt/gtk2_2_1/bin:$PATH
  export PKG_CONFIG_PATH=/opt/gtk2_2_1/lib/pkgconfig:$PKG_CONFIG_PATH
   3) Open another console window (MAKE SURE it is new console window !) (You
could just source-in your .bashrc, but open another one just in case )

   4) On the new console window, install all the other packages with
     ./configure --prefix=/opt/gtk2_2_1

    5) You are done.


But, it failed again. Do you mean you didn't change
the install path /usr/local/lib, and just use
'export', and then it works? I feel puzzled. Because
how can an application using gtk2.2.1 find the correct
library? 
  The application finds the correct libs based on LD_LIBRARY_PATH environment
variable. Thus you MUST make sure the new gtk-libs path comes first on the list
( thus export LD_LIBRARY_PATH=/opt/gtk2_2_1:$LD_LIBRARY_PATH )
You know, the gtk2.0.6 library will be
firstly found and called. 
  NO, if it was set as above, the new ones will be found first.
And, do you need to run command export everytime you
restart your linux? 

  YES, but it is automatically run when you add to your .bashrc (NOT when you
restart linux, but when you open a new console window.) Therefore, all the
other applications on the system will pickup the libs that came with REDHAT
(when youstart them from the menu/panel), while your applications will pickup
the newer GTK libs.

Regards,
Ma Jun


 --- Harring Figueiredo <harringf yahoo com> µÄÕýÎÄ£º>

 Jun,

 I am running RedHat8.0 and have had no problems. 

 Just to let you know. Let me know if you need any
help setting it up on RH8

 Thanks.
Harring
--- Jun Ma <ma_jun1973 yahoo com> wrote:
It doesn't work. Someone told me to install RH9. I
will. Thank you.

 --- Harring Figueiredo <harringf yahoo com>
µÄÕýÎÄ£º>


 How about exporting LD_LIBRARY_PATH ?

 % export
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH


  HAring.
--- Jun Ma <ma_jun1973 yahoo com> wrote:
While installing gtk2.2.1 to my RedHat8
computer,
I
found the installation path is /usr/local/lib
instead
of /usr/lib. So, after compiling gtk code with
new
API's since gtk 2.2, the application can't run
because
it can't find the lib file in /usr/lib. So,
how to
solve the problem? I have tried to simply copy
lib
file from /usr/local/lib to /usr/lib. then,
the
app
can run. but, many other applications can't
run
e.g.
gedit etc, and cause some vital errors. So,
what
should I do?

Thanks for your help!

Regards,
Ma Jun





_________________________________________________________
Do You Yahoo!? 
ÑÅ»¢Í¨ÍøÂçKTV, ËæʱËæµØÃâ·Ñ¿¨ÀOK~~





http://rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com//chat/index.html

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org




http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators,
forms,
and more
http://tax.yahoo.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org



http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




_________________________________________________________
Do You Yahoo!? 
ÑÅ»¢Í¨ÍøÂçKTV, ËæʱËæµØÃâ·Ñ¿¨ÀOK~~



http://rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com//chat/index.html


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms,
and more
http://tax.yahoo.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org

http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list 

_________________________________________________________
Do You Yahoo!? 
ÑÅ»¢ÑûÄã²ÎÓëCCTV-2¶Ô»°½ÚÄ¿µ÷²é£ºÒƶ¯¡¢ÁªÍ¨¡¢Áéͨ£¬ÒªËµ°®Äã²»ÈÝÒ×

http://rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/cctv_wireless_study
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com



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