[Openvas-discuss] Missing glib.h inclusion in GSA 6.0.4

Michael Wiegand michael.wiegand at greenbone.net
Tue Jul 14 11:48:44 CEST 2015


Hello,

Thank you for spotting this. This was indeed fixed in the SVN trunk in
revision 22706, but not backported. I've backported the change to
gsa-6.0 in revision 22806, it will be included in the next GSA release.

Regards,


Michael

* Winfried Neessen [14. Jul 2015]:
> Hi, 
> 
> I was just building GSA 6.0.4 from the sources on my system. 
> After a successful: 
> 
> mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/pkg/openvas .. 
> I ran the make command and ran into the following issue: 
> 
> % make 
> [ 5%] Generating CPE icon dictionary 
> [ 5%] Built target cpe-icon-dict 
> [ 10%] Generating timezone dictionary 
> [ 10%] Built target zone-dict 
> [ 15%] Built target gsad_omp 
> [ 21%] Built target gsad_base 
> Scanning dependencies of target gsad_xslt_ext 
> [ 26%] Building C object src/CMakeFiles/gsad_xslt_ext.dir/xslt_i18n.c.o 
> In file included from /home/wneessen/compile/openvas8/greenbone-security-assistant-6.0.4/src/xslt_i18n.h:30:0, 
> from /home/wneessen/compile/openvas8/greenbone-security-assistant-6.0.4/src/xslt_i18n.c:26: 
> /usr/include/glib-2.0/glib/gstring.h:29:2: error: #error "Only <glib.h> can be included directly." 
> #error "Only <glib.h> can be included directly." 
> ^ 
> In file included from /usr/include/glib-2.0/glib/gstring.h:32:0, 
> from /home/wneessen/compile/openvas8/greenbone-security-assistant-6.0.4/src/xslt_i18n.h:30, 
> from /home/wneessen/compile/openvas8/greenbone-security-assistant-6.0.4/src/xslt_i18n.c:26: 
> /usr/include/glib-2.0/glib/gtypes.h:29:2: error: #error "Only <glib.h> can be included directly." 
> #error "Only <glib.h> can be included directly." 
> ^ 
> In file included from /usr/lib/glib-2.0/include/glibconfig.h:9:0, 
> from /usr/include/glib-2.0/glib/gtypes.h:32, 
> from /usr/include/glib-2.0/glib/gstring.h:32, 
> from /home/wneessen/compile/openvas8/greenbone-security-assistant-6.0.4/src/xslt_i18n.h:30, 
> from /home/wneessen/compile/openvas8/greenbone-security-assistant-6.0.4/src/xslt_i18n.c:26: 
> /usr/include/glib-2.0/glib/gmacros.h:33:2: error: #error "Only <glib.h> can be included directly." 
> #error "Only <glib.h> can be included directly." 
> [...] 
> 
> After I added #include <glib.h> to the greenbone-security-assistant-6.0.4/src/xslt_i18n.h file, the 
> make process ran successfully. 
> 
> Just in case some runs into the same issues. 
> 
> 
> Winni 
> 

> _______________________________________________
> Openvas-discuss mailing list
> Openvas-discuss at wald.intevation.org
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


-- 
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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.wald.intevation.org/pipermail/openvas-discuss/attachments/20150714/37736b75/attachment.sig>


More information about the Openvas-discuss mailing list