pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/36305: x11/rep-gtk2 misses a dependency upon devel/pkg-config
>Number: 36305
>Category: pkg
>Synopsis: x11/rep-gtk2 misses a dependency upon devel/pkg-config
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 11 04:15:00 +0000 2007
>Originator: Robert Elz
>Release: NetBSD 3.99.15 (pkgsrc current within past 8 hours)
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15
(GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006
kre%jade.coe.psu.ac.th@localhost:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
x11/rep-gtk2 (and hence wm/sawfish) uses pkg-config but
does nothing to make it available. Build fails...
>How-To-Repeat:
Start with a clean /usr/pkg - the easy way (the way i detected
this) is to use pkg_config and start with a (relatively) clean
sandbox. Attempt to build x11/rep-gtk2 (or wm/sawfish which
depends upon x11/rep-gtk2 - this was how I actually found the
problem).
Expect to see ...
checking for GNU msgfmt... /usr/bin/msgfmt
checking for pkg-config... no
*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.
configure: error: Library requirements (glib-2.0 >= 1.3) not met; consider
adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a
nonstandard prefix so pkg-config can find them.
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/x11/rep-gtk2
*** Error code 1
>Fix:
I suspect there's probably a conventional way to cause this
dependency to be satisfied (I suspect it is fairly common) so
I won't bother supplying a useless patch with my way of making
it happen...
A simple workaround is to manually install pkg-config before
building x11/rep-gtk2 (or wm/sawfish). Did that, all OK,
x11/rep-gtk2 still should be fixed..
Home |
Main Index |
Thread Index |
Old Index