I'm about to commit the split out, so most of the OS/Distro/Release specific
stuff will be in separate files...
Here's RH9's:
$ cat configureextra/LINUXredhat9
#!/bin/sh
echo " Setting RedHat 9 specific flag values"
echo
echo "*******************************************************************"
echo "*"
echo "* WARNING: Under RedHat Linux 9.0 (and 8.0 with updated glibc"
echo "* rpms), there have been reported problems due to"
echo "* the inclusion of NPTL (new POSIX Thread Library)"
echo "* including mysterious crashes, broken debug, etc."
echo "*"
echo "*>>> Continuing, but well, y'all been warned..."
echo "*"
echo "*??? 1. ntop 2.2.3 (cvs versions after xx-Jul-2003) have all"
echo "*??? the known fixes."
echo "*??? or 2. Before both ./configure AND make, set the following flag:"
echo "*??? export LD_ASSUME_KERNEL=2.4.1"
echo "*??? (This forces the use of the old linuxthreads library)"
echo "*"
echo "*******************************************************************"
echo
HAS_WARNING="yes"
It wouldn't be hard to add a test something like this:
rc=`grep -c krb5 /usr/include/openssl/ssl.h`
if test $rc -eq 0; then
CPPFLAGS="-I/usr/kerberos/include/ ${CPPFLAGS}"
fi
or
if test -f /usr/kerberos/include/krb5.h; then
CPPFLAGS="-I/usr/kerberos/include/ ${CPPFLAGS}"
fi
The beauty is you only have to retest in a RH9 environment, since you're not
changing configure
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of B. Loic
Sent: Thursday, August 14, 2003 12:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [Ntop-dev] Building with openssl : can't find existing
ssl.h
> Given that most people running ntop don't have Kerberos installed - (why
> would you on a stand alone monitoring machine?), I'm disinclined to change
> configure.in/configure. It starts us down a slippery slope of 'just one
> more special case', which is how we got into trouble in the first place
OK, no pb.
In fact kerberos was installed with the other packages from RH9, I didn't
take
time to remove the unnecessary ones.
Regards,
Lo�c
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev