LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-28-2011, 03:25 PM   #1
rpedrica
Member
 
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 267

Rep: Reputation: 41
src2pkg and openvas 4 libraries


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

Last edited by rpedrica; 06-28-2011 at 03:35 PM.
 
Old 06-28-2011, 03:34 PM   #2
rpedrica
Member
 
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 267

Original Poster
Rep: Reputation: 41
For the scanner portion, there is an error in the install step:

Quote:
[100%] Building C object src/CMakeFiles/openvassd.dir/utils.c.o
Linking C executable openvassd
[100%] Built target openvassd
Compiling has been - Successful!
Checking for Makefile rule: 'install' Okay
Using SAFE method in REAL root directory - Using: 'make install'
[100%] Built target openvassd
Install the project...
-- Install configuration: "Release"
CMake Error at cmake_install.cmake:38 (FILE):
file INSTALL cannot find
"/tmp/openvas-scanner-3.2.4-src-1crp/src/openvassd".

make: *** [install] Error 1
FATAL! Running 'make install' has failed with error: 1
Try using INSTALL_LINE 'make -i install' Exiting...
I tried the recommended install line but a similar error:

Quote:
[100%] Building C object src/CMakeFiles/openvassd.dir/utils.c.o
Linking C executable openvassd
[100%] Built target openvassd
Compiling has been - Successful!
Using SAFE method in REAL root directory - Using: 'make -i install'
[100%] Built target openvassd
Install the project...
-- Install configuration: "Release"
CMake Error at cmake_install.cmake:38 (FILE):
file INSTALL cannot find
"/tmp/openvas-scanner-3.2.4-src-1crp/src/openvassd".


SAFE Content creation - Successful!
Processing package content:
Correcting package permissions - Done
ERROR! The package tree has no content!
For now, we bail out from the top of create_docs.
Checking for standard documents - Done
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVas j0eh4x Linux - Software 1 02-16-2011 01:17 AM
Openvas-manager & openvas-cli Minky Linux - Software 1 04-26-2010 06:59 AM
[ANNOUNCE] src2pkg-2.0 and src2pkg-ng-0.0.1 gnashley Slackware 11 12-21-2009 11:41 AM
[SOLVED] openvas-libraries and gcrypt.conf Josh000 Slackware 10 12-19-2009 05:41 AM
New src2pkg release available for download -Introducing the src2pkg WIKI gnashley Slackware 11 05-06-2008 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration