On 6/3/06, Angel Tsankov <[EMAIL PROTECTED]> wrote:
During configuration of WvStreams 4.2.2 I get this:

checking for pkg-config... no

configure: error: pkg-config is not installed

Do I need to install pkg-config to build WvStreams 4.2.2? The BLFS book as of 
2006-05-31 says that OpenSSL-0.9.8b is the only
required package for WvStreams 4.2.2.

Looks like the configury is just backwards.  It only uses pkg-config
to find out about xplc.  So, after it looks for pkg-config, it's
supposed to error if you said you wanted to build xplc and warn if you
didn't.  Actually, the configury is all screwed up in this piece of
junk.

It's trying to decide whether you're using an external xplc or you're
going to use the one bundled with wvstreams.  Attached is a patch that
seems to work.  Also, you could probably work around this bug with a
`touch /usr/bin/pkg-config' and then removing later.

--
Dan
--- wvstreams-4.2.2/configure.bak	2006-06-03 22:03:43.000000000 +0000
+++ wvstreams-4.2.2/configure	2006-06-03 22:30:58.000000000 +0000
@@ -11327,7 +11327,7 @@ echo "${ECHO_T}no" >&6
 fi
 
 if test "$PKGCONFIG" = "no"; then
-    if test "$with_xplc" = ""; then
+    if test "$with_xplc" != "no" && test "$with_xplc" != ""; then
 	{ { echo "$as_me:$LINENO: error: pkg-config is not installed" >&5
 echo "$as_me: error: pkg-config is not installed" >&2;}
    { (exit 1); exit 1; }; }
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to