[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep configure bug
From: |
Mike Hanafey |
Subject: |
grep configure bug |
Date: |
Wed, 16 Oct 2002 09:21:41 -0400 (EDT) |
Summary
=======
libpcre is available but configure thinks it is not.
Reason
======
Test command is something like:
% cc ... -lpcre -L/usr/local/lib -lpcre
ld: fatal: library -lpcre: not found
The -lpcre before the -L is a library not found.
Platform
========
SunOS suncity 5.8 Generic_108528-13 sun4u sparc SUNW,Sun-Blade-1000
Patch
=====
The following patch fixed the problem.
% gdiff -u configure.orig configure
--- configure.orig Wed Mar 13 10:23:52 2002
+++ configure Wed Oct 16 09:16:19 2002
@@ -8782,7 +8782,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpcre $LIBS"
+LIBS="$LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
+--------------------------------------------+
| Mike Hanafey |
| DuPont Ag Products |
| Delaware Technology Park, Suite 200/206 |
| 1 Innovation Way, PO BOX 6104 |
| Newark, DE 19714-6104 |
| Phone: (302)631-2608 Fax: (302)631-2607 |
| Email: address@hidden |
+--------------------------------------------+
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grep configure bug,
Mike Hanafey <=