On Thursday 13 March 2008 22:53:08 Aleksander Adamowski wrote: > Double oops... > > 1) I forgot to attach my patch - here it is. > 2) It seems that the problem is only with libresolv. Other tests from > configure work fine when I install required development packages with > headers. > I don't understand why resolv library test doesn't work, I have > /usr/include/resolv.h and /usr/lib/libresolv.so present on my system. > > Anyway, using the attached patch I am able to build openvas-libraries > successfully. > > On 3/13/08, Aleksander Adamowski <[EMAIL PROTECTED]> wrote: > > Vazquez, Ed wrote: > > > configure:8193: result: no > > > configure:8198: error: you need to install resolve library with > > > development files > > > > Hi! > > > > I have the same problem on CentOS 5 on x86_64. > > > > After making changes to configure (see the attached patch) configure > > proceeds further, but stops with the same error on gnutls check. > > > > Upon close inspection I can see that the gnutls test program has the > > same structure that the libresolv test program, so it has the same > > problem. The same with the other checks (libpcap etc...). > > > > So it seems that the configure script is severely broken in > > openvas-libraries-1.0.0. > > > > What's worse, I can see the same problem in configure scripts in > > openvas-libnasl-1.0.0, openvas-server-1.0.0 and openvas-plugins-1.0.0.
Interesting... that check actually comes from autoconf - configure.in includes the line: AC_CHECK_LIB(resolv, dn_expand, LIBS="-lresolv $LIBS", AC_MSG_ERROR(you need to install resolve library with development files)) So I guess we need to consider what the goal of the check is, and thus what autoconf macro will be most appropriate. I note that the autoconf manual suggests using: AC_SEARCH_LIBS(dn_expand, resolv, LIBS="-lresolv $LIBS", AC_MSG_ERROR(you need to install resolve library with development files)) As an aside, this check doesn't cause problems on either Debian or Gentoo, so I'm wondering why it rears its head on Redhat derivatives. Tim -- Tim Brown <mailto:[EMAIL PROTECTED]> <http://www.nth-dimension.org.uk/> _______________________________________________ Openvas-discuss mailing list [email protected] http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss
