Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 394713

Summary: www-servers/varnish-3.x lacks dev-util/pkgconfig DEPEND
Product: Gentoo Linux Reporter: Lance Albertson (RETIRED) <ramereth>
Component: Current packagesAssignee: www-servers Herd (OBSOLETE) <www-servers+disabled>
Status: RESOLVED FIXED    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lance Albertson (RETIRED) gentoo-dev 2011-12-14 18:26:08 UTC
While building varnish-3.0.2 I encountered the following error:

checking for PCRE... no
configure: error: in `/var/tmp/portage/www-servers/varnish-3.0.2/work/varnish-3.0.2_build':
configure: error: 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.
Alternatively, you may set the environment variables PCRE_CFLAGS
and PCRE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details

Installing pkgconfig seems to fix it which needs to be added as a DEPEND.

Reproducible: Always
Comment 1 Tim Harder gentoo-dev 2011-12-14 20:16:05 UTC
Fixed in CVS. It also looks like varnish has some automagic deps that previous maintainers overlooked, but I'll patch that later.