Hasnain Atique wrote:

I don't have a whole lot of experience with autoconf, hence this
somewhat basic question.

I'm trying to compile nessus with additional libraries (-L/usr/lib/mysql
-lmysqlclient -lz), and a few additional soource files (for example,
chomp.cc, resolve.cc). I've looked at the files produced by ./configure
and how nessus.tmpl and ./cflags are used. I can't seem to get the
compiler to recognize the library options even when I hardcode these in
nessus.tmpl and ./cflags.


If you want to use the autoconf/configure stuff from the database branch use: ./configure --with-mysql, which should setup all the environment properly, this will set, at least:


LIBS=-L/usr/lib -lnessus -lhosts_gatherer -lpcap-nessus -lutil -lnsl -lresolv -L/usr/lib -lssl -lcrypto -ldl -lz -lmysqlclient

in nessus.tmpl (you shouldn't need -L/usr/lib/mysql AFAIK BTW).

Regards

Javi



_______________________________________________
Nessus mailing list
[EMAIL PROTECTED]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to