Subject: pkg/33881: dovecot configure stage fails
To: None <email@example.com, firstname.lastname@example.org,>
From: None <email@example.com>
Date: 07/01/2006 00:55:00
>Synopsis: dovecot configure stage fails
>Arrival-Date: Sat Jul 01 00:55:00 +0000 2006
>Originator: Jason Lingohr
Linux fully 2.4.31 #7 Wed Jul 20 16:40:54 EST 2005 i686 i686 i386 GNU/Linux
When trying to build from current pkgsrc tree, dovecot (and possibly others) fails to finish the configure phase with the following error:
checking for SSL... 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 SSL_CFLAGS
and SSL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
See `config.log' for more details.
*** Error code 1
bmake: stopped in /usr/pkgsrc/mail/dovecot
bmake clean clean-depends && bmake
If I add:
to the pkg's Makefile, it builds and installs perfectly.
I'm not sure if this is the right fix, but it seems to me that if a pkg uses pkg-config, the Makefile should be told about it. I'm happy to be corrected if I'm wrong.