Am 16.07.2012 08:18, schrieb Michael Wiegand:
* Stefan Schwarz [14. Jul 2012]:
Hi,

when building openvas from svn i get following error when running cmake:
cd openvas-libraries/&&  cmake -DBUILD_WITH_LDAP=ON .&&  make&&
sudo make install
-- Configuring the Libraries...
-- Install prefix: /usr/local
[]
-- Configuring done
CMake Error at nasl/CMakeLists.txt:116 (add_executable):
   Target "openvas-nasl" links to item "-lgpgme -lgpg-error " which has
   leading or trailing whitespace.  This is now an error according to policy
   CMP0004.

Maybe this was introduced with svn rev 13683:
r13683 | mwiegand | 2012-07-05 13:31:09 +0200 (Do, 05. Jul 2012)
* nasl/CMakeLists.txt: Ensure that compilation with modern
   gccs works by moving linker flags from LINK_FLAGS to
   target_link_libraries.

I'm currently running ubuntu 10.04 LTS (gcc 4.4.3). I'm not really
experienced with cmake so any hints are appreciated.


As Michael Meyer suggested, this was an error related to the quoting of
the LDFLAGS and was indeed introduced by me.

It should be fixed in SNV r13734 now, could you test again when you get
a chance?

Regards,


Michael


Fix confirmed, r13734 builds as expected.

        Stefan


--
Prof. Dr.-Ing. Stefan Schwarz, Leiter Rechenzentrum
Universität der Bundeswehr München
Tel (+49) 89 6004-3200, Fax: -3254, http://www.unibw.de/rz

Attachment: smime.p7s
Description: S/MIME Kryptografische Unterschrift

_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to