pkgsrc-Users archive

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

Re: www/seamonkey build stopped by failure to find nonexistent packages



On Sun, Jul 09, 2017 at 11:02:55PM +0000, Thomas Mueller wrote:
> > Look in the config.log file in the work directory, perhaps it has more
> > details which of the dependencies is/are not found.
> >  Thomas (Klausner)
> 
> I found build/config.log in the work directory (work899.amd64).
> 
> DEBUG: configure:15477: checking for gtk+-2.0 >= 2.18.0 gtk+-unix-print-2.0 glib-2.0 >= 2.22 gobject-2.0 gdk-x11-2.0
> DEBUG: configure: error: Library requirements (gtk+-2.0 >= 2.18.0 gtk+-unix-print-2.0 glib-2.0 >= 2.22 gobject-2.0 gdk-x11-2.0) 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: old-configure failed
> *** Error code 1

That's not helpful :(

> So do I need to export PKG_CONFIG_PATH=/usr/pkg/lib/pkgconfig/ or prefix the build command with env PKG_CONFIG_PATH=/usr/pkg/lib/pkgconfig/ ?

This builds for me in an empty environment with latest pkgsrc.

Try debugging it:

# pkg-config --print-errors --exists gtk+-2.0 >= 2.18.0 gtk+-unix-print-2.0 glib-2.0 >= 2.22 gobject-2.0 gdk-x11-2.0


 Thomas


Home | Main Index | Thread Index | Old Index