RE: [gtk-list] Re: FW: Re: GLib 1.2.2
- From: kenny leong <leongtk tcie com my>
- To: "'gtk-list redhat com'" <gtk-list redhat com>
- Subject: RE: [gtk-list] Re: FW: Re: GLib 1.2.2
- Date: Fri, 14 May 1999 16:41:24 +0800
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.
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).
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??)
Is that any step I missed.
HELP ME...
Kenny Leong
-----Original Message-----
From: Erik Mouw [SMTP:J.A.K.Mouw@its.tudelft.nl]
Sent: Thursday, May 13, 1999 8:28 PM
To: gtk-list@redhat.com
Subject: [gtk-list] Re: FW: Re: GLib 1.2.2
On Thu, 13 May 1999 14:47:13 +0800, gtk-list@redhat.com (kenny leong) wrote:
> it's working fine and finally GTK had installed. But when I compiled a simple
> program which in the tutorial, I got a error message something like unable to
> find "glibconfig.h". (I'm using RH5.2)
>
> the command line :
>
> gcc base.c -o base 'gtk-config --cflags --libs'
^ ^
| |
Use back quotes (`), not normal quotes ('):
gcc base.c -o base `gtk-config --cflags --libs`
This is really becoming a FAQ.
Erik
--
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/
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
application/ms-tnef
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]