Configure problems in Redhat Linux 5.2

Carter Bullard cbullard at nortelnetworks.com
Tue Apr 27 07:46:59 EDT 1999


Hey Russell,
   So I'm unfortunately running on Redhat Linux 5.0,
without problems, who would have guessed that the
shell would have compatibility problems ;o)  Here is
a patch from Chas Difatta that may fix the problem.

   I have not applied the patch yet, myself, so
please comment if you have problems.

Thanks,

Carter

--- configure	Tue Mar  2 00:30:34 1999
+++ configure.orig	Tue Mar  2 00:25:29 1999
@@ -1797,11 +1797,11 @@
 libpcapdir=""
 lib_dir=./lib
  
-if test -r $lib_dir/libpcap.a; then
+if test -h $lib_dir/libpcap.a ; then
    libpcapfound=yes
 fi
 
-if test ! -d ./libpcap ; then
+if test ! -h ./libpcap ; then
    libpcapdirs=`ls .. | egrep '^libpcap-[0-9]*\.[0-9ab]*' | sed "s/^/..\//"`
    otherdirs="/usr/local/lib /usr/lib ../libpcap .."
    dirs="$libpcapdirs $otherdirs"
@@ -1834,9 +1834,13 @@
 libwrapdir=""
 if test -r $lib_dir/libwrap.a ; then
    libwrapfound=yes
+else
+   if test -h $lib_dir/libwrap.a ; then
+      libwrapfound=yes
+   fi
 fi
 
-if test ! -r ./wrapper ; then
+if test ! -h ./wrapper ; then
    libwrapdirs=`ls .. | egrep '^wrapper|^tcp_wrappers' | sort -ru | sed "s/^/..\//"`
    otherdirs="/usr/local/lib /usr/lib ../libwrap .."
    dirs="$libwrapdirs $otherdirs"

-----Original Message-----
From: Russell Fulton [mailto:r.fulton at auckland.ac.nz]
Sent: Monday, April 26, 1999 8:15 PM
To: Carter Bullard
Subject: Re: RE: detail vs 'summary' mode



On Mon, 26 Apr 1999 18:36:29 -0400 Carter Bullard 
<cbullard at nortelnetworks.com> wrote:

> Hey Russell,
>    Try this version.  It should solve some of your
> problems.
> 

configure doesn't :-(  Here is the end of the run:

checking for ANSI ioctl definitions... + echo configure:1128: checking 
for ANSI ioctl definitions
++ echo ${ac_cv_lbl_gcc_fixincludes+set}
+ eval test "${ac_cv_lbl_gcc_fixincludes+set}" = set
++ test  = set
+ cat
+ eval echo configure:1152: "${CC-cc} -c $CFLAGS $CPPFLAGS 
conftest.$ac_ext 1>&5"
++ echo configure:1152: gcc -c -g -O  conftest.c 1>&5
+ echo configure: failed program was:
+ cat conftest.c
+ rm -rf conftest.c
+ ac_cv_lbl_gcc_fixincludes=no
+ rm -f conftest*
+ echo no
no
+ test no = no
+ unset ac_cv_lbl_gcc_fixincludes
+ echo configure: error: see the INSTALL for more info
configure: error: see the INSTALL for more info
+ exit 1

It is a redhat linux 5.2 box.

Cheers, Russell.



More information about the argus mailing list