Re: [blfs-support] OpenVAS/Cmake

2016-05-15 Thread Ken Moffat
On Mon, May 16, 2016 at 01:13:47AM +0100, Ken Moffat wrote: > > I have difficulty with it - usually, the problems are in C++ desktop > applications which do not work correctly. If a c++ batch (whoops, > showing my background, let me try again) ... If a C non-graphical > program segfaults, I might

Re: [blfs-support] OpenVAS/Cmake

2016-05-15 Thread Ken Moffat
On Sun, May 15, 2016 at 12:35:03PM -0700, Paul Rogers wrote: > > > If you want to do a BSD-style install to /usr/local, and I seem to > > recall that you do want to do that, that sounds OK. The main reason > > I do? I didn't know that. Are you referring to my decision to make > my "/usr" syste

Re: [blfs-support] OpenVAS/Cmake

2016-05-15 Thread Paul Rogers
> Grep the source tree for _BSD_SOURCE and change it to > _DEFAULT_SOURCE. The warning is thrown in /usr/include/features.h but > _BSD_SOURCE is probably defined in > /usr/local/src/openvas-libraries-7.0.10/nasl/nasl_raw.h but possibly > another include. > >-- Bruce OK, I think I get that

Re: [blfs-support] OpenVAS/Cmake

2016-05-14 Thread Ken Moffat
On Sat, May 14, 2016 at 04:03:51PM -0700, Paul Rogers wrote: > > I tried this in my build script: > > (cmake -DCMAKE_BUILD_TYPE=Release .. | tee log.conf && exit > $PIPESTATUS) && > > > And that went through compilation without failing. > > So I guess my question to anybody familiar with cmak

Re: [blfs-support] OpenVAS/Cmake

2016-05-14 Thread Bruce Dubbs
Paul Rogers wrote: First of all, has anybody installed OpenVAS? Going a bit "off the reservation" here. Not sure my question is really about OpenVAS as much as Cmake. Anyway, here's where my problem is (LFS-7.7 system): ___8<... In file included from /usr/include/netinet/tcp.h:35:0,

Re: [blfs-support] OpenVAS/Cmake

2016-05-14 Thread Paul Rogers
> if (NOT CMAKE_BUILD_TYPE MATCHES "Release") > if (EXISTS "${CMAKE_SOURCE_DIR}/.svn/") > > I don't know how to get that "in". This ain't CMMI! ;-( OK, I kept hunting. Got a clue about CMAKE_BUILD_TYPE here: $ cmake --help-manual cmake-variables|less Then with another clue from the packag

Re: [blfs-support] OpenVAS/Cmake

2016-05-14 Thread Paul Rogers
I find this in the "Changelog": 2013-02-19 Michael Wiegand Move "-Werror" flag to the "Debug" build type. * misc/CMakeLists.txt, omp/CMakeLists.txt, nasl/CMakeLists.txt, hg/CMakeLists.txt, base/CMakeLists.txt: Move "-Werror" from CMAKE_C_FLAGS to CMAKE_C_FLAGS_D

Re: [blfs-support] OpenVAS/Cmake

2016-05-14 Thread Thanos Baloukas
On 15/05/2016 12:22 πμ, Thanos Baloukas wrote: On 14/05/2016 11:52 μμ, Paul Rogers wrote: First of all, has anybody installed OpenVAS? Going a bit "off the reservation" here. Not sure my question is really about OpenVAS as much as Cmake. Anyway, here's where my problem is (LFS-7.7 system): __

Re: [blfs-support] OpenVAS/Cmake

2016-05-14 Thread Thanos Baloukas
On 14/05/2016 11:52 μμ, Paul Rogers wrote: First of all, has anybody installed OpenVAS? Going a bit "off the reservation" here. Not sure my question is really about OpenVAS as much as Cmake. Anyway, here's where my problem is (LFS-7.7 system): ___8<... In file included from /usr/include/netine

[blfs-support] OpenVAS/Cmake

2016-05-14 Thread Paul Rogers
First of all, has anybody installed OpenVAS? Going a bit "off the reservation" here. Not sure my question is really about OpenVAS as much as Cmake. Anyway, here's where my problem is (LFS-7.7 system): ___8<... In file included from /usr/include/netinet/tcp.h:35:0, from