bug-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.0.1 configure fails on FreeBSD, patch included


From: Mark . Burgess
Subject: Re: 2.0.1 configure fails on FreeBSD, patch included
Date: Fri, 19 Apr 2002 19:11:39 +0200 (MET DST)

It used to be as you suggest and was changed in 2.0.1.
This is really my fault. I was trying t generalize the configure.ac
script to solve some of the problems people were reporting. It
seemed to work, but these library issues are turning into a major
nightmare.

I think what I would like to do (if someone who has time and has been
following the discussions would like to figuyre this out) is
to prioritize

 i)   self-contained static compilation
 ii)  berkeleyDB in /usr/local/BerkeleyDBX_X
 iii) openssl in /usr/local/ssl

Any other locations of these libraries could then be ignored.
To make sure the right versions are used, one simply insists
on the default installation of these packages from source,
and not use any packages from redhat or whatever, which cause
endless trouble.

Anyone volunteering? I've enough other stuff to do...

Mark


On 19 Apr, Jo B. Grasmo wrote:
> Hello,
> 
> There's a minor typo in the configure script for cfengine 2.0.1, so
> BerkeleyDB is not found on FreeBSD. The fix is simple:
> 
> --- configure.orig    Fri Apr 19 16:52:13 2002
> +++ configure Fri Apr 19 16:53:05 2002
> @@ -3459,7 +3459,7 @@
>      fi
>      if test x"$BERKELEY_DB_DIR" = xyes ; then
>          for v in db4 db3 db2 db; do
> -            if test -d "$BERKELEY_DB_DIR/include/$v" ; then
> +            if test -d "/usr/local/include/$v" ; then
>                  BERKELEY_DB_LDFLAGS="-L/usr/local/lib"
>                  BERKELEY_DB_CFLAGS="-I/usr/local/include/$v"
>                  BERKELEY_DB_LIB="-l$v"
> 
> Best regards,
> 
> Jo B. Grasmo
> 
> _______________________________________________
> Bug-cfengine mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-cfengine



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]