[syslog-ng]Problem with syslog-ng-1.6.0rc1 configure script on Solaris 8
John Caruso
syslog-ng@lists.balabit.hu
Mon, 07 Apr 2003 15:11:03 -0700
FYI, I just ran into a problem with the syslog-ng-1.6.0rc1 configure
script on Solaris 8. The problem is this set of sed commands:
LIBOL_MAJOR=`echo $LIBOL_VERSION | sed -e
's/^\([0-9]\+\)\.[0-9]\+\.[0-9]\+\(+[0-9]*\)\?$/\1/'`
LIBOL_MINOR=`echo $LIBOL_VERSION | sed -e
's/^[0-9]\+\.\([0-9]\+\)\.[0-9]\+\(+[0-9]*\)\?$/\1/'`
LIBOL_PATCH=`echo $LIBOL_VERSION | sed -e
's/^[0-9]\+\.[0-9]\+\.\([0-9]\+\)\(+[0-9]*\)\?$/\1/'`
These do not work correctly with stock Solaris sed--they simply leave
LIBOL_VERSION unchanged, so that LIBOL_MAJOR/_MINOR/_PATCH are all set to
0.3.9. Of course, this causes the subsequent version test to fail, and
the configure script to stop.
These sed commands work fine with GNU sed, however, so I was able to work
around this by installing GNU sed into /usr/local/bin and putting
/usr/local/bin before /usr/bin on the PATH. So this appears to be just a
hidden dependency on GNU sed. This dependency should probably either be
1) removed in a future release by altering the sed commands, 2) documented
in the INSTALL file, or at least 3) mentioned in the configure script
error message.
- John