Andrew Benton wrote:
> On Wed, 14 Dec 2011 19:38:36 -0600
> [email protected] wrote:
> 
>> Should pkg-config be listed as a dependency for makedepend?  Upon 
>> compiling makedepend I receive the following:
>>
>>      "The PKG-config script could not be found or is too old.  Make sure 
>> it is in your path or set the PKG_CONFIG environment variable to the 
>> full path to pkg-config.
>>       Alternately, you may set the environment variables X_CFLAGS and 
>> X_LIBS to avoid the need to call pkg-config."
>>
>> I last compiled BLFS on LFS-6.8 without incident.  However, pkg-config 
>> has been removed from LFS-7.0.  If I compile pkg-config prior, 
>> makedepend compiles without error.  ?
> 
> Yes, I think you're right.
> I'll fix it.

Just a comment.  Although it's not convenient, you can always get around 
pkg-config with CFLAGS and LDFLAGS or some other environment settings, 
so strictly speaking, it's not a required dependency.  That said, I have 
no problems with making it required for those packages that use it.

The reason we removed it from LFS is that pkg-config now has a circular 
dependency with glib (and glib has other required packages).  See the 
BLFS glib page.

Personally, I'd like to see pkg-config back in LFS if they drop the glib 
requirement.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to