From: Alex P. <ale...@ci...> - 2005-02-18 22:21:16
|
-----Original Message----- From: Alex Peeters [mailto:ale...@ci...] Sent: vrijdag 18 februari 2005 19:33 To: 'ale...@ci...'; 'yme...@pe...' Cc: 'per...@li...' Subject: RE: [Perfparse-devel-int] RE: Perfparse error for version 0.105.5 Hi Yves, Look at: http://asnmtap.citap.be/cgi-bin/perfparse.cgi even the pictures are ready and the image/makefile.in and image/makefile.am are modified. There is only one problem anymore: ./configure --with-data-source=asnmtap ... checking for what data source... Nagios ... instead: ... checking for what data source... ASNMTAP ... No error when: ./configure --with-data-source=bestaatNiet Data Source is: nagios|asnmtap Not displayed when: ./configure --with-data-source=asnmtap and config.h is wrong: config.h /* Data Source is ASNMTAP */ /* #undef USE_SOURCE_ASNMTAP */ /* Data Source is Nagios */ /* define USE_SOURCE_NAGIOS 1 */ into: Configuration options: Prefix: /opt/asnmtap/perfparse Perfparse: Selected DB tools: Selected CGI: Selected HTTP path for images: /asnmtap/img Installation path for images: /opt/asnmtap/htmlroot/img/ Installation path for CGIs: /opt/asnmtap/htmlroot/cgi-bin Using glib2.0: 2.2.3 Database support: mysql The next don't give any compilation errors anymore: #ifdef USE_SOURCE_NAGIOS #define KEYWORD_APPLICATION N_("Nagios") #define KEYWORD_HOST N_("Host") #define KEYWORD_SERVICE N_("Title") #elif defined USE_SOURCE_ASNMTAP #define KEYWORD_APPLICATION N_("ASNMTAP") #define KEYWORD_HOST N_("Plugin") #define KEYWORD_SERVICE N_("Unique Key") #endif #ifdef USE_SOURCE_NAGIOS showHeader(_("Deletion Policies for Hosts"), ""); #elif defined USE_SOURCE_ASNMTAP showHeader(_("Deletion Policies for Plugins"), ""); #endif The problem is that USE_SOURCE_ASNMTAP is not set by --with-data-source=nagios|asnmtap If I change config.h /* Data Source is ASNMTAP */ /* #undef USE_SOURCE_ASNMTAP */ /* Data Source is Nagios */ #define USE_SOURCE_NAGIOS 1 with /* Data Source is ASNMTAP */ /* #undef USE_SOURCE_ASNMTAP */ #define USE_SOURCE_ASNMTAP 1 /* Data Source is Nagios */ /* #define USE_SOURCE_NAGIOS 1 */ then it works for me, because if force everthing for asnmtap -- Alex -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 |