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.
>
>  Anybody care to fix that?
>
>
>  --
>  Best Regards,
>   Aleksander Adamowski
>   http://olo.org.pl
>


-- 
Best Regards,
  Aleksander Adamowski
  http://olo.org.pl
diff -urN openvas-libraries-1.0.0.orig/configure openvas-libraries-1.0.0/configure
--- openvas-libraries-1.0.0.orig/configure	2007-08-03 00:43:04.000000000 +0200
+++ openvas-libraries-1.0.0/configure	2008-03-13 23:19:36.000000000 +0100
@@ -8151,11 +8151,11 @@
 #ifdef __cplusplus
 extern "C"
 #endif
-char dn_expand ();
+#include <resolv.h>
 int
 main ()
 {
-return dn_expand ();
+return dn_expand ("a", "b", "c", "d", 0);
   ;
   return 0;
 }
_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

Reply via email to