pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45409: pkg-config not installed in time

>Number:         45409
>Category:       pkg
>Synopsis:       pkg-config not installed in time
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 27 13:45:00 +0000 2011
>Originator:     Jörn Clausen
University of Bielefeld
Compilation of x11/libxcb just failed for me:

configure:11743: checking for XCBPROTO
configure:11750: $PKG_CONFIG --exists --print-errors "xcb-proto >= 1.6"
Package xcb-proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `xcb-proto.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xcb-proto' found

Yet x11/xcb-proto was actually installed.

It turned out that devel/pkg-config was missing, instead /usr/bin/pkg-config 
was used, which did not know about xcb-proto - but about other native packages. 
So it might be possible that native libraries were used in the packages 
installed so far, instead of their pkgsrc counterparts.

Both x11/xcb-proto and x11/libxcb define "USE_TOOLS+=pkg-config", but this 
seems not to trigger the installation of devel/pkg-config. Has something 
changed wrt to this in the past? I have never had this problem before.


Home | Main Index | Thread Index | Old Index