On 3/14/08, Jan-Oliver Wagner <[EMAIL PROTECTED]> wrote:
> Aleksander,
>
>
>  On Donnerstag, 13. März 2008, 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.
>
>
> patching configure will unfortunately not fix the problem.
>
>  Could you please try this in your openvas-libraries:
>  $ make distclean
>  $ autoconf
>  $ ./configure --[whatever your option were]
>
>  Note the autoconf call. It will create a new configure from configure.in
>  and should create correct code in configure for detection.
>
>  Let me know whether compilation now works out of the box.

Unfortunately, it didn't change anything.

My autoconf version:
$ autoconf -V
autoconf (GNU Autoconf) 2.59

I've also tried changing configure.in according to autoconf manual,
setting the corresponding line to:
AC_SEARCH_LIBS(dn_expand, resolv, LIBS="-lresolv $LIBS",

But  it seems the autoconf manual contains an error here since this
resulted in absolute nonsense in generated configure, exchanging
library name and function name:

...
LIBS="-ldn_expand  $LIBS"
...
char resolv ();
 int
 main ()
 {
resolv ();
   ;
   return 0;
 }
...


-- 
Best Regards,
  Aleksander Adamowski
  http://olo.org.pl
_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

Reply via email to