R
Rich Grise
Guest
On Mon, 17 Jan 2005 00:26:50 -0500, Chuck Harris wrote:
richgrise@thunderbird:/opt/gEDA/Source/glib-2.4.8
$ cat /etc/slackware-version
Slackware 10.0.0
richgrise@thunderbird:/opt/gEDA/Source/glib-2.4.8
$ uname -a
Linux thunderbird 2.4.26 #6 Mon Jun 14 19:07:27 PDT 2004 i686 unknown unknown GNU/Linux
richgrise@thunderbird:/opt/gEDA/Source/glib-2.4.8
$ find / -name "*.pc" -print 2> /dev/null | wc
120 120 4470
richgrise@thunderbird:/opt/gEDA/Source/glib-2.4.8
$ ls -l /var/log/packages/gtk*
-rw-r--r-- 1 root root 10282 2004-06-26 09:13 /var/log/packages/gtk+-1.2.10-i386-3
-rw-r--r-- 1 root root 45775 2004-06-26 09:13 /var/log/packages/gtk+2-2.4.3-i486-1
richgrise@thunderbird:/opt/gEDA/Source/glib-2.4.8
I'd never heard of .pc files until I stumbled onto this thread, and I've
been a Slacker for a number of years.
But I have heard that Redmond^H^H^H^HHat changes configurations from what
works out of the box, such that you have to use Redmond^H^H^H^HHat RPM's
or it won't install right. There are Slack precompiled packages, or at
least they come with an install script that results in a binary and
configs that are the same as if you'd run ./configure, make, and install
from source. From what I've heard, RH doesn't do it that way. They modify
everything.
This is much too close to the Gates of hell for comfort, for me.
Thanks,
Rich
Here's part of why I don't like Redmond^H^H^H^HHat:Stuart Brorson wrote:
....
* pkg-config. Pkg-config is a configuration utility which reports
back info about what compile and load flags should be set when
building a package. It is not new, nor specific to any distribution.
It's used by configure and make when doing a build. I think it was
introduced by the gtk folks themselves. Here's an example
run, for a totally random package, openssl:
[sdb@localhost /etc]$ pkg-config openssl --cflags
-I/usr/kerberos/include
It returns the compiler flag -I/usr/kerberos/include, which tells gcc
where to find my kerberos/include stuff.
Pkg-config should live on your system too. It calls the gtk2 stuff
"gtk+-2.0", and returns the following:
[sdb@localhost /etc]$ pkg-config gtk+-2.0 --cflags
-I/usr//include/gtk-2.0 -I/usr//lib/gtk-2.0/include
-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr//include/glib-2.0
-I/usr//lib/glib-2.0/include
Try that out on your system too. You should get a similar result.
Pkg-config does live on my system, but it does nothing interesting
because there are no .pc files on my RH9 system. AFAIK there never were.
I have compiled numerous packages, and gEDA is the first I have found
that requires pkg-config. Further, your detection of gtk2 is the only
package in gEDA that ./configure misses. Until I built my first version
of gEDA, PKG_CONFIG_PATH wasn't even set on my machine. (I cannot prove
it, but I don't think it is set by any RH9 system)
richgrise@thunderbird:/opt/gEDA/Source/glib-2.4.8
$ cat /etc/slackware-version
Slackware 10.0.0
richgrise@thunderbird:/opt/gEDA/Source/glib-2.4.8
$ uname -a
Linux thunderbird 2.4.26 #6 Mon Jun 14 19:07:27 PDT 2004 i686 unknown unknown GNU/Linux
richgrise@thunderbird:/opt/gEDA/Source/glib-2.4.8
$ find / -name "*.pc" -print 2> /dev/null | wc
120 120 4470
richgrise@thunderbird:/opt/gEDA/Source/glib-2.4.8
$ ls -l /var/log/packages/gtk*
-rw-r--r-- 1 root root 10282 2004-06-26 09:13 /var/log/packages/gtk+-1.2.10-i386-3
-rw-r--r-- 1 root root 45775 2004-06-26 09:13 /var/log/packages/gtk+2-2.4.3-i486-1
richgrise@thunderbird:/opt/gEDA/Source/glib-2.4.8
I'd never heard of .pc files until I stumbled onto this thread, and I've
been a Slacker for a number of years.
But I have heard that Redmond^H^H^H^HHat changes configurations from what
works out of the box, such that you have to use Redmond^H^H^H^HHat RPM's
or it won't install right. There are Slack precompiled packages, or at
least they come with an install script that results in a binary and
configs that are the same as if you'd run ./configure, make, and install
from source. From what I've heard, RH doesn't do it that way. They modify
everything.
This is much too close to the Gates of hell for comfort, for me.
Thanks,
Rich