Re: gnome and pthreads
- From: "Frank W. Miller" <fwmiller cornfed com>
- To: todd <taf2 lehigh edu>
- Cc: Allin Cottrell <cottrell wfu edu>, gtk-app-devel-list gnome org
- Subject: Re: gnome and pthreads
- Date: Sat, 01 May 2004 13:30:21 -0400
OK, I went and installed everything on my Red Hat disks that evenly
remotely looks like it might be related to Gnome/GTK/GDK development
including the two you mentioned, and still no dice. Any other suggestions?
FM
todd wrote:
Frank W. Miller wrote:
Thank you for the guidance, I apologize for being a Gnome newbie. I
guess I was hoping that this stuff would just work under Red Hat 9
since its a fairly mature distribution if not a little bit dated
now. I guess not.
[fwmiller localhost fwmiller]$ echo $PKG_CONFIG_PATH
[fwmiller localhost fwmiller]$ locate gthread-2.0.pc
[fwmiller localhost fwmiller]$
I'm assuming this means that I don't have these things installed.
Just for grins, heres the output of my gnome-config command
[fwmiller localhost gnome]$ gnome-config --modversion
gnome-libs-1.4.1.2
[fwmiller localhost gnome]$ pkg-config --modversion gthread
1.2.10
So, three questions. First if I need to upgrade, how big a deal is
that, I have not done it before and really dont want to hassle with
it much. Second, what would be the procedure for getting threading
to work with these versions? Third, if I have to link with the newer
versions, I'm assuming that anyone who wants to run this program will
have to have that stuff installed on there system correct?
Thanks again,
FM
Allin Cottrell wrote:
On Fri, 30 Apr 2004, Frank W. Miller wrote:
I'm not sure what you mean by this, does that go in my LDFLAGS or
something? When I execute the command standalone, I get the following
output:
[fwmiller localhost gnome]$ pkg-config gthread-2.0 --cflags --libs
Package gthread-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gthread-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Like it says: if you in fact have glib 2 installed, with its gthread
stuff, then add the directory containing gthread-2.0.pc to your
PKG_CONFIG_PATH. If not, then install it.
Here:
myrtle:~$ echo $PKG_CONFIG_PATH
/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:\
/opt/gtk2/lib/pkgconfig:/opt/gnome/lib/pkgconfig:\
/usr/X11R6/lib/pkgconfig
myrtle:~$ locate gthread-2.0.pc
/opt/gtk2/lib/pkgconfig/gthread-2.0.pc
myrtle:~$ pkg-config gthread-2.0 --libs
-pthread -L/opt/gtk2/lib -lgthread-2.0 -lglib-2.0
Allin Cottrell
seems like you probably don't have the devel packages for redhat
installed.
look for something like glib-devel or gtk+-devel on your redhat CDs if
you have
them otherwise check on rpmfind.net
-todd
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]