Ben,

Thank you for spotting this. This has already been fixed in SVN and will
behave correctly in the next beta release which should come out soon.

Regards,


Michael

* btb [20. Feb 2013]:
> hi-
> 
> i'm experimenting with 6 beta, and had a bit of trouble building manager, as 
> per INSTALL.  it seems to be related to the use of the build subdirectory as 
> is now directed in INSTALL.  if i build from within the build subdir, make 
> doc fails:
> 
> >make doc
> [...]
> Generating docs for compound verify_agent_data_t...
> Generating docs for compound verify_report_format_data_t...
> Generating namespace index...
> Generating graph info page...
> Generating directory documentation...
> Generating index page...
> /root/openvas/6-beta/openvas-manager-4.0+beta4/src/openvasmd.c:69: warning: 
> unable to resolve reference to `common.c' for \ref command
> Generating page index...
> Generating module index...
> Generating namespace index...
> Generating namespace member index...
> Generating annotated compound index...
> Generating alphabetical compound index...
> Generating hierarchical class index...
> Generating member index...
> Generating file index...
> Generating file member index...
> Generating example index...
> finalizing index lists...
> symbol cache used 3430/65536 hits=190071 misses=3430
> lookup cache used 2123/65536 hits=11780 misses=2237
> finished...
> [ 62%] Generating .built-html_db
> 
>        ERROR (line 1): Invalid statement: Was expecting create, or comment on
>                        table, or comment on column, or comment on other, or
>                        comment, or alter, or grant, or revoke, or drop, or
>                        insert, or connect, or update, or set, or select, or
>                        copy, or readin symbol, or commit
> Error: translate: Error with parser 'SQL::Translator::Parser::PostgreSQL': 
> Parse failed.
> make[3]: *** [doc/.built-html_db] Error 255
> make[2]: *** [doc/CMakeFiles/doc.dir/all] Error 2
> make[1]: *** [doc/CMakeFiles/doc.dir/rule] Error 2
> make: *** [doc] Error 2
> 
> looking further, the specific point it is breaking seems to be in 
> build/doc/CMakeFiles/doc.dir/build.make.  the command that is constructed is:
> 
> cd /root/openvas/6-beta/openvas-manager-4.0+beta4/build/doc && \
> sh -c "/usr/bin/sqlt --from PostgreSQL --to HTML --pretty --title=\"Manager 
> database (version 64)\" db_postgres.sql > db.html && touch .built-html_db;"
> 
> when it appears it should begin with cd 
> /root/openvas/6-beta/openvas-manager-4.0+beta4/doc instead - either that or 
> perhaps
> db_postgres.sql should exist in 
> /root/openvas/6-beta/openvas-manager-4.0+beta4/build/doc/ as well?
> 
> in any case, if i revert back to the method used in version 5 [e.g. no build 
> subdir, and cmake -DCMAKE_INSTALL_PREFIX=/path/to/wherever .], i don't 
> encounter this issue, and the software seems to build and install 
> successfully.
> 
> regards
> -ben
> _______________________________________________
> Openvas-devel mailing list
> Openvas-devel@wald.intevation.org
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel

-- 
Michael Wiegand |  Greenbone Networks GmbH  |  http://www.greenbone.net/
Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner

_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel

Reply via email to