Re: [gtk-list] Re: FW: Re: GLib 1.2.2



On Fri, 14 May 1999 16:41:24 +0800, gtk-list@redhat.com (kenny leong) wrote:
> Thanks Erik, Michael.K.Johnson and Robert 
> 
> Now I can compiled the base.c by :
> 
> gcc base.c -o base $(gtk-config --cflags --libs)
> 
> thanks again..
> 
> BUT now I upgrade the GLIB & GTK to 1.2.3
> 
> Configure glib 1.2.3 no problem.
> 
> I edit /etc/ld.so.conf .. add a line /usr/local/lib and run ldconfig.
> 
> Configure gtk 1.2.3 ........problem....
>      GLIB 1.2.* not found.

Silly question: did you compile and install glib before you edited
/etc/ld.so.conf? If you did that, are you sure that /usr/local/bin is in
your path? To add it to your path:

  csh/tcsh: set path = ( /usr/local/bin $path ) ; rehash
  sh/bash: PATH=/usr/local/bin:$PATH ; export PATH

> Few days ago I tried configure gtk 1.2.2 by using :
>      LD_LIBRARY_PATH=/usr/local/lib:/lib:/usr/lib:/usr/X11R6/lib
>      Export LD_LIBRARY_PATH
> 
> The result was perfect. But 1.2.3 can't. Next I do is:
>      ./configure --with-glib-prefix=/usr/local
> I works!
> 
> But now problem again in compiling the base.c :
> 
> gcc base.c -o base $(gtk-config --cflags --libs)
> 
> There's a lot of lines prompt out(I guess it's compiling line -- something
> missing or not found).

So what exactly is missing or is not found?

> Do I did something wrong??? HELP!.....now I re-installed RH5.2 again. I can
> compile the base.c again. 
> (Actually I don't know how to uninstall in Linux environment - got problem
> re-install = BAD IDEA right - anyone can help on this??)

To uninstall gtk, simply type "make uninstall" in the gtk source
directory. Re-installing Linux is not neccessary, Linux is not like
Windows where you have to use the "three R method"[1] to get things done ;-).


Erik

[1] Retry, Reboot, Reinstall

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2785859  Fax: +31-15-2781843  Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/




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