Hi Gilbert,
Hope you can help with a compile of openvas 4 ( libraries ). It uses cmake and using manual compile, it works fine. However, using src2pkg, there appears to be a problem in the compile step:
Quote:
Scanning dependencies of target openvas_hg_static
[ 44%] Building C object hg/CMakeFiles/openvas_hg_static.dir/hg_add_hosts.c.o
[ 45%] Building C object hg/CMakeFiles/openvas_hg_static.dir/hg_debug.c.o
[ 45%] Building C object hg/CMakeFiles/openvas_hg_static.dir/hg_dns_axfr.c.o
[ 46%] Building C object hg/CMakeFiles/openvas_hg_static.dir/hg_filter.c.o
[ 46%] Building C object hg/CMakeFiles/openvas_hg_static.dir/hg_subnet.c.o
[ 47%] Building C object hg/CMakeFiles/openvas_hg_static.dir/hg_utils.c.o
[ 47%] Building C object hg/CMakeFiles/openvas_hg_static.dir/hosts_gatherer.c.o
Linking C static library libopenvas_hg.a
[ 47%] Built target openvas_hg_static
[ 47%] Generating ../../nasl/nasl_grammar.tab.c, ../../nasl/nasl_grammar.tab.h, ../../nasl/nasl_grammar.output
bison: cannot open file `nasl_grammar.y': No such file or directory
make[2]: *** [../nasl/nasl_grammar.tab.c] Error 1
make[1]: *** [nasl/CMakeFiles/openvas_nasl_static.dir/all] Error 2
make: *** [all] Error 2
ERROR! Compiling source code has failed.
|
The file nasl_grammar.y exists both in the openvas-lbraries-src/nasl/ dir and works fine when doing a normal/manual compile.
I presume that there is a problem with paths somewhere. Any help appreciated.
Regards, Robby