Hello all

I have a problem while trying to install OpenVAS on BackTrack4 Final.

I have installed openvas-libraries (cd openvas-libraries + ./configure && make && make install) and this is ok.

Then I unpacked openvas-libnasl and when I enter ./configure && make && make install) I see this output :

Code:
(...)
cd nasl && make
make[1]: Entering directory `/root/openvas-libnasl-2.0.2/nasl'
/bin/sh /root/openvas-libnasl-2.0.2/libtool --silent --mode=compile gcc -pipe -g -O2 -Wall -I../include  `/usr/local/bin/libopenvas-config --cflag
s` `/usr/bin/gpgme-config --cflags` -DNESSUS_EXTENSIONS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I. -I/root/openvas-libnasl-2.0.2/in
clude -DHAVE_CONFIG_H   -c nasl_packet_forgery.c
In file included from nasl_packet_forgery.c:19:
../include/includes.h:244:24: error: libopenvas.h: No such file or directory
../include/includes.h:245:23: error: harglists.h: No such file or directory
nasl_packet_forgery.c: In function 'forge_ip_packet':
nasl_packet_forgery.c:80: warning: implicit declaration of function 'plug_get_host_ip'
nasl_packet_forgery.c:80: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c:93: warning: implicit declaration of function 'emalloc'
nasl_packet_forgery.c: In function 'get_ip_element':
nasl_packet_forgery.c:193: warning: implicit declaration of function 'estrdup'
nasl_packet_forgery.c:193: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'insert_ip_options':
nasl_packet_forgery.c:274: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'forge_tcp_packet':
nasl_packet_forgery.c:431: warning: initialization makes pointer from integer without a cast
nasl_packet_forgery.c:448: warning: implicit declaration of function 'efree'
nasl_packet_forgery.c: In function 'get_tcp_element':
nasl_packet_forgery.c:509: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'set_tcp_elements':
nasl_packet_forgery.c:557: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c:585: warning: initialization makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'forge_udp_packet':
nasl_packet_forgery.c:690: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'get_udp_element':
nasl_packet_forgery.c:804: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'set_udp_elements':
nasl_packet_forgery.c:831: warning: initialization makes pointer from integer without a cast
nasl_packet_forgery.c:843: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c:848: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'forge_icmp_packet':
nasl_packet_forgery.c:980: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'forge_igmp_packet':
nasl_packet_forgery.c:1101: warning: initialization makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'nasl_tcp_ping':
nasl_packet_forgery.c:1161: warning: initialization makes pointer from integer without a cast
nasl_packet_forgery.c:1206: warning: implicit declaration of function 'plug_get_host_open_port'
nasl_packet_forgery.c:1208: warning: implicit declaration of function 'islocalhost'
nasl_packet_forgery.c:1212: warning: implicit declaration of function 'routethrough'
nasl_packet_forgery.c:1265: warning: implicit declaration of function 'bpf_next_tv'
nasl_packet_forgery.c:1265: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c:1273: warning: implicit declaration of function 'bpf_close'
nasl_packet_forgery.c: In function 'nasl_send_packet':
nasl_packet_forgery.c:1297: warning: initialization makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'nasl_pcap_next':
nasl_packet_forgery.c:1400: warning: initialization makes pointer from integer without a cast
nasl_packet_forgery.c:1406: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c:1411: warning: implicit declaration of function 'bpf_open_live'
nasl_packet_forgery.c:1422: warning: implicit declaration of function 'get_datalink_size'
nasl_packet_forgery.c:1422: warning: implicit declaration of function 'bpf_datalink'
nasl_packet_forgery.c:1430: warning: implicit declaration of function 'bpf_next'
nasl_packet_forgery.c:1447: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'nasl_send_capture':
nasl_packet_forgery.c:1486: warning: initialization makes pointer from integer without a cast
nasl_packet_forgery.c:1492: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c:1536: warning: assignment makes pointer from integer without a cast
make[1]: *** [nasl_packet_forgery.o] Error 1
make[1]: Leaving directory `/root/openvas-libnasl-2.0.2/nasl'
make: *** [all] Error 2
root@bt:~/openvas-libnasl-2.0.2#
Anyone can help ?

Thanks