PKG_CONFIG_PATH looks incorrect.

I think it should be something like export
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig

--
Eero

2015-04-23 19:05 GMT+03:00 Robert Gabriel <epheme...@gmail.com>:

>
>
> On 8 April 2015 at 12:22, kiran.chavan <kiran.cha...@cdot.in> wrote:
>
>> Hi Sir/Madam,
>>  I have tried that but again got stuck in compilation process on ubuntu
>> system.
>>
>> though I have downloaded all packages necessary for compilation of
>> openvas using
>> following command
>>
>> apt-get install build-essential bison flex cmake pkg-config libglib2.0-0
>> libglib2.0-dev
>> libgnutls26 libgnutls-dev libpcap0.8 libpcap0.8-dev libgpgme11
>> libgpgme11-dev doxygen
>> libuuid1 uuid-dev sqlfairy xmltoman libsqlite3-0 libsqlite3-dev
>> libxml2-dev libxslt1.1
>> libxslt1-dev xsltproc libmicrohttpd-dev libldap-2.4-2 libldap2-dev
>>
>>
>>
>> following is the error, received when,tried to compile the
>> openvas-libraries-7.0.1
>>
>>
>>
>>
>>
>> kiran@kiran-ESPRIMO-P500:~/openvas-src/openvas-libraries-7.0.1/source$
>> export
>> PKG_CONFIG_PATH=/home/kiran/lib/pkgconfig
>> kiran@kiran-ESPRIMO-P500:~/openvas-src/openvas-libraries-7.0.1/source$
>> cmake ..
>> -- Configuring the Libraries...
>> -- Install prefix: /usr/local
>> -- checking for module 'gnutls>=2.8'
>> --   package 'gnutls>=2.8' not found
>> CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:283
>> (message):
>>   A required package was not found
>> Call Stack (most recent call first):
>>   /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:337
>> (_pkg_check_modules_internal)
>>   CMakeLists.txt:204 (pkg_check_modules)
>>
>>
>> -- checking for module 'glib-2.0>=2.16'
>> --   package 'glib-2.0>=2.16' not found
>> CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:283
>> (message):
>>   A required package was not found
>> Call Stack (most recent call first):
>>   /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:337
>> (_pkg_check_modules_internal)
>>   CMakeLists.txt:205 (pkg_check_modules)
>>
>>
>> -- checking for module 'wmiclient>=1.3.14'
>> --   package 'wmiclient>=1.3.14' not found
>> -- checking for module 'wincmd>=0.80'
>> --   package 'wincmd>=0.80' not found
>> -- checking for module 'libssh>=0.5.0'
>> --   package 'libssh>=0.5.0' not found
>> -- Looking for pcap...
>> -- Looking for pcap... /usr/lib/x86_64-linux-gnu/libpcap.so
>> -- Looking for pcap-config...
>> -- Looking for pcap-config... /usr/bin/pcap-config
>> Package glib-2.0 was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `glib-2.0.pc'
>> to the PKG_CONFIG_PATH environment variable
>> No package 'glib-2.0' found
>> Package glib-2.0 was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `glib-2.0.pc'
>> to the PKG_CONFIG_PATH environment variable
>> No package 'glib-2.0' found
>> Package gnutls was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `gnutls.pc'
>> to the PKG_CONFIG_PATH environment variable
>> No package 'gnutls' found
>> Package gnutls was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `gnutls.pc'
>> to the PKG_CONFIG_PATH environment variable
>> No package 'gnutls' found
>> -- Looking for gpgme...
>> -- Looking for gpgme... /usr/lib/x86_64-linux-gnu/libgpgme.so
>> -- Looking for ksba...
>> -- Looking for ksba... /usr/lib/x86_64-linux-gnu/libksba.so
>> -- Looking for zlib...
>> -- Looking for zlib... /usr/lib/x86_64-linux-gnu/libz.so
>> Package gio-2.0 was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `gio-2.0.pc'
>> to the PKG_CONFIG_PATH environment variable
>> No package 'gio-2.0' found
>> -- Looking for uuid...
>> -- Looking for uuid... /usr/lib/x86_64-linux-gnu/libuuid.so
>> -- Looking for libldap...
>> --   Found /usr/lib/x86_64-linux-gnu/libldap.so - ldap support enabled
>> -- Configuring incomplete, errors occurred!
>> See also "/home/kiran/openvas-src/openvas-libraries-
>> 7.0.1/source/CMakeFiles/CMakeOutput.log".
>>
>>
>> tried to configure PKG_CONFIG_PATH but then also same error as above
>>
>> please suggest me possible solution to compile this openvas7 on ubuntu.
>>
>>
>>
>>
>> On Wed, 08 Apr 2015 10:57:51 +0200, Chris wrote
>> > Hi,
>> >
>> > >What to do further please let me know.
>> >
>> > the logfiles /var/log/openvas/* could be a starting point.
>> >
>> > >Again, if you can probably tell me how to install openvas on ubuntu
>> > >14.04  version
>> >
>> > Have a look at your favorite search engine to find tutorials like:
>> >
>> > https://hackertarget.com/install-openvas-7-ubuntu/
>> > _______________________________________________
>> > Openvas-discuss mailing list
>> > Openvas-discuss@wald.intevation.org
>> >
>> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>>
>>
>> Thanks & Regards
>> Kiran Chavan
>>
>> -------------------------------------------------------------------------------
>> ::Disclaimer::
>>
>> -------------------------------------------------------------------------------
>>
>> The contents of this email and any attachment(s) are confidential and
>> intended
>> for the named recipient(s) only. It shall not attach any liability on
>> C-DOT.
>> Any views or opinions presented in this email are solely those of the
>> author
>> and  may  not  necessarily  reflect  the  opinions  of  C-DOT.  Any  form
>> of
>> reproduction, dissemination, copying, disclosure, modification,
>> distribution
>> and / or publication of this message without the prior written consent of
>> the
>> author of this e-mail is strictly prohibited. If you have received this
>> email
>> in error please delete it and notify the sender immediately.
>>
>>
>> -------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Openvas-discuss mailing list
>> Openvas-discuss@wald.intevation.org
>> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>>
>
> Maybe this would be easier for now?
>
> http://www.openvas.org/vm.html
>
> I installed OpenVAS 8 on Ubuntu 14.04 LTS two days ago from this PPA:
>
> https://launchpad.net/~mrazavi/+archive/ubuntu/openvas
>
> It worked right out the box first time.
>
> I looked up the package maintainer online and saw he attends a known
> university, has a github account
> and seems to be of good reputation.
>
> Just to be sure I diffed all the files with source downloaded from OpenVAS
> site and inspected all the .deb files
> to see if anything malicious. Nothing.
>
> Thank you.
>
>
> _______________________________________________
> Openvas-discuss mailing list
> Openvas-discuss@wald.intevation.org
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>
_______________________________________________
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to