You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(12) |
Jun
(56) |
Jul
(68) |
Aug
(141) |
Sep
(82) |
Oct
(76) |
Nov
(115) |
Dec
(74) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(65) |
Feb
(113) |
Mar
(82) |
Apr
(37) |
May
(44) |
Jun
(22) |
Jul
(12) |
Aug
(3) |
Sep
(17) |
Oct
(11) |
Nov
(23) |
Dec
(1) |
2006 |
Jan
(1) |
Feb
(9) |
Mar
(6) |
Apr
(12) |
May
(10) |
Jun
(23) |
Jul
(1) |
Aug
(4) |
Sep
(3) |
Oct
(4) |
Nov
(6) |
Dec
(15) |
2007 |
Jan
(17) |
Feb
(14) |
Mar
(20) |
Apr
(7) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(5) |
Oct
(1) |
Nov
|
Dec
(2) |
2008 |
Jan
|
Feb
|
Mar
(2) |
Apr
(2) |
May
(6) |
Jun
(5) |
Jul
(13) |
Aug
(2) |
Sep
(16) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Nate A. S. <nat...@di...> - 2004-08-12 16:12:21
|
I believe it was the need for the fixed check_nt plugin. It was just giving up or down on perfdata. Nate -----Original Message----- From: Cook, Garry [mailto:GW...@ma...]=20 Sent: Thursday, August 12, 2004 11:10 AM To: Nate A. Smith Cc: per...@li... Subject: RE: [Perfparse-users] Check_traffic OK, I'll take a look at it. If I can hack in the perfdata, I will, but no guarantees. I've looked at some of the plugins that I want perfdata for (check_snmp for example), and they are a little bit over my head. Nate, you also posted about a problem yesterday (Subject: Compile Errors) where you could not get your data to graph properly after a successful compile on FC2. Just out of curiosity, what was your problem/solution? Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) Nate A. Smith wrote: > I am now getting graphs for memory usage, CPU load, and Disk space. > That's all I need. Here is the link for check_traffic from Nagios > extras page.=20 >=20 > http://nagios.sourceforge.net/download/contrib/misc/check_traffic/ >=20 > Thanks! > Nate >=20 > -----Original Message----- > From: Cook, Garry [mailto:GW...@ma...] > Sent: Thursday, August 12, 2004 11:03 AM > To: Nate A. Smith; per...@li... > Subject: RE: [Perfparse-users] Check_traffic >=20 > Nate A. Smith wrote: >> Does anyone have the check_traffic plugin graphing? >> Thanks so much on the check_nt graphs!! >> All seems to be working!! >>=20 >> Nate Smith >> Disetronic Medical Systems >> IT Support Consultant >=20 > That's great! I'm glad the check_nt plugin is working for you. As you > can see, it does not include perfdata for all of the different windows > checks. Do you check any of the ones that do not have perfdata? Do you > see a need for perfdata for those checks? As I mentioned in > the original > thread, I didn't see the use for perfdata on those, just wondering if > maybe I missed something important. >=20 > As for check_traffic, I'm not familiar with that plugin, and have not > yet been able to locate it in my plugins source or contrib > directories. Where is this plugin source located and what does it do? > I'll check an older source version, I'm currently working from plugins > 1.4.0alpha (CVS). >=20 > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) |
From: Cook, G. <GW...@ma...> - 2004-08-12 16:10:28
|
OK, I'll take a look at it. If I can hack in the perfdata, I will, but no guarantees. I've looked at some of the plugins that I want perfdata for (check_snmp for example), and they are a little bit over my head. Nate, you also posted about a problem yesterday (Subject: Compile Errors) where you could not get your data to graph properly after a successful compile on FC2. Just out of curiosity, what was your problem/solution? Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) Nate A. Smith wrote: > I am now getting graphs for memory usage, CPU load, and Disk space. > That's all I need. Here is the link for check_traffic from Nagios > extras page.=20 >=20 > http://nagios.sourceforge.net/download/contrib/misc/check_traffic/ >=20 > Thanks! > Nate >=20 > -----Original Message----- > From: Cook, Garry [mailto:GW...@ma...] > Sent: Thursday, August 12, 2004 11:03 AM > To: Nate A. Smith; per...@li... > Subject: RE: [Perfparse-users] Check_traffic >=20 > Nate A. Smith wrote: >> Does anyone have the check_traffic plugin graphing? >> Thanks so much on the check_nt graphs!! >> All seems to be working!! >>=20 >> Nate Smith >> Disetronic Medical Systems >> IT Support Consultant >=20 > That's great! I'm glad the check_nt plugin is working for you. As you > can see, it does not include perfdata for all of the different windows > checks. Do you check any of the ones that do not have perfdata? Do you > see a need for perfdata for those checks? As I mentioned in > the original > thread, I didn't see the use for perfdata on those, just wondering if > maybe I missed something important. >=20 > As for check_traffic, I'm not familiar with that plugin, and have not > yet been able to locate it in my plugins source or contrib > directories. Where is this plugin source located and what does it do? > I'll check an older source version, I'm currently working from plugins > 1.4.0alpha (CVS). >=20 > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) |
From: Barry W. <ba...@if...> - 2004-08-12 16:07:34
|
Hi Garry Thanks for quick response as always. I'm using FC1 The lines you specifed are as you said they should be but the setlocale (LC_ALL, ""); line is line 105 not 110. Thanks Barry ----- Original Message -----=20 From: "Cook, Garry" <GW...@ma...> To: "Barry Weeks" <ba...@if...>; <per...@li...= > Sent: Thursday, August 12, 2004 4:53 PM Subject: RE: [Perfparse-users] Warn values are not going into database > That's strange... As I mentioned before, I can't be sure that it will compile properly on all systems, as I only have RH9.0 to test with (and F= C1, but haven't really had time to check it out in that environment). > However, I'm wondering if maybe the source code that I sent was somehow corrupted. Do your lines 110 through 115 look like the following? > > setlocale (LC_ALL, ""); > bindtextdomain (PACKAGE, LOCALEDIR); > textdomain (PACKAGE); > > if(process_arguments(argc,argv)=3D=3DERROR) > usage(_("Could not parse arguments\n")); > > If not, they should. Let me know. Thanks. > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > Barry Weeks wrote: > > Hi Gary / All > > > > check_nt will not compile for me see below > > > > gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib > > -I/usr/include/ldap -I/usr/include -g -O2 -c `test -f > > 'check_nt.c' || echo './'`check_nt.c > > check_nt.c: In function `main': > > check_nt.c:105: error: `LC_ALL' undeclared (first use in this > > function) > > check_nt.c:105: error: (Each undeclared identifier is reported only > > once > > check_nt.c:105: error: for each function it appears in.) > > check_nt.c:106: error: `LOCALEDIR' undeclared (first use in this > > function) > > check_nt.c:110: warning: passing arg 1 of `usage' makes pointer from > > integer without a cast > > check_nt.c:136: warning: passing arg 1 of `strlen' makes pointer from > > integer without a cast > > check_nt.c:136: warning: passing arg 2 of `memcpy' makes pointer from > > integer without a cast > > check_nt.c:136: warning: passing arg 1 of `__strdup' makes pointer > > from integer without a cast > > check_nt.c:138: warning: passing arg 1 of `strlen' makes pointer from > > integer without a cast > > check_nt.c:138: warning: passing arg 2 of `memcpy' makes pointer from > > integer without a cast > > check_nt.c:138: warning: passing arg 1 of `__strdup' makes pointer > > from integer without a cast > > check_nt.c:142: warning: passing arg 1 of `strlen' makes pointer from > > integer without a cast > > check_nt.c:142: warning: passing arg 2 of `memcpy' makes pointer from > > integer without a cast > > check_nt.c:142: warning: passing arg 1 of `__strdup' makes pointer > > from integer without a cast > > check_nt.c:143: warning: passing arg 1 of `strlen' makes pointer from > > integer without a cast > > check_nt.c:143: warning: passing arg 2 of `memcpy' makes pointer from > > integer without a cast > > check_nt.c:143: warning: passing arg 1 of `__strdup' makes pointer > > from integer without a cast > > check_nt.c:177: warning: passing arg 1 of `strlen' makes pointer from > > integer without a cast > > check_nt.c:177: warning: passing arg 2 of `memcpy' makes pointer from > > integer without a cast > > check_nt.c:177: warning: passing arg 1 of `__strdup' makes pointer > > from integer without a cast > > check_nt.c:196: warning: passing arg 1 of `strlen' makes pointer from > > integer without a cast > > check_nt.c:196: warning: passing arg 2 of `memcpy' makes pointer from > > integer without a cast > > check_nt.c:196: warning: passing arg 1 of `__strdup' makes pointer > > from integer without a cast > > check_nt.c:198: warning: passing arg 1 of `strlen' makes pointer from > > integer without a cast > > check_nt.c:198: warning: passing arg 2 of `memcpy' makes pointer from > > integer without a cast > > check_nt.c:198: warning: passing arg 1 of `__strdup' makes pointer > > from integer without a cast > > check_nt.c:227: warning: passing arg 1 of `strlen' makes pointer from > > integer without a cast > > check_nt.c:227: warning: passing arg 2 of `memcpy' makes pointer from > > integer without a cast > > check_nt.c:227: warning: passing arg 1 of `__strdup' makes pointer > > from integer without a cast > > check_nt.c:237: warning: passing arg 1 of `strlen' makes pointer from > > integer without a cast > > check_nt.c:237: warning: passing arg 2 of `memcpy' makes pointer from > > integer without a cast > > check_nt.c:237: warning: passing arg 1 of `__strdup' makes pointer > > from integer without a cast > > check_nt.c:276: warning: passing arg 1 of `strlen' makes pointer from > > integer without a cast > > check_nt.c:276: warning: passing arg 2 of `memcpy' makes pointer from > > integer without a cast > > check_nt.c:276: warning: passing arg 1 of `__strdup' makes pointer > > from integer without a cast > > check_nt.c:312: warning: passing arg 1 of `strlen' makes pointer from > > integer without a cast > > check_nt.c:312: warning: passing arg 2 of `memcpy' makes pointer from > > integer without a cast > > check_nt.c:312: warning: passing arg 1 of `__strdup' makes pointer > > from integer without a cast > > check_nt.c:342: warning: passing arg 1 of `usage' makes pointer from > > integer without a cast > > check_nt.c: In function `process_arguments': > > check_nt.c:482: warning: passing arg 1 of `strlen' makes pointer from > > integer without a cast > > check_nt.c:482: warning: passing arg 2 of `memcpy' makes pointer from > > integer without a cast > > check_nt.c:482: warning: passing arg 1 of `__strdup' makes pointer > > from integer without a cast > > check_nt.c: In function `fetch_data': > > check_nt.c:495: warning: passing arg 1 of `process_tcp_request' > > discards qualifiers from pointer target type > > check_nt.c:495: warning: passing arg 3 of `process_tcp_request' > > discards qualifiers from pointer target type > > check_nt.c: In function `print_help': > > check_nt.c:541: warning: passing arg 1 of `printf' makes pointer from > > integer without a cast > > check_nt.c:565: warning: passing arg 1 of `printf' makes pointer from > > integer without a cast > > check_nt.c:566: warning: passing arg 1 of `printf' makes pointer from > > integer without a cast > > check_nt.c:569: warning: passing arg 1 of `printf' makes pointer from > > integer without a cast > > check_nt.c:572: warning: passing arg 1 of `printf' makes pointer from > > integer without a cast > > check_nt.c:579: warning: passing arg 1 of `printf' makes pointer from > > integer without a cast > > check_nt.c:582: warning: passing arg 1 of `printf' makes pointer from > > integer without a cast > > check_nt.c:586: warning: passing arg 1 of `printf' makes pointer from > > integer without a cast > > check_nt.c:589: warning: passing arg 1 of `printf' makes pointer from > > integer without a cast > > check_nt.c:595: warning: passing arg 1 of `printf' makes pointer from > > integer without a cast > > check_nt.c:598: warning: passing arg 1 of `printf' makes pointer from > > integer without a cast > > check_nt.c:607: warning: passing arg 1 of `printf' makes pointer from > > integer without a cast > > check_nt.c: In function `print_usage': > > check_nt.c:620: warning: passing arg 1 of `printf' makes pointer from > > integer without a cast > > check_nt.c:623: error: `UT_HLP_VRS' undeclared (first use in this > > function) > > check_nt.c:623: warning: passing arg 1 of `printf' makes pointer from > > integer without a cast > > make[2]: *** [check_nt.o] Error 1 > > > > Any ideas? > > ----- Original Message ----- > > From: Cook, Garry > > To: Paulo Afonso Graner Fessel ; per...@li...= t > > Sent: Thursday, August 12, 2004 4:06 PM > > Subject: RE: [Perfparse-users] Warn values are not going into databas= e > > > > > > I'm not sure that I completely understand your question... What do > > you mean by 'I'm not including all fields of performance data on > > plugin output'? > > > > Plugin output of performance data should be in the format > > 'label'=3Dvalue[UOM];[warn];[crit];[min];[max] > > Please see > > http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN185 > > for detailed information. > > > > As you can see from the above, some of the variables are optional > > (those enclosed in square brackets). If your performance data does > > not supply the warning and critical values, they will not make it > > into the database. > > Garry W. Cook, CCNA > > Network Infrastructure Manager > > MACTEC, Inc. - http://www.mactec.com/ > > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > -----Original Message----- > > From: per...@li... > > [mailto:per...@li...] On Behalf Of > > Paulo Afonso Graner Fessel > > Sent: Wednesday, August 11, 2004 2:44 PM > > To: per...@li... > > Subject: [Perfparse-users] Warn values are not going into database > > > > > > Hello, folks. > > > > We have noticed today that perfparse is not inserting the warning > > values into perfdata_service_bin table, only the critical ones. So > > it's impossible to graph threshold lines as warning values are always > > "0". > > > > Does it happen because i'm not including all fields of performance > > data on plugin output? Is it neccessary to include all fields of > > performance values on plugin output? > > > > []'s > > Paulo Fessel > > > > "This is not right. This is not even wrong." (Wolfgang Pauli) > > > > Paulo Fessel > > Administrador de Ambiente e Sistemas UNIX PrimeSys Solu=E7=F5es > > Empresariais > > Av. Brig. Faria Lima, 1485 - 13=B0 andar > > Torre Norte - Pinheiros > > 01451-904 > > S=E3o Paulo - SP > > pau...@pr... tel: > > fax: > > mobile: +55 (11) 3038-6554 > > +55 (11) 3038-6508 > > +55 (11) 8259-0353 > > > > > > > > > > Signature powered by PlaxoWant a signature like this? > > > > Add me to your address book... > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users |
From: Nate A. S. <nat...@di...> - 2004-08-12 16:05:46
|
I am now getting graphs for memory usage, CPU load, and Disk space. That's all I need. Here is the link for check_traffic from Nagios extras page. http://nagios.sourceforge.net/download/contrib/misc/check_traffic/ Thanks! Nate -----Original Message----- From: Cook, Garry [mailto:GW...@ma...]=20 Sent: Thursday, August 12, 2004 11:03 AM To: Nate A. Smith; per...@li... Subject: RE: [Perfparse-users] Check_traffic Nate A. Smith wrote: > Does anyone have the check_traffic plugin graphing? > Thanks so much on the check_nt graphs!! > All seems to be working!! >=20 > Nate Smith > Disetronic Medical Systems > IT Support Consultant That's great! I'm glad the check_nt plugin is working for you. As you can see, it does not include perfdata for all of the different windows checks. Do you check any of the ones that do not have perfdata? Do you see a need for perfdata for those checks? As I mentioned in the original thread, I didn't see the use for perfdata on those, just wondering if maybe I missed something important. As for check_traffic, I'm not familiar with that plugin, and have not yet been able to locate it in my plugins source or contrib directories. Where is this plugin source located and what does it do? I'll check an older source version, I'm currently working from plugins 1.4.0alpha (CVS). Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) |
From: Cook, G. <GW...@ma...> - 2004-08-12 16:03:29
|
Nate A. Smith wrote: > Does anyone have the check_traffic plugin graphing? > Thanks so much on the check_nt graphs!! > All seems to be working!! >=20 > Nate Smith > Disetronic Medical Systems > IT Support Consultant That's great! I'm glad the check_nt plugin is working for you. As you can see, it does not include perfdata for all of the different windows checks. Do you check any of the ones that do not have perfdata? Do you see a need for perfdata for those checks? As I mentioned in the original thread, I didn't see the use for perfdata on those, just wondering if maybe I missed something important. As for check_traffic, I'm not familiar with that plugin, and have not yet been able to locate it in my plugins source or contrib directories. Where is this plugin source located and what does it do? I'll check an older source version, I'm currently working from plugins 1.4.0alpha (CVS). Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) |
From: Nate A. S. <nat...@di...> - 2004-08-12 15:55:45
|
Does anyone have the check_traffic plugin graphing? =20 Thanks so much on the check_nt graphs!! =20 All seems to be working!! =20 Nate Smith Disetronic Medical Systems IT Support Consultant =20 |
From: Cook, G. <GW...@ma...> - 2004-08-12 15:55:27
|
That's strange... As I mentioned before, I can't be sure that it will = compile properly on all systems, as I only have RH9.0 to test with (and = FC1, but haven't really had time to check it out in that environment). However, I'm wondering if maybe the source code that I sent was somehow = corrupted. Do your lines 110 through 115 look like the following? setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); =20 if(process_arguments(argc,argv)=3D=3DERROR) usage(_("Could not parse arguments\n")); If not, they should. Let me know. Thanks. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) Barry Weeks wrote: > Hi Gary / All >=20 > check_nt will not compile for me see below >=20 > gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib > -I/usr/include/ldap -I/usr/include -g -O2 -c `test -f > 'check_nt.c' || echo './'`check_nt.c =20 > check_nt.c: In function `main': > check_nt.c:105: error: `LC_ALL' undeclared (first use in this > function)=20 > check_nt.c:105: error: (Each undeclared identifier is reported only > once=20 > check_nt.c:105: error: for each function it appears in.) > check_nt.c:106: error: `LOCALEDIR' undeclared (first use in this > function)=20 > check_nt.c:110: warning: passing arg 1 of `usage' makes pointer from > integer without a cast=20 > check_nt.c:136: warning: passing arg 1 of `strlen' makes pointer from > integer without a cast=20 > check_nt.c:136: warning: passing arg 2 of `memcpy' makes pointer from > integer without a cast=20 > check_nt.c:136: warning: passing arg 1 of `__strdup' makes pointer > from integer without a cast=20 > check_nt.c:138: warning: passing arg 1 of `strlen' makes pointer from > integer without a cast=20 > check_nt.c:138: warning: passing arg 2 of `memcpy' makes pointer from > integer without a cast=20 > check_nt.c:138: warning: passing arg 1 of `__strdup' makes pointer > from integer without a cast=20 > check_nt.c:142: warning: passing arg 1 of `strlen' makes pointer from > integer without a cast=20 > check_nt.c:142: warning: passing arg 2 of `memcpy' makes pointer from > integer without a cast=20 > check_nt.c:142: warning: passing arg 1 of `__strdup' makes pointer > from integer without a cast=20 > check_nt.c:143: warning: passing arg 1 of `strlen' makes pointer from > integer without a cast=20 > check_nt.c:143: warning: passing arg 2 of `memcpy' makes pointer from > integer without a cast=20 > check_nt.c:143: warning: passing arg 1 of `__strdup' makes pointer > from integer without a cast=20 > check_nt.c:177: warning: passing arg 1 of `strlen' makes pointer from > integer without a cast=20 > check_nt.c:177: warning: passing arg 2 of `memcpy' makes pointer from > integer without a cast=20 > check_nt.c:177: warning: passing arg 1 of `__strdup' makes pointer > from integer without a cast=20 > check_nt.c:196: warning: passing arg 1 of `strlen' makes pointer from > integer without a cast=20 > check_nt.c:196: warning: passing arg 2 of `memcpy' makes pointer from > integer without a cast=20 > check_nt.c:196: warning: passing arg 1 of `__strdup' makes pointer > from integer without a cast=20 > check_nt.c:198: warning: passing arg 1 of `strlen' makes pointer from > integer without a cast=20 > check_nt.c:198: warning: passing arg 2 of `memcpy' makes pointer from > integer without a cast=20 > check_nt.c:198: warning: passing arg 1 of `__strdup' makes pointer > from integer without a cast=20 > check_nt.c:227: warning: passing arg 1 of `strlen' makes pointer from > integer without a cast=20 > check_nt.c:227: warning: passing arg 2 of `memcpy' makes pointer from > integer without a cast=20 > check_nt.c:227: warning: passing arg 1 of `__strdup' makes pointer > from integer without a cast=20 > check_nt.c:237: warning: passing arg 1 of `strlen' makes pointer from > integer without a cast=20 > check_nt.c:237: warning: passing arg 2 of `memcpy' makes pointer from > integer without a cast=20 > check_nt.c:237: warning: passing arg 1 of `__strdup' makes pointer > from integer without a cast=20 > check_nt.c:276: warning: passing arg 1 of `strlen' makes pointer from > integer without a cast=20 > check_nt.c:276: warning: passing arg 2 of `memcpy' makes pointer from > integer without a cast=20 > check_nt.c:276: warning: passing arg 1 of `__strdup' makes pointer > from integer without a cast=20 > check_nt.c:312: warning: passing arg 1 of `strlen' makes pointer from > integer without a cast=20 > check_nt.c:312: warning: passing arg 2 of `memcpy' makes pointer from > integer without a cast=20 > check_nt.c:312: warning: passing arg 1 of `__strdup' makes pointer > from integer without a cast=20 > check_nt.c:342: warning: passing arg 1 of `usage' makes pointer from > integer without a cast=20 > check_nt.c: In function `process_arguments': > check_nt.c:482: warning: passing arg 1 of `strlen' makes pointer from > integer without a cast=20 > check_nt.c:482: warning: passing arg 2 of `memcpy' makes pointer from > integer without a cast=20 > check_nt.c:482: warning: passing arg 1 of `__strdup' makes pointer > from integer without a cast=20 > check_nt.c: In function `fetch_data': > check_nt.c:495: warning: passing arg 1 of `process_tcp_request' > discards qualifiers from pointer target type=20 > check_nt.c:495: warning: passing arg 3 of `process_tcp_request' > discards qualifiers from pointer target type=20 > check_nt.c: In function `print_help': > check_nt.c:541: warning: passing arg 1 of `printf' makes pointer from > integer without a cast=20 > check_nt.c:565: warning: passing arg 1 of `printf' makes pointer from > integer without a cast=20 > check_nt.c:566: warning: passing arg 1 of `printf' makes pointer from > integer without a cast=20 > check_nt.c:569: warning: passing arg 1 of `printf' makes pointer from > integer without a cast=20 > check_nt.c:572: warning: passing arg 1 of `printf' makes pointer from > integer without a cast=20 > check_nt.c:579: warning: passing arg 1 of `printf' makes pointer from > integer without a cast=20 > check_nt.c:582: warning: passing arg 1 of `printf' makes pointer from > integer without a cast=20 > check_nt.c:586: warning: passing arg 1 of `printf' makes pointer from > integer without a cast=20 > check_nt.c:589: warning: passing arg 1 of `printf' makes pointer from > integer without a cast=20 > check_nt.c:595: warning: passing arg 1 of `printf' makes pointer from > integer without a cast=20 > check_nt.c:598: warning: passing arg 1 of `printf' makes pointer from > integer without a cast=20 > check_nt.c:607: warning: passing arg 1 of `printf' makes pointer from > integer without a cast=20 > check_nt.c: In function `print_usage': > check_nt.c:620: warning: passing arg 1 of `printf' makes pointer from > integer without a cast=20 > check_nt.c:623: error: `UT_HLP_VRS' undeclared (first use in this > function)=20 > check_nt.c:623: warning: passing arg 1 of `printf' makes pointer from > integer without a cast=20 > make[2]: *** [check_nt.o] Error 1 >=20 > Any ideas? > ----- Original Message ----- > From: Cook, Garry > To: Paulo Afonso Graner Fessel ; per...@li... > Sent: Thursday, August 12, 2004 4:06 PM > Subject: RE: [Perfparse-users] Warn values are not going into database >=20 >=20 > I'm not sure that I completely understand your question... What do > you mean by 'I'm not including all fields of performance data on > plugin output'? =20 >=20 > Plugin output of performance data should be in the format > 'label'=3Dvalue[UOM];[warn];[crit];[min];[max]=20 > Please see > http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN185 > for detailed information. =20 >=20 > As you can see from the above, some of the variables are optional > (those enclosed in square brackets). If your performance data does > not supply the warning and critical values, they will not make it > into the database. =20 > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > -----Original Message----- > From: per...@li... > [mailto:per...@li...] On Behalf Of > Paulo Afonso Graner Fessel =20 > Sent: Wednesday, August 11, 2004 2:44 PM > To: per...@li... > Subject: [Perfparse-users] Warn values are not going into database >=20 >=20 > Hello, folks. >=20 > We have noticed today that perfparse is not inserting the warning > values into perfdata_service_bin table, only the critical ones. So > it's impossible to graph threshold lines as warning values are always > "0". =20 >=20 > Does it happen because i'm not including all fields of performance > data on plugin output? Is it neccessary to include all fields of > performance values on plugin output? =20 >=20 > []'s > Paulo Fessel >=20 > "This is not right. This is not even wrong." (Wolfgang Pauli) >=20 > Paulo Fessel > Administrador de Ambiente e Sistemas UNIX PrimeSys Solu=E7=F5es > Empresariais=20 > Av. Brig. Faria Lima, 1485 - 13=B0 andar > Torre Norte - Pinheiros > 01451-904 > S=E3o Paulo - SP > pau...@pr... tel: > fax: > mobile: +55 (11) 3038-6554 > +55 (11) 3038-6508 > +55 (11) 8259-0353 >=20 >=20 >=20 >=20 > Signature powered by PlaxoWant a signature like this? >=20 > Add me to your address book... |
From: Cook, G. <GW...@ma...> - 2004-08-12 15:00:15
|
Exactly what Philipp said. Although you might want to backup your original check_nt.c file as well. This way, if your interested in the changes made to add the perfdata, you can compare the old and new source files. Also, should you not backup the check_nt binary, you can always recompile the original if necessary. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) per...@li... wrote: > when you have the nagios-plugin pack, simply replace the check_nt.c > file in the nagiospluginsource/plugins/ directory and then do > ./configure in your nagiospluginsource - directory, then simply type > make. Then the script will be compiled fine and you can copy > the freshly > compiled binary from the nagiospluginsource/plugins/ to your > libexec dir > and overwrite to "old" one. Maybe you should make a backup of > you "old" > version... >=20 >> -----Original Message----- >> From: per...@li... >> [mailto:per...@li...] On Behalf Of >> Nate A. Smith Sent: Thursday, August 12, 2004 4:25 PM >> To: Cook, Garry; Sean Harbour >> Cc: per...@li... >> Subject: RE: [Perfparse-users] Added perfdata to check_nt >>=20 >> What's the command line to compile it (newbie?). If I use >> gcc check_nt.c it gives me an error... >>=20 >> Nate >>=20 >> -----Original Message----- >> From: per...@li... >> [mailto:per...@li...] On Behalf Of >> Cook, Garry Sent: Wednesday, August 11, 2004 9:25 PM >> To: Sean Harbour >> Cc: per...@li... >> Subject: RE: [Perfparse-users] Added perfdata to check_nt >>=20 >> Sean, >> You don't need a windows compiler, check_nt is the plugin >> that runs on the Nagios box. Compile it in your plugins >> source directory, then copy it to your nagios/libexec folder. >> Like I said before, don't forget to backup your original >> check_nt first, just in case it doesn't work for you. >>=20 >> Sorry for the confusion. I know that I mentioned a windows >> compiler in another thread, but that was before I realized I >> only needed to make changes to check_nt. >>=20 >> Garry W. Cook, CCNA >> Network Infrastructure Manager >> MACTEC, Inc. - http://www.mactec.com/ >> 303.308.6228 (Office) - 720.220.1862 (Mobile) >>=20 >> Sean Harbour wrote: >>> Hey, can you send me a compiled version? I can test this tomorrow >>> morning! Or, give me a download link. I don't have windows compiler. >>>=20 >>> Sean Harbour >>>=20 >>> -----Original Message----- >>> From: Cook, Garry [mailto:GW...@ma...] >>> Sent: Wed 8/11/2004 3:26 PM >>> To: per...@li... >>> Cc: nagiosplug-help; nag...@li... >>> Subject: [Perfparse-users] Added perfdata to check_nt >>>=20 >>>=20 >>>=20 >>> First off, I'm sorry for the cross-post, there were several people >>> interested in this on different lists. If you're on a list that >>> does not allow attachments, contact me off-list and I'll send you >>> a copy of the plugin source. >>>=20 >>> I've added Performance Data to the check_nt plugin |
From: Sand P. <Phi...@sy...> - 2004-08-12 14:37:16
|
when you have the nagios-plugin pack, simply replace the check_nt.c file in the nagiospluginsource/plugins/ directory and then do =2E/configure in your nagiospluginsource - directory, then simply type make. Then the script will be compiled fine and you can copy the freshly compiled binary from the nagiospluginsource/plugins/ to your libexec dir and overwrite to "old" one. Maybe you should make a backup of you "old" version... > -----Original Message----- > From: per...@li...=20 > [mailto:per...@li...] On=20 > Behalf Of Nate A. Smith > Sent: Thursday, August 12, 2004 4:25 PM > To: Cook, Garry; Sean Harbour > Cc: per...@li... > Subject: RE: [Perfparse-users] Added perfdata to check_nt >=20 > What's the command line to compile it (newbie?). If I use=20 > gcc check_nt.c it gives me an error... >=20 > Nate >=20 > -----Original Message----- > From: per...@li... > [mailto:per...@li...] On=20 > Behalf Of Cook, Garry > Sent: Wednesday, August 11, 2004 9:25 PM > To: Sean Harbour > Cc: per...@li... > Subject: RE: [Perfparse-users] Added perfdata to check_nt >=20 > Sean, > You don't need a windows compiler, check_nt is the plugin=20 > that runs on the Nagios box. Compile it in your plugins=20 > source directory, then copy it to your nagios/libexec folder.=20 > Like I said before, don't forget to backup your original=20 > check_nt first, just in case it doesn't work for you. >=20 > Sorry for the confusion. I know that I mentioned a windows=20 > compiler in another thread, but that was before I realized I=20 > only needed to make changes to check_nt. >=20 > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) >=20 > Sean Harbour wrote: > > Hey, can you send me a compiled version? I can test this tomorrow=20 > > morning! Or, give me a download link. I don't have windows compiler. > >=20 > > Sean Harbour > >=20 > > -----Original Message----- > > From: Cook, Garry [mailto:GW...@ma...] > > Sent: Wed 8/11/2004 3:26 PM > > To: per...@li... > > Cc: nagiosplug-help; nag...@li... > > Subject: [Perfparse-users] Added perfdata to check_nt > >=20 > >=20 > >=20 > > First off, I'm sorry for the cross-post, there were several > people > > interested in this on different lists. If you're on a list that > does > > not allow attachments, contact me off-list and I'll=20 > send you a copy=20 > > of the > > plugin source. > >=20 > > I've added Performance Data to the check_nt plugin >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on=20 > Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic=20 > DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free=20 > Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on=20 > Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic=20 > DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free=20 > Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users >=20 ************************************************ sycor plastics - die neue Branchenl=F6sung f=FCr die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar=FCber hinaus pers=F6nliche Info= rmationen beinhalten. Wenn Sie nicht der bestimmungsgem=E4=DFe Empf=E4nge= r sind, l=F6schen Sie bitte die E-Mail und deren Anh=E4nge sofort und ben= achrichtigen Sie uns dar=FCber. Die Firma sycor willigt in keine Vertr=E4= ge oder vertragliche Verpflichtungen ein oder =FCbermittelt rechtsverbind= liche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht= ausdr=FCcklich in schriftlicher Form zwischen den Parteien vereinbart wu= rde. This e-mail is confidential and may contain personal and/or privileged in= formation. If you are not the intended recipient please delete this e-mai= l and all attachments immediately and inform us. The company sycor does n= ot agree with contracts or contract obligations sent by e-mail, neither d= o we transmit legally binding offers by e-mail, unless this is not expres= sly agreed upon between the parties and documented in written form. |
From: Nate A. S. <nat...@di...> - 2004-08-12 14:24:30
|
What's the command line to compile it (newbie?). If I use gcc check_nt.c it gives me an error... Nate -----Original Message----- From: per...@li... [mailto:per...@li...] On Behalf Of Cook, Garry Sent: Wednesday, August 11, 2004 9:25 PM To: Sean Harbour Cc: per...@li... Subject: RE: [Perfparse-users] Added perfdata to check_nt Sean, You don't need a windows compiler, check_nt is the plugin that runs on the Nagios box. Compile it in your plugins source directory, then copy it to your nagios/libexec folder. Like I said before, don't forget to backup your original check_nt first, just in case it doesn't work for you. Sorry for the confusion. I know that I mentioned a windows compiler in another thread, but that was before I realized I only needed to make changes to check_nt. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) Sean Harbour wrote: > Hey, can you send me a compiled version? I can test this > tomorrow morning! Or, give me a download link. I don't have windows > compiler.=20 >=20 > Sean Harbour >=20 > -----Original Message----- > From: Cook, Garry [mailto:GW...@ma...] > Sent: Wed 8/11/2004 3:26 PM > To: per...@li... > Cc: nagiosplug-help; nag...@li... > Subject: [Perfparse-users] Added perfdata to check_nt >=20 >=20 >=20 > First off, I'm sorry for the cross-post, there were several people > interested in this on different lists. If you're on a list that does > not allow attachments, contact me off-list and I'll send > you a copy of the > plugin source. >=20 > I've added Performance Data to the check_nt plugin ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Perfparse-users mailing list Per...@li... https://lists.sourceforge.net/lists/listinfo/perfparse-users |
From: Cook, G. <GW...@ma...> - 2004-08-12 02:25:36
|
Sean, You don't need a windows compiler, check_nt is the plugin that runs on the Nagios box. Compile it in your plugins source directory, then copy it to your nagios/libexec folder. Like I said before, don't forget to backup your original check_nt first, just in case it doesn't work for you. Sorry for the confusion. I know that I mentioned a windows compiler in another thread, but that was before I realized I only needed to make changes to check_nt. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) Sean Harbour wrote: > Hey, can you send me a compiled version? I can test this > tomorrow morning! Or, give me a download link. I don't have windows > compiler.=20 >=20 > Sean Harbour >=20 > -----Original Message----- > From: Cook, Garry [mailto:GW...@ma...] > Sent: Wed 8/11/2004 3:26 PM > To: per...@li... > Cc: nagiosplug-help; nag...@li... > Subject: [Perfparse-users] Added perfdata to check_nt >=20 >=20 >=20 > First off, I'm sorry for the cross-post, there were several people > interested in this on different lists. If you're on a list that does > not allow attachments, contact me off-list and I'll send > you a copy of the > plugin source. >=20 > I've added Performance Data to the check_nt plugin |
From: Cook, G. <GW...@ma...> - 2004-08-11 22:26:52
|
First off, I'm sorry for the cross-post, there were several people interested in this on different lists. If you're on a list that does not allow attachments, contact me off-list and I'll send you a copy of the plugin source. I've added Performance Data to the check_nt plugin distributed with NSClient and Nagios plugins. A copy of the source is attached, please feel free to compile and test (don't forget to backup your original check_nt plugin). I'm not a master coder, just a hacker, but I was able to make it work well for my implementation. With that said, if anyone has any problems with it, please let me know. But keep in mind that I don't have a lot of different systems to compile on, so I may not be able to fix it for you. I've commented the code pretty well, so it should be readily apparent where things have been added by me. I have not changed the revision number, so I'll probably submit this as a patch after I have some feedback from people. I'm guessing that I should submit it to both Nagios Plugins devel as well as the NSClient developers. If any of you reading this are developers of NSClient, please contact me off-list and I'll be happy to submit this in whatever format your require. Some notes on this updated plugin: If checking a windows COUNTER, a definition is required in order to generate perfdata. The definition is usually optional. The following checks return performance data: CPULOAD USEDDISKSPACE MEMUSE COUNTER The following checks do NOT return performance data: CLIENTVERSION UPTIME SERVICESTATE PROCSTATE I didn't see a need for, nor an easy way to add, performance data for the CLIENTVERSION, UPTIME, SERVICESTATE, & PROCSTATE checks. If you disagree with my assessment of the need for perfdata with any of these, please let me know and maybe I'll try to add that as well. I have also changed the code for the MEMUSE check, as it did not appear to give the proper output originally. Please let me know if I've borked this somehow, although on my systems it shows output that looks good. Alternatively, just look at the code. I've documented the change and anyone that can compile and install Nagios should easily be able to change it back and recompile the plugin. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile)=20 |
From: Nate A. S. <nat...@di...> - 2004-08-11 20:36:01
|
Finally got perfparse to compile on Fedora Core 2 Final. I had to manually create the link for libX11 and libXpm into the /usr/bin directory. After doing this it compiled great! Now for my problem. I am not getting any data to analyze. When I run ./perfparse it says it is taking data and putting it into the SQL database, but I cannot graph any of it out. I can see hosts, but that's it. Thanks again all! Nate =20 |
From: Sean H. <SHa...@nw...> - 2004-08-11 18:56:10
|
Rm9yIHdoYXQgaXQncyB3b3J0aCwgLjk5LjA4IGNvbXBpbGVkIGNsZWFubHkgb24gTWFuZHJha2Ug MTAgRmluYWwuDQpJIGFtIGhhdmluZyBhbiBpc3N1ZSBnZXR0aW5nIHBlcmZvcm1hbmNlIG1vbml0 b3JpbmcgdG8gd29yayB3aXRoIE5hZ2lvcyAyLnggQ1ZTLCBidXQgSSB0aGluaw0KdGhhdCBpcyB1 bnJlbGF0ZWQuDQogDQpTZWFuIEhhcmJvdXINCiANCj4gSXQgbG9va3MgbGlrZSB5b3UgYXJlIGF0 dGVtcHRpbmcgdG8gY29tcGlsZSANCj4gdi4wLjk5LjA3LiBIYXZlIHlvdSB0cmllZCANCj4gdGhl IGxhdGVzdCBzdGFibGUgdmVyc2lvbiwgdi4wLjk5LjA4PyANCg0K |
From: Jon L. <jly...@ya...> - 2004-08-11 18:20:51
|
Same result agios# make make all-recursive Making all in libperfparse Making all in perfparse Making all in cgi source='cgi_raw_report.c' object='perfgraph_cgi-cgi_raw_report.o' libtool=no depfile='.deps/perfgraph_cgi-cgi_raw_report.Po' tmpdepfile='.deps/perfgraph_cgi-cgi_raw_report.TPo' depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -O -pipe -D_THREAD_SAFE -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I../libperfparse '-DSYSCONFDIR="/usr/local/etc"' -g -O2 -Wall -c -o perfgraph_cgi-cgi_raw_report.o `test -f 'cgi_raw_report.c' || echo './'`cgi_raw_report.c cgi_raw_report.c: In function `displayRawHistory': cgi_raw_report.c:49: syntax error before `int' cgi_raw_report.c:208: `iStates' undeclared (first use in this function) cgi_raw_report.c:208: (Each undeclared identifier is reported only once cgi_raw_report.c:208: for each function it appears in.) cgi_raw_report.c:310: warning: use of `l' length character with `f' type character *** Error code 1 Stop in /usr/home/lyonsjo/perfparse-0.99.08/cgi. *** Error code 1 Stop in /usr/home/lyonsjo/perfparse-0.99.08. *** Error code 1 Stop in /usr/home/lyonsjo/perfparse-0.99.08. nagios# --- "Cook, Garry" <GW...@ma...> wrote: > I fixed the link, thanks for the heads up. > > It looks like you are attempting to compile > v.0.99.07. Have you tried > the latest stable version, v.0.99.08? > If not, please download and compile that one, and > post your results back > to the list. > > Also, what Linux distro/version are you running this > on? > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail |
From: Cook, G. <GW...@ma...> - 2004-08-11 17:04:51
|
I fixed the link, thanks for the heads up. It looks like you are attempting to compile v.0.99.07. Have you tried the latest stable version, v.0.99.08? If not, please download and compile that one, and post your results back to the list. Also, what Linux distro/version are you running this on? Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) per...@li... wrote: > (PerfParse v.0.99.07 points to PerfParse v.0.99.06 on > website)... >=20 > I get this when I try to complie the newer versions of > perfparse, I can build the older versions (.11), not > sure where to go from here... >=20 > nagios# make > make all-recursive > Making all in libperfparse > Making all in perfparse > Making all in cgi > source=3D'cgi_raw_report.c' > object=3D'perfgraph_cgi-cgi_raw_report.o' libtool=3Dno > depfile=3D'.deps/perfgraph_cgi-cgi_raw_report.Po' > tmpdepfile=3D'.deps/perfgraph_cgi-cgi_raw_report.TPo' > depmode=3Dgcc /usr/local/bin/bash ../depcomp gcc > -DHAVE_CONFIG_H -I. -I. -I.. > -I/usr/local/include/mysql -O -pipe -D_THREAD_SAFE > -I/usr/local/include/glib-2.0 > -I/usr/local/lib/glib-2.0/include -I../libperfparse > '-DSYSCONFDIR=3D"/usr/local/etc"' -g -O2 -Wall -c -o > perfgraph_cgi-cgi_raw_report.o `test -f > 'cgi_raw_report.c' || echo './'`cgi_raw_report.c > cgi_raw_report.c: In function `displayRawHistory': > cgi_raw_report.c:49: syntax error before `int' > cgi_raw_report.c:208: `iStates' undeclared (first use > in this function) > cgi_raw_report.c:208: (Each undeclared identifier is > reported only once > cgi_raw_report.c:208: for each function it appears > in.) > cgi_raw_report.c:310: warning: use of `l' length > character with `f' type character > *** Error code 1 >=20 > Stop in /usr/home/lyonsjo/perfparse-0.99.07/cgi. > *** Error code 1 >=20 > Stop in /usr/home/lyonsjo/perfparse-0.99.07. > *** Error code 1 >=20 > Stop in /usr/home/lyonsjo/perfparse-0.99.07. > nagios# > nagios# |
From: Jon L. <jly...@ya...> - 2004-08-11 16:40:46
|
(PerfParse v.0.99.07 points to PerfParse v.0.99.06 on website)... I get this when I try to complie the newer versions of perfparse, I can build the older versions (.11), not sure where to go from here... nagios# make make all-recursive Making all in libperfparse Making all in perfparse Making all in cgi source='cgi_raw_report.c' object='perfgraph_cgi-cgi_raw_report.o' libtool=no depfile='.deps/perfgraph_cgi-cgi_raw_report.Po' tmpdepfile='.deps/perfgraph_cgi-cgi_raw_report.TPo' depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -O -pipe -D_THREAD_SAFE -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I../libperfparse '-DSYSCONFDIR="/usr/local/etc"' -g -O2 -Wall -c -o perfgraph_cgi-cgi_raw_report.o `test -f 'cgi_raw_report.c' || echo './'`cgi_raw_report.c cgi_raw_report.c: In function `displayRawHistory': cgi_raw_report.c:49: syntax error before `int' cgi_raw_report.c:208: `iStates' undeclared (first use in this function) cgi_raw_report.c:208: (Each undeclared identifier is reported only once cgi_raw_report.c:208: for each function it appears in.) cgi_raw_report.c:310: warning: use of `l' length character with `f' type character *** Error code 1 Stop in /usr/home/lyonsjo/perfparse-0.99.07/cgi. *** Error code 1 Stop in /usr/home/lyonsjo/perfparse-0.99.07. *** Error code 1 Stop in /usr/home/lyonsjo/perfparse-0.99.07. nagios# nagios# __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail |
From: Cook, G. <GW...@ma...> - 2004-08-10 15:07:21
|
Did you send this message to the list as well? It appears as though you did, but I only saw it come through at my address. Either way, please be aware that you should always reply to the list, because as I'm about to prove, I don't have all of the answers... Not being the C guru that Ben and Yves appear to be, I couldn't find the problem based on the output you've provided. Ben and Yves are both on vacation this week, but perhaps they can spot the issue when they return, or maybe someone else on the list can help... With that said, I did a bit of googling and found other folks out there with similar errors, on many different Linux distros, when compiling several different apps. It appears as though this may be an error related to gcc, possibly because it's a very new version distributed with Fedora Core2. From what I've read, it may be that the newer gcc and older autoconf (which creates the configure file) don't play nice together. =20 Is anyone else out there running Nagios and PerfParse on FC2? Seen errors like this? Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) Nate A. Smith wrote: > -----Original Message----- > From: Nate A. Smith > Sent: Tuesday, August 10, 2004 9:08 AM > To: per...@li... > Subject: RE: [Perfparse-users] Compile Error >=20 >=20 > Here is my info. I see an error in the compile process, but > don't know > how to fix it... >=20 > Fedora Core 2 Final >=20 > Here is my glib config: >=20 > glibc-devel-2.3.3-27 > glibc-common-2.3.3-27 > glib2-2.4.0-1 > glib2-devel-2.4.0-1 > glibc-kernheaders-2.4-8.44 > glibc-2.3.3-27 > glib-1.2.10-12.1.1 > dbus-glib-0.20-4.1 > glibc-headers-2.3.3-27 > glib-devel-1.2.10-12.1.1 >=20 > And my config.log: >=20 > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. >=20 > It was created by perfparse configure 0.99.08, which was > generated by GNU Autoconf 2.58. Invocation command line was >=20 > $ ./configure >=20 > ## --------- ## > ## Platform. ## > ## --------- ## >=20 > hostname =3D rdfuxlinux1 > uname -m =3D i686 > uname -r =3D 2.6.5-1.358 > uname -s =3D Linux > uname -v =3D #1 Sat May 8 09:04:50 EDT 2004 >=20 > /usr/bin/uname -p =3D unknown > /bin/uname -X =3D unknown >=20 > /bin/arch =3D i686 > /usr/bin/arch -k =3D unknown > /usr/convex/getsysinfo =3D unknown > hostinfo =3D unknown > /bin/machine =3D unknown > /usr/bin/oslevel =3D unknown > /bin/universe =3D unknown >=20 > PATH: /usr/kerberos/sbin > PATH: /usr/kerberos/bin > PATH: /usr/local/sbin > PATH: /usr/local/bin > PATH: /sbin > PATH: /bin > PATH: /usr/sbin > PATH: /usr/bin > PATH: /usr/X11R6/bin > PATH: /root/bin >=20 >=20 > ## ----------- ## > ## Core tests. ## > ## ----------- ## >=20 > configure:1551: checking build system type > configure:1569: result: i686-pc-linux-gnu > configure:1577: checking host system type > configure:1591: result: i686-pc-linux-gnu > configure:1599: checking target system type > configure:1613: result: i686-pc-linux-gnu > configure:1641: checking for a BSD-compatible install > configure:1696: result: /usr/bin/install -c > configure:1707: checking whether build environment is sane > configure:1750: result: yes configure:1807: checking for gawk > configure:1823: found /bin/gawk > configure:1833: result: gawk > configure:1843: checking whether make sets $(MAKE) > configure:1863: result: yes > configure:2078: checking for gcc > configure:2094: found /usr/bin/gcc > configure:2104: result: gcc > configure:2348: checking for C compiler version > configure:2351: gcc --version </dev/null >&5 > gcc (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7) > Copyright (C) 2003 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There > is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE.=20 >=20 > configure:2354: $? =3D 0 > configure:2356: gcc -v </dev/null >&5 > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs > Configured with: ../configure --prefix=3D/usr = --mandir=3D/usr/share/man > --infodir=3D/usr/share/info --enable-shared --enable-threads=3Dposix > --disable-checking --disable-libunwind-exceptions --with-system-zlib > --enable-__cxa_atexit --host=3Di386-redhat-linux > Thread model: posix > gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7) > configure:2359: $? =3D 0 > configure:2361: gcc -V </dev/null >&5 > gcc: `-V' option must have argument > configure:2364: $? =3D 1 > configure:2387: checking for C compiler default output file name > configure:2390: gcc conftest.c >&5 > configure:2393: $? =3D 0 > configure:2439: result: a.out > configure:2444: checking whether the C compiler works > configure:2450: ./a.out > configure:2453: $? =3D 0 > configure:2470: result: yes > configure:2477: checking whether we are cross compiling > configure:2479: result: no configure:2482: checking for suffix of > executables=20 > configure:2484: gcc -o conftest conftest.c >&5 > configure:2487: $? =3D 0 > configure:2512: result: > configure:2518: checking for suffix of object files > configure:2539: gcc -c conftest.c >&5 > configure:2542: $? =3D 0 > configure:2564: result: o > configure:2568: checking whether we are using the GNU C compiler > configure:2592: gcc -c conftest.c >&5 > configure:2598: $? =3D 0 > configure:2602: test -z > || test ! -s conftest.err > configure:2605: $? =3D 0 > configure:2608: test -s conftest.o > configure:2611: $? =3D 0 > configure:2624: result: yes > configure:2630: checking whether gcc accepts -g > configure:2651: gcc -c -g conftest.c >&5 > configure:2657: $? =3D 0 > configure:2661: test -z > || test ! -s conftest.err > configure:2664: $? =3D 0 > configure:2667: test -s conftest.o > configure:2670: $? =3D 0 > configure:2681: result: yes > configure:2698: checking for gcc option to accept ANSI C > configure:2768: gcc -c -g -O2 conftest.c >&5 > configure:2774: $? =3D 0 > configure:2778: test -z > || test ! -s conftest.err > configure:2781: $? =3D 0 > configure:2784: test -s conftest.o > configure:2787: $? =3D 0 > configure:2805: result: none needed > configure:2823: gcc -c -g -O2 conftest.c >&5 > conftest.c:2: error: syntax error before "me" > configure:2829: $? =3D 1 > configure: failed program was: >> #ifndef __cplusplus >> choke me >> #endif > configure:2973: checking for style of include used by make > configure:3001: result: GNU configure:3029: checking dependency style > of gcc=20 > configure:3119: result: gcc3 > configure:3136: checking whether make sets $(MAKE) > configure:3156: result: yes > configure:3178: checking for a BSD-compatible install > configure:3233: result: /usr/bin/install -c > configure:3316: checking for a sed that does not truncate output > configure:3370: result: /bin/sed > configure:3373: checking for egrep > configure:3383: result: grep -E > configure:3399: checking for ld used by gcc > configure:3466: result: /usr/bin/ld > configure:3475: checking if the linker (/usr/bin/ld) is GNU ld > configure:3490: result: yes configure:3495: checking for /usr/bin/ld > option to reload object files configure:3502: result: -r > configure:3511: checking for BSD-compatible nm=20 > configure:3553: result: /usr/bin/nm -B > configure:3557: checking whether ln -s works > configure:3561: result: yes > configure:3568: checking how to recognise dependent libraries > configure:3751: result: pass_all > configure:3965: checking how to run the C preprocessor > configure:4000: gcc -E conftest.c > configure:4006: $? =3D 0 > configure:4038: gcc -E conftest.c > conftest.c:11:28: ac_nonexistent.h: No such file or directory > configure:4044: $? =3D 1 configure: failed program was: >> /* confdefs.h. */ >>=20 >> #define PACKAGE_NAME "perfparse" >> #define PACKAGE_TARNAME "perfparse" >> #define PACKAGE_VERSION "0.99.08" >> #define PACKAGE_STRING "perfparse 0.99.08" >> #define PACKAGE_BUGREPORT "per...@cl..." #define PACKAGE >> "perfparse" #define VERSION "0.99.08" >> /* end confdefs.h. */ >> #include <ac_nonexistent.h> > configure:4083: result: gcc -E > configure:4107: gcc -E conftest.c > configure:4113: $? =3D 0 > configure:4145: gcc -E conftest.c > conftest.c:11:28: ac_nonexistent.h: No such file or directory > configure:4151: $? =3D 1 configure: failed program was: >> /* confdefs.h. */ >>=20 >> #define PACKAGE_NAME "perfparse" >> #define PACKAGE_TARNAME "perfparse" >> #define PACKAGE_VERSION "0.99.08" >> #define PACKAGE_STRING "perfparse 0.99.08" >> #define PACKAGE_BUGREPORT "per...@cl..." #define PACKAGE >> "perfparse" #define VERSION "0.99.08" >> /* end confdefs.h. */ >> #include <ac_nonexistent.h> > configure:4195: checking for ANSI C header files > configure:4220: gcc -c -g -O2 conftest.c >&5 > configure:4226: $? =3D 0 > configure:4230: test -z > || test ! -s conftest.err > configure:4233: $? =3D 0 > configure:4236: test -s conftest.o > configure:4239: $? =3D 0 > configure:4325: gcc -o conftest -g -O2 conftest.c >&5 > configure:4328: $? =3D 0 configure:4330: ./conftest > configure:4333: $? =3D 0 > configure:4348: result: yes > configure:4372: checking for sys/types.h > configure:4388: gcc -c -g -O2 conftest.c >&5 > configure:4394: $? =3D 0 > configure:4398: test -z > || test ! -s conftest.err > configure:4401: $? =3D 0 > configure:4404: test -s conftest.o > configure:4407: $? =3D 0 > configure:4418: result: yes > configure:4372: checking for sys/stat.h > configure:4388: gcc -c -g -O2 conftest.c >&5 > configure:4394: $? =3D 0 > configure:4398: test -z > || test ! -s conftest.err > configure:4401: $? =3D 0 > configure:4404: test -s conftest.o > configure:4407: $? =3D 0 > configure:4418: result: yes > configure:4372: checking for stdlib.h > configure:4388: gcc -c -g -O2 conftest.c >&5 > configure:4394: $? =3D 0 > configure:4398: test -z > || test ! -s conftest.err > configure:4401: $? =3D 0 > configure:4404: test -s conftest.o > configure:4407: $? =3D 0 > configure:4418: result: yes > configure:4372: checking for string.h > configure:4388: gcc -c -g -O2 conftest.c >&5 > configure:4394: $? =3D 0 > configure:4398: test -z > || test ! -s conftest.err > configure:4401: $? =3D 0 > configure:4404: test -s conftest.o > configure:4407: $? =3D 0 > configure:4418: result: yes > configure:4372: checking for memory.h > configure:4388: gcc -c -g -O2 conftest.c >&5 > configure:4394: $? =3D 0 > configure:4398: test -z > || test ! -s conftest.err > configure:4401: $? =3D 0 > configure:4404: test -s conftest.o > configure:4407: $? =3D 0 > configure:4418: result: yes > configure:4372: checking for strings.h > configure:4388: gcc -c -g -O2 conftest.c >&5 > configure:4394: $? =3D 0 > configure:4398: test -z > || test ! -s conftest.err > configure:4401: $? =3D 0 > configure:4404: test -s conftest.o > configure:4407: $? =3D 0 > configure:4418: result: yes > configure:4372: checking for inttypes.h > configure:4388: gcc -c -g -O2 conftest.c >&5 > configure:4394: $? =3D 0 > configure:4398: test -z > || test ! -s conftest.err > configure:4401: $? =3D 0 > configure:4404: test -s conftest.o > configure:4407: $? =3D 0 > configure:4418: result: yes > configure:4372: checking for stdint.h > configure:4388: gcc -c -g -O2 conftest.c >&5 > configure:4394: $? =3D 0 > configure:4398: test -z > || test ! -s conftest.err > configure:4401: $? =3D 0 > configure:4404: test -s conftest.o > configure:4407: $? =3D 0 > configure:4418: result: yes > configure:4372: checking for unistd.h > configure:4388: gcc -c -g -O2 conftest.c >&5 > configure:4394: $? =3D 0 > configure:4398: test -z > || test ! -s conftest.err > configure:4401: $? =3D 0 > configure:4404: test -s conftest.o > configure:4407: $? =3D 0 > configure:4418: result: yes > configure:4444: checking dlfcn.h usability > configure:4456: gcc -c -g -O2 conftest.c >&5 > configure:4462: $? =3D 0 > configure:4466: test -z > || test ! -s conftest.err > configure:4469: $? =3D 0 > configure:4472: test -s conftest.o > configure:4475: $? =3D 0 > configure:4485: result: yes > configure:4489: checking dlfcn.h presence > configure:4499: gcc -E conftest.c > configure:4505: $? =3D 0 > configure:4525: result: yes > configure:4560: checking for dlfcn.h > configure:4567: result: yes > configure:4632: checking for g++ > configure:4648: found /usr/bin/g++ > configure:4658: result: g++ > configure:4674: checking for C++ compiler version > configure:4677: g++ --version </dev/null >&5 > g++ (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7) > Copyright (C) 2003 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There > is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE.=20 >=20 > configure:4680: $? =3D 0 > configure:4682: g++ -v </dev/null >&5 > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs > Configured with: ../configure --prefix=3D/usr = --mandir=3D/usr/share/man > --infodir=3D/usr/share/info --enable-shared --enable-threads=3Dposix > --disable-checking --disable-libunwind-exceptions --with-system-zlib > --enable-__cxa_atexit --host=3Di386-redhat-linux > Thread model: posix > gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7) > configure:4685: $? =3D 0 > configure:4687: g++ -V </dev/null >&5 > g++: `-V' option must have argument > configure:4690: $? =3D 1 > configure:4693: checking whether we are using the GNU C++ compiler > configure:4717: g++ -c conftest.cc >&5 > configure:4723: $? =3D 0 > configure:4727: test -z > || test ! -s conftest.err > configure:4730: $? =3D 0 > configure:4733: test -s conftest.o > configure:4736: $? =3D 0 > configure:4749: result: yes > configure:4755: checking whether g++ accepts -g > configure:4776: g++ -c -g conftest.cc >&5 > configure:4782: $? =3D 0 > configure:4786: test -z > || test ! -s conftest.err > configure:4789: $? =3D 0 > configure:4792: test -s conftest.o > configure:4795: $? =3D 0 > configure:4806: result: yes > configure:4848: g++ -c -g -O2 conftest.cc >&5 > configure:4854: $? =3D 0 > configure:4858: test -z > || test ! -s conftest.err > configure:4861: $? =3D 0 > configure:4864: test -s conftest.o > configure:4867: $? =3D 0 > configure:4893: g++ -c -g -O2 conftest.cc >&5 > conftest.cc: In function `int main()': > conftest.cc:26: error: `exit' undeclared (first use this function) > conftest.cc:26: error: (Each undeclared identifier is > reported only once > for > each function it appears in.) > configure:4899: $? =3D 1 > configure: failed program was: >> /* confdefs.h. */ >>=20 >> #define PACKAGE_NAME "perfparse" >> #define PACKAGE_TARNAME "perfparse" >> #define PACKAGE_VERSION "0.99.08" >> #define PACKAGE_STRING "perfparse 0.99.08" >> #define PACKAGE_BUGREPORT "per...@cl..." #define PACKAGE >> "perfparse" #define VERSION "0.99.08" >> #define STDC_HEADERS 1 >> #define HAVE_SYS_TYPES_H 1 >> #define HAVE_SYS_STAT_H 1 >> #define HAVE_STDLIB_H 1 >> #define HAVE_STRING_H 1 >> #define HAVE_MEMORY_H 1 >> #define HAVE_STRINGS_H 1 >> #define HAVE_INTTYPES_H 1 >> #define HAVE_STDINT_H 1 >> #define HAVE_UNISTD_H 1 >> #define HAVE_DLFCN_H 1 >> /* end confdefs.h. */ >>=20 >> int >> main () >> { >> exit (42); >> ; >> return 0; >> } > configure:4848: g++ -c -g -O2 conftest.cc >&5 > configure:4854: $? =3D 0 > configure:4858: test -z > || test ! -s conftest.err > configure:4861: $? =3D 0 > configure:4864: test -s conftest.o > configure:4867: $? =3D 0 > configure:4893: g++ -c -g -O2 conftest.cc >&5 > configure:4899: $? =3D 0 > configure:4903: test -z > || test ! -s conftest.err > configure:4906: $? =3D 0 > configure:4909: test -s conftest.o > configure:4912: $? =3D 0 > configure:4937: checking dependency style of g++ > configure:5027: result: gcc3 > configure:5049: checking how to run the C++ preprocessor > configure:5080: g++ -E conftest.cc > configure:5086: $? =3D 0 > configure:5118: g++ -E conftest.cc > conftest.cc:25:28: ac_nonexistent.h: No such file or directory > configure:5124: $? =3D 1 configure: failed program was: >> /* confdefs.h. */ >>=20 >> #define PACKAGE_NAME "perfparse" >> #define PACKAGE_TARNAME "perfparse" >> #define PACKAGE_VERSION "0.99.08" >> #define PACKAGE_STRING "perfparse 0.99.08" >> #define PACKAGE_BUGREPORT "per...@cl..." #define PACKAGE >> "perfparse" #define VERSION "0.99.08" >> #define STDC_HEADERS 1 >> #define HAVE_SYS_TYPES_H 1 >> #define HAVE_SYS_STAT_H 1 >> #define HAVE_STDLIB_H 1 >> #define HAVE_STRING_H 1 >> #define HAVE_MEMORY_H 1 >> #define HAVE_STRINGS_H 1 >> #define HAVE_INTTYPES_H 1 >> #define HAVE_STDINT_H 1 >> #define HAVE_UNISTD_H 1 >> #define HAVE_DLFCN_H 1 >> #ifdef __cplusplus >> extern "C" void std::exit (int) throw (); using std::exit; #endif >> /* end confdefs.h. */ >> #include <ac_nonexistent.h> > configure:5163: result: g++ -E > configure:5187: g++ -E conftest.cc > configure:5193: $? =3D 0 > configure:5225: g++ -E conftest.cc > conftest.cc:25:28: ac_nonexistent.h: No such file or directory > configure:5231: $? =3D 1 configure: failed program was: >> /* confdefs.h. */ >>=20 >> #define PACKAGE_NAME "perfparse" >> #define PACKAGE_TARNAME "perfparse" >> #define PACKAGE_VERSION "0.99.08" >> #define PACKAGE_STRING "perfparse 0.99.08" >> #define PACKAGE_BUGREPORT "per...@cl..." #define PACKAGE >> "perfparse" #define VERSION "0.99.08" >> #define STDC_HEADERS 1 >> #define HAVE_SYS_TYPES_H 1 >> #define HAVE_SYS_STAT_H 1 >> #define HAVE_STDLIB_H 1 >> #define HAVE_STRING_H 1 >> #define HAVE_MEMORY_H 1 >> #define HAVE_STRINGS_H 1 >> #define HAVE_INTTYPES_H 1 >> #define HAVE_STDINT_H 1 >> #define HAVE_UNISTD_H 1 >> #define HAVE_DLFCN_H 1 >> #ifdef __cplusplus >> extern "C" void std::exit (int) throw (); using std::exit; #endif >> /* end confdefs.h. */ >> #include <ac_nonexistent.h> > configure:5326: checking for g77 > configure:5342: found /usr/bin/g77 > configure:5352: result: g77 > configure:5370: checking for Fortran 77 compiler version > configure:5370: g77 --version </dev/null >&5 > GNU Fortran (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7) > Copyright (C) 2002 Free Software Foundation, Inc. >=20 > GNU Fortran comes with NO WARRANTY, to the extent permitted by law. > You may redistribute copies of GNU Fortran > under the terms of the GNU General Public License. > For more information about these matters, see the file named COPYING > or type the command `info -f g77 Copying'. > configure:5373: $? =3D 0 > configure:5375: g77 -v </dev/null >&5 > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs > Configured with: ../configure --prefix=3D/usr = --mandir=3D/usr/share/man > --infodir=3D/usr/share/info --enable-shared --enable-threads=3Dposix > --disable-checking --disable-libunwind-exceptions --with-system-zlib > --enable-__cxa_atexit --host=3Di386-redhat-linux > Thread model: posix > gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7) > configure:5378: $? =3D 0 > configure:5380: g77 -V </dev/null >&5 > g77: `-V' option must have argument > configure:5383: $? =3D 1 > configure:5391: checking whether we are using the GNU Fortran 77 > compiler configure:5405: g77 -c conftest.F >&5 > configure:5411: $? =3D 0 > configure:5415: test -z > || test ! -s conftest.err > configure:5418: $? =3D 0 > configure:5421: test -s conftest.o > configure:5424: $? =3D 0 > configure:5437: result: yes > configure:5443: checking whether g77 accepts -g > configure:5455: g77 -c -g conftest.f >&5 > configure:5461: $? =3D 0 > configure:5465: test -z > || test ! -s conftest.err > configure:5468: $? =3D 0 > configure:5471: test -s conftest.o > configure:5474: $? =3D 0 > configure:5486: result: yes > configure:5516: checking the maximum length of command line arguments > configure:5581: result: 32768 configure:5592: checking command to > parse /usr/bin/nm -B=20 > output from gcc > object > configure:5681: gcc -c -g -O2 conftest.c >&5 > configure:5684: $? =3D 0 > configure:5688: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ > ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ > ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm > configure:5691: $? =3D 0 configure:5743: gcc -o conftest -g -O2 =20 > conftest.c conftstm.o >&5 configure:5746: $? =3D 0 configure:5784: > result: ok=20 > configure:5788: checking for objdir > configure:5803: result: .libs > configure:5893: checking for ar > configure:5909: found /usr/bin/ar > configure:5920: result: ar > configure:5973: checking for ranlib > configure:5989: found /usr/bin/ranlib > configure:6000: result: ranlib > configure:6053: checking for strip > configure:6069: found /usr/bin/strip > configure:6080: result: strip > configure:6342: checking if gcc static flag works > configure:6365: result: yes > configure:6383: checking if gcc supports -fno-rtti -fno-exceptions > configure:6404: gcc -c -g -O2 -fno-rtti -fno-exceptions > conftest.c >&5 > cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC > configure:6408: $? =3D 0 configure:6416: result: no > configure:6431: checking for gcc option to produce PIC > configure:6608: result: -fPIC configure:6616: checking if gcc PIC > flag -fPIC works=20 > configure:6637: gcc -c -g -O2 -fPIC -DPIC conftest.c >&5 > configure:6641: $? =3D 0 configure:6649: result: yes > configure:6673: checking if gcc supports -c -o file.o > configure:6697: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 > configure:6701: $? =3D 0 configure:6718: result: yes > configure:6744: checking whether the gcc linker (/usr/bin/ld) > supports shared libraries configure:7592: result: yes > configure:7618: checking whether -lc should be explicitly linked in > configure:7623: gcc -c -g -O2 conftest.c >&5 > configure:7626: $? =3D 0 > configure:7640: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o > conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1 > configure:7643: $? =3D 0 > configure:7655: result: no > configure:7663: checking dynamic linker characteristics > configure:8203: result: GNU/Linux ld.so > configure:8207: checking how to hardcode library paths into programs > configure:8232: result: immediate > configure:8246: checking whether stripping libraries is possible > configure:8251: result: yes configure:9081: checking if libtool > supports shared libraries configure:9083: result: yes configure:9086: > checking whether to build shared libraries configure:9144: result: > yes configure:9147: checking whether to build static libraries > configure:9151: result: yes configure:9243: creating libtool=20 > configure:9790: checking for ld used by g++ > configure:9857: result: /usr/bin/ld > configure:9866: checking if the linker (/usr/bin/ld) is GNU ld > configure:9881: result: yes configure:9932: checking whether the g++ > linker (/usr/bin/ld) supports shared libraries configure:10760: > result: yes=20 > configure:10778: g++ -c -g -O2 conftest.cc >&5 > configure:10781: $? =3D 0 > configure:10877: checking for g++ option to produce PIC > configure:11129: result: -fPIC > configure:11137: checking if g++ PIC flag -fPIC works > configure:11158: g++ -c -g -O2 -fPIC -DPIC conftest.cc >&5 > configure:11162: $? =3D 0 configure:11170: result: yes > configure:11194: checking if g++ supports -c -o file.o > configure:11218: g++ -c -g -O2 -o out/conftest2.o conftest.cc >&5 > configure:11222: $? =3D 0 configure:11239: result: yes > configure:11265: checking whether the g++ linker > (/usr/bin/ld) supports > shared libraries > configure:11290: result: yes > configure:11361: checking dynamic linker characteristics > configure:11901: result: GNU/Linux ld.so > configure:11905: checking how to hardcode library paths into programs > configure:11930: result: immediate > configure:11944: checking whether stripping libraries is possible > configure:11949: result: yes configure:13256: checking if libtool > supports shared libraries configure:13258: result: yes > configure:13261: checking whether to build shared libraries > configure:13279: result: yes configure:13282: checking whether to > build static libraries configure:13286: result: yes configure:13298: > checking for g77 option to produce PIC configure:13475: result: -fPIC=20 > configure:13483: checking if g77 PIC flag -fPIC works > configure:13504: g77 -c -g -O2 -fPIC conftest.f >&5 > configure:13508: $? =3D 0 > configure:13516: result: yes > configure:13540: checking if g77 supports -c -o file.o > configure:13564: g77 -c -g -O2 -o out/conftest2.o conftest.f >&5 > configure:13568: $? =3D 0 configure:13585: result: yes > configure:13611: checking whether the g77 linker > (/usr/bin/ld) supports > shared libraries > configure:14439: result: yes > configure:14510: checking dynamic linker characteristics > configure:15050: result: GNU/Linux ld.so > configure:15054: checking how to hardcode library paths into programs > configure:15079: result: immediate > configure:15093: checking whether stripping libraries is possible > configure:15098: result: yes configure:19289: checking for pkg-config > configure:19307: found /usr/bin/pkg-config > configure:19320: result: /usr/bin/pkg-config > configure:19343: checking for GLIB - version >=3D 2.0.0 > configure:19462: gcc -o conftest -g -O2 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include conftest.c -lglib-2.0 >&5 > configure:19465: $? =3D 0 configure:19467: ./conftest > configure:19470: $? =3D 0 > configure:19488: result: yes (version 2.4.0) > configure:19638: checking for mysql_config > configure:19657: found /usr/bin/mysql_config > configure:19670: result: /usr/bin/mysql_config > configure:19734: checking for ANSI C header files > configure:19887: result: yes > configure:19905: checking for stdlib.h > configure:19910: result: yes > configure:19905: checking for string.h > configure:19910: result: yes > configure:19905: checking for unistd.h > configure:19910: result: yes > configure:19914: checking sys/utsname.h usability > configure:19926: gcc -c -g -O2 conftest.c >&5 > configure:19932: $? =3D 0 > configure:19936: test -z > || test ! -s conftest.err > configure:19939: $? =3D 0 > configure:19942: test -s conftest.o > configure:19945: $? =3D 0 > configure:19955: result: yes > configure:19959: checking sys/utsname.h presence > configure:19969: gcc -E conftest.c > configure:19975: $? =3D 0 > configure:19995: result: yes > configure:20030: checking for sys/utsname.h > configure:20037: result: yes > configure:20052: checking for an ANSI C-conforming const > configure:20119: gcc -c -g -O2 conftest.c >&5 > configure:20125: $? =3D 0 > configure:20129: test -z > || test ! -s conftest.err > configure:20132: $? =3D 0 > configure:20135: test -s conftest.o > configure:20138: $? =3D 0 > configure:20149: result: yes > configure:20159: checking for pid_t > configure:20183: gcc -c -g -O2 conftest.c >&5 > configure:20189: $? =3D 0 > configure:20193: test -z > || test ! -s conftest.err > configure:20196: $? =3D 0 > configure:20199: test -s conftest.o > configure:20202: $? =3D 0 > configure:20213: result: yes > configure:20225: checking whether struct tm is in sys/time.h or time.h > configure:20248: gcc -c -g -O2 conftest.c >&5 > configure:20254: $? =3D 0 > configure:20258: test -z > || test ! -s conftest.err > configure:20261: $? =3D 0 > configure:20264: test -s conftest.o > configure:20267: $? =3D 0 > configure:20278: result: time.h > configure:20295: checking for stdlib.h > configure:20300: result: yes > configure:20440: checking for GNU libc compatible malloc > configure:20469: gcc -o conftest -g -O2 conftest.c >&5 > configure:20472: $? =3D 0 configure:20474: ./conftest > configure:20477: $? =3D 0 > configure:20491: result: yes > configure:20521: checking whether time.h and sys/time.h may both be > included configure:20546: gcc -c -g -O2 conftest.c >&5 > configure:20552: $? =3D 0 > configure:20556: test -z > || test ! -s conftest.err > configure:20559: $? =3D 0 > configure:20562: test -s conftest.o > configure:20565: $? =3D 0 > configure:20576: result: yes > configure:20593: checking for stdlib.h > configure:20598: result: yes > configure:20602: checking sys/time.h usability > configure:20614: gcc -c -g -O2 conftest.c >&5 > configure:20620: $? =3D 0 > configure:20624: test -z > || test ! -s conftest.err > configure:20627: $? =3D 0 > configure:20630: test -s conftest.o > configure:20633: $? =3D 0 > configure:20643: result: yes > configure:20647: checking sys/time.h presence > configure:20657: gcc -E conftest.c > configure:20663: $? =3D 0 > configure:20683: result: yes > configure:20718: checking for sys/time.h > configure:20725: result: yes > configure:20593: checking for unistd.h > configure:20598: result: yes > configure:20742: checking for alarm > configure:20799: gcc -o conftest -g -O2 conftest.c >&5 > configure:20805: $? =3D 0 configure:20809: test -z > || test ! -s conftest.err > configure:20812: $? =3D 0 > configure:20815: test -s conftest > configure:20818: $? =3D 0 > configure:20830: result: yes > configure:20840: checking for working mktime > configure:21016: gcc -o conftest -g -O2 conftest.c >&5 > configure:21019: $? =3D 0 configure:21021: ./conftest > configure:21024: $? =3D 1 > configure: program exited with status 1 > configure: failed program was: >> /* confdefs.h. */ >>=20 >> #define PACKAGE_NAME "perfparse" >> #define PACKAGE_TARNAME "perfparse" >> #define PACKAGE_VERSION "0.99.08" >> #define PACKAGE_STRING "perfparse 0.99.08" >> #define PACKAGE_BUGREPORT "per...@cl..." #define PACKAGE >> "perfparse" #define VERSION "0.99.08" >> #define STDC_HEADERS 1 >> #define HAVE_SYS_TYPES_H 1 >> #define HAVE_SYS_STAT_H 1 >> #define HAVE_STDLIB_H 1 >> #define HAVE_STRING_H 1 >> #define HAVE_MEMORY_H 1 >> #define HAVE_STRINGS_H 1 >> #define HAVE_INTTYPES_H 1 >> #define HAVE_STDINT_H 1 >> #define HAVE_UNISTD_H 1 >> #define HAVE_DLFCN_H 1 >> #ifdef __cplusplus >> extern "C" void std::exit (int) throw (); using std::exit; #endif >> #define USE_DB_MYSQL 1 >> #define STDC_HEADERS 1 >> #define HAVE_STDLIB_H 1 >> #define HAVE_STRING_H 1 >> #define HAVE_UNISTD_H 1 >> #define HAVE_SYS_UTSNAME_H 1 >> #define HAVE_STDLIB_H 1 >> #define HAVE_MALLOC 1 >> #define TIME_WITH_SYS_TIME 1 >> #define HAVE_STDLIB_H 1 >> #define HAVE_SYS_TIME_H 1 >> #define HAVE_UNISTD_H 1 >> #define HAVE_ALARM 1 >> /* end confdefs.h. */ >> /* Test program from Paul Eggert and Tony Leneis. */ #if >> TIME_WITH_SYS_TIME # include <sys/time.h> >> # include <time.h> >> #else >> # if HAVE_SYS_TIME_H >> # include <sys/time.h> >> # else >> # include <time.h> >> # endif >> #endif >>=20 >> #if HAVE_STDLIB_H >> # include <stdlib.h> >> #endif >>=20 >> #if HAVE_UNISTD_H >> # include <unistd.h> >> #endif >>=20 >> #if !HAVE_ALARM >> # define alarm(X) /* empty */ >> #endif >>=20 >> /* Work around redefinition to rpl_putenv by other config tests. */ >> #undef putenv=20 >>=20 >> static time_t time_t_max; >> static time_t time_t_min; >>=20 >> /* Values we'll use to set the TZ environment variable. */ >> static char *tz_strings[] =3D { >> (char *) 0, "TZ=3DGMT0", "TZ=3DJST-9", >> "TZ=3DEST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" >> }; >> #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) >>=20 >> /* Fail if mktime fails to convert a date in the spring-forward gap. >> Based on a problem report from Andreas Jaeger. */ >> static void >> spring_forward_gap () >> { >> /* glibc (up to about 1998-10-07) failed this test. */ struct tm >> tm;=20 >>=20 >> /* Use the portable POSIX.1 specification >> "TZ=3DPST8PDT,M4.1.0,M10.5.0" instead of = "TZ=3DAmerica/Vancouver" >> in order to detect the bug even on systems that don't support >> the Olson extension, or=20 > don't have > the >> full zoneinfo tables installed. */ >> putenv ("TZ=3DPST8PDT,M4.1.0,M10.5.0"); >>=20 >> tm.tm_year =3D 98; >> tm.tm_mon =3D 3; >> tm.tm_mday =3D 5; >> tm.tm_hour =3D 2; >> tm.tm_min =3D 0; >> tm.tm_sec =3D 0; >> tm.tm_isdst =3D -1; >> if (mktime (&tm) =3D=3D (time_t)-1) >> exit (1); >> } >>=20 >> static void >> mktime_test1 (now) >> time_t now; >> { >> struct tm *lt; >> if ((lt =3D localtime (&now)) && mktime (lt) !=3D now) exit = (1); >> } >>=20 >> static void >> mktime_test (now) >> time_t now; >> { >> mktime_test1 (now); >> mktime_test1 ((time_t) (time_t_max - now)); >> mktime_test1 ((time_t) (time_t_min + now)); >> } >>=20 >> static void >> irix_6_4_bug () >> { >> /* Based on code from Ariel Faigon. */ >> struct tm tm; >> tm.tm_year =3D 96; >> tm.tm_mon =3D 3; >> tm.tm_mday =3D 0; >> tm.tm_hour =3D 0; >> tm.tm_min =3D 0; >> tm.tm_sec =3D 0; >> tm.tm_isdst =3D -1; >> mktime (&tm); >> if (tm.tm_mon !=3D 2 || tm.tm_mday !=3D 31) >> exit (1); >> } >>=20 >> static void >> bigtime_test (j) >> int j; >> { >> struct tm tm; >> time_t now; >> tm.tm_year =3D tm.tm_mon =3D tm.tm_mday =3D tm.tm_hour =3D = tm.tm_min =3D >> tm.tm_sec =3D j; now =3D mktime (&tm); if (now !=3D (time_t) -1) >> { >> struct tm *lt =3D localtime (&now); >> if (! (lt >> && lt->tm_year =3D=3D tm.tm_year >> && lt->tm_mon =3D=3D tm.tm_mon >> && lt->tm_mday =3D=3D tm.tm_mday >> && lt->tm_hour =3D=3D tm.tm_hour >> && lt->tm_min =3D=3D tm.tm_min >> && lt->tm_sec =3D=3D tm.tm_sec >> && lt->tm_yday =3D=3D tm.tm_yday >> && lt->tm_wday =3D=3D tm.tm_wday >> && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) >> =3D=3D (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) >> exit (1); >> } >> } >>=20 >> int >> main () >> { >> time_t t, delta; >> int i, j; >>=20 >> /* This test makes some buggy mktime implementations loop. >> Give up after 60 seconds; a mktime slower than that >> isn't worth using anyway. */ >> alarm (60); >>=20 >> for (time_t_max =3D 1; 0 < time_t_max; time_t_max *=3D 2) = continue; >> time_t_max--; >> if ((time_t) -1 < 0) >> for (time_t_min =3D -1; (time_t) (time_t_min * 2) < 0; > time_t_min *=3D > 2) >> continue; >> delta =3D time_t_max / 997; /* a suitable prime number */ >> for (i =3D 0; i < N_STRINGS; i++) >> { >> if (tz_strings[i]) >> putenv (tz_strings[i]); >>=20 >> for (t =3D 0; t <=3D time_t_max - delta; t +=3D delta) mktime_test >> (t); mktime_test ((time_t) 1); >> mktime_test ((time_t) (60 * 60)); >> mktime_test ((time_t) (60 * 60 * 24)); >>=20 >> for (j =3D 1; 0 < j; j *=3D 2) >> bigtime_test (j); >> bigtime_test (j - 1); >> } >> irix_6_4_bug (); >> spring_forward_gap (); >> exit (0); >> } > configure:21038: result: no > configure:21059: checking for atexit > configure:21116: gcc -o conftest -g -O2 conftest.c >&5 > configure:21122: $? =3D 0 configure:21126: test -z > || test ! -s conftest.err > configure:21129: $? =3D 0 > configure:21132: test -s conftest > configure:21135: $? =3D 0 > configure:21147: result: yes > configure:21059: checking for modf > configure:21116: gcc -o conftest -g -O2 conftest.c >&5 > configure:21122: $? =3D 0 configure:21126: test -z > || test ! -s conftest.err > configure:21129: $? =3D 0 > configure:21132: test -s conftest > configure:21135: $? =3D 0 > configure:21147: result: yes > configure:21059: checking for pow > configure:21116: gcc -o conftest -g -O2 conftest.c >&5 > /tmp/ccKneePj.o(.text+0x11): In function `main': > /root/perfparse-0.99.08/conftest.c:80: undefined reference to `pow' > /tmp/ccKneePj.o(.data+0x0):/root/perfparse-0.99.08/conftest.c:79: > undefined reference to `pow' collect2: ld returned 1 exit status > configure:21122: $? =3D 1 > configure: failed program was: >> /* confdefs.h. */ >>=20 >> #define PACKAGE_NAME "perfparse" >> #define PACKAGE_TARNAME "perfparse" >> #define PACKAGE_VERSION "0.99.08" >> #define PACKAGE_STRING "perfparse 0.99.08" >> #define PACKAGE_BUGREPORT "per...@cl..." #define PACKAGE >> "perfparse" #define VERSION "0.99.08" >> #define STDC_HEADERS 1 >> #define HAVE_SYS_TYPES_H 1 >> #define HAVE_SYS_STAT_H 1 >> #define HAVE_STDLIB_H 1 >> #define HAVE_STRING_H 1 >> #define HAVE_MEMORY_H 1 >> #define HAVE_STRINGS_H 1 >> #define HAVE_INTTYPES_H 1 >> #define HAVE_STDINT_H 1 >> #define HAVE_UNISTD_H 1 >> #define HAVE_DLFCN_H 1 >> #ifdef __cplusplus >> extern "C" void std::exit (int) throw (); using std::exit; #endif >> #define USE_DB_MYSQL 1 >> #define STDC_HEADERS 1 >> #define HAVE_STDLIB_H 1 >> #define HAVE_STRING_H 1 >> #define HAVE_UNISTD_H 1 >> #define HAVE_SYS_UTSNAME_H 1 >> #define HAVE_STDLIB_H 1 >> #define HAVE_MALLOC 1 >> #define TIME_WITH_SYS_TIME 1 >> #define HAVE_STDLIB_H 1 >> #define HAVE_SYS_TIME_H 1 >> #define HAVE_UNISTD_H 1 >> #define HAVE_ALARM 1 >> #define HAVE_ATEXIT 1 >> #define HAVE_MODF 1 >> /* end confdefs.h. */ >> /* Define pow to an innocuous variant, in case <limits.h> declares >> pow. For example, HP-UX 11i <limits.h> declares gettimeofday. */ >> #define pow innocuous_pow=20 >>=20 >> /* System header to define __stub macros and hopefully few >> prototypes, which can conflict with char pow (); below. >> Prefer <limits.h> to <assert.h> if __STDC__ is defined, since >> <limits.h> exists even on freestanding compilers. */ >>=20 >> #ifdef __STDC__ >> # include <limits.h> >> #else >> # include <assert.h> >> #endif >>=20 >> #undef pow >>=20 >> /* Override any gcc2 internal prototype to avoid an error. */ >> #ifdef __cplusplus extern "C" >> { >> #endif >> /* We use char because int might match the return type of a gcc2 >> builtin and then its argument prototype would still apply. */ >> char pow (); /* The GNU C library defines this for functions which >> it implements to always fail with ENOSYS. Some functions are >> actually named something starting with __ and the normal name is >> an alias. */ #if defined (__stub_pow) || defined (__stub___pow) >> choke me >> #else >> char (*f) () =3D pow; >> #endif >> #ifdef __cplusplus >> } >> #endif >>=20 >> int >> main () >> { >> return f !=3D pow; >> ; >> return 0; >> } > configure:21147: result: no > configure:21059: checking for strstr > configure:21116: gcc -o conftest -g -O2 conftest.c >&5 > conftest.c:64: warning: conflicting types for built-in > function `strstr' > configure:21122: $? =3D 0 > configure:21126: test -z > || test ! -s conftest.err > configure:21129: $? =3D 0 > configure:21132: test -s conftest > configure:21135: $? =3D 0 > configure:21147: result: yes > configure:21059: checking for vasprintf > configure:21116: gcc -o conftest -g -O2 conftest.c >&5 > configure:21122: $? =3D 0 configure:21126: test -z > || test ! -s conftest.err > configure:21129: $? =3D 0 > configure:21132: test -s conftest > configure:21135: $? =3D 0 > configure:21147: result: yes > configure:21369: creating ./config.status >=20 > ## ---------------------- ## > ## Running config.status. ## > ## ---------------------- ## >=20 > This file was extended by perfparse config.status 0.99.08, which was > generated by GNU Autoconf 2.58. Invocation command line was >=20 > CONFIG_FILES =3D > CONFIG_HEADERS =3D > CONFIG_LINKS =3D > CONFIG_COMMANDS =3D > $ ./config.status >=20 > on rdfuxlinux1 >=20 > config.status:738: creating Makefile > config.status:738: creating libperfparse/Makefile > config.status:738: creating perfparse/Makefile > config.status:738: creating db_tools/Makefile > config.status:738: creating cgi/Makefile > config.status:738: creating images/Makefile > config.status:738: creating config/Makefile > config.status:738: creating contrib/Makefile > config.status:842: creating config.h > config.status:999: config.h is unchanged > config.status:1176: executing depfiles commands >=20 > ## ---------------- ## > ## Cache variables. ## > ## ---------------- ## >=20 > ac_cv_build=3Di686-pc-linux-gnu > ac_cv_build_alias=3Di686-pc-linux-gnu > ac_cv_c_compiler_gnu=3Dyes > ac_cv_c_const=3Dyes > ac_cv_cxx_compiler_gnu=3Dyes > ac_cv_env_CC_set=3D > ac_cv_env_CC_value=3D > ac_cv_env_CFLAGS_set=3D > ac_cv_env_CFLAGS_value=3D > ac_cv_env_CPPFLAGS_set=3D > ac_cv_env_CPPFLAGS_value=3D > ac_cv_env_CPP_set=3D > ac_cv_env_CPP_value=3D > ac_cv_env_CXXCPP_set=3D > ac_cv_env_CXXCPP_value=3D > ac_cv_env_CXXFLAGS_set=3D > ac_cv_env_CXXFLAGS_value=3D > ac_cv_env_CXX_set=3D > ac_cv_env_CXX_value=3D > ac_cv_env_F77_set=3D > ac_cv_env_F77_value=3D > ac_cv_env_FFLAGS_set=3D > ac_cv_env_FFLAGS_value=3D > ac_cv_env_LDFLAGS_set=3D > ac_cv_env_LDFLAGS_value=3D > ac_cv_env_build_alias_set=3D > ac_cv_env_build_alias_value=3D > ac_cv_env_host_alias_set=3D > ac_cv_env_host_alias_value=3D > ac_cv_env_target_alias_set=3D > ac_cv_env_target_alias_value=3D > ac_cv_exeext=3D > ac_cv_f77_compiler_gnu=3Dyes > ac_cv_func_alarm=3Dyes > ac_cv_func_atexit=3Dyes > ac_cv_func_malloc_0_nonnull=3Dyes > ac_cv_func_modf=3Dyes > ac_cv_func_pow=3Dno > ac_cv_func_strstr=3Dyes > ac_cv_func_vasprintf=3Dyes > ac_cv_func_working_mktime=3Dno > ac_cv_header_dlfcn_h=3Dyes > ac_cv_header_inttypes_h=3Dyes > ac_cv_header_memory_h=3Dyes > ac_cv_header_stdc=3Dyes > ac_cv_header_stdint_h=3Dyes > ac_cv_header_stdlib_h=3Dyes > ac_cv_header_string_h=3Dyes > ac_cv_header_strings_h=3Dyes > ac_cv_header_sys_stat_h=3Dyes > ac_cv_header_sys_time_h=3Dyes > ac_cv_header_sys_types_h=3Dyes > ac_cv_header_sys_utsname_h=3Dyes > ac_cv_header_time=3Dyes > ac_cv_header_unistd_h=3Dyes > ac_cv_host=3Di686-pc-linux-gnu > ac_cv_host_alias=3Di686-pc-linux-gnu > ac_cv_objext=3Do > ac_cv_path_MYSQL_CONFIG=3D/usr/bin/mysql_config > ac_cv_path_PKG_CONFIG=3D/usr/bin/pkg-config > ac_cv_path_install=3D'/usr/bin/install -c' > ac_cv_prog_AWK=3Dgawk > ac_cv_prog_CPP=3D'gcc -E' > ac_cv_prog_CXXCPP=3D'g++ -E' > ac_cv_prog_ac_ct_AR=3Dar > ac_cv_prog_ac_ct_CC=3Dgcc > ac_cv_prog_ac_ct_CXX=3Dg++ > ac_cv_prog_ac_ct_F77=3Dg77 > ac_cv_prog_ac_ct_RANLIB=3Dranlib > ac_cv_prog_ac_ct_STRIP=3Dstrip > ac_cv_prog_cc_g=3Dyes > ac_cv_prog_cc_stdc=3D > ac_cv_prog_cxx_g=3Dyes > ac_cv_prog_egrep=3D'grep -E' > ac_cv_prog_f77_g=3Dyes > ac_cv_prog_make_make_set=3Dyes > ac_cv_struct_tm=3Dtime.h > ac_cv_target=3Di686-pc-linux-gnu > ac_cv_target_alias=3Di686-pc-linux-gnu > ac_cv_type_pid_t=3Dyes > am_cv_CC_dependencies_compiler_type=3Dgcc3 > am_cv_CXX_dependencies_compiler_type=3Dgcc3 > lt_cv_deplibs_check_method=3Dpass_all > lt_cv_file_magic_cmd=3D'$MAGIC_CMD' > lt_cv_file_magic_test_file=3D'/lib/libc.so.6 /lib/libc-2.3.3.so' > lt_cv_ld_reload_flag=3D-r lt_cv_objdir=3D.libs > lt_cv_path_LD=3D/usr/bin/ld > lt_cv_path_LDCXX=3D/usr/bin/ld > lt_cv_path_NM=3D'/usr/bin/nm -B' > lt_cv_path_SED=3D/bin/sed > lt_cv_prog_compiler_c_o=3Dyes > lt_cv_prog_compiler_c_o_CXX=3Dyes > lt_cv_prog_compiler_c_o_F77=3Dyes > lt_cv_prog_compiler_rtti_exceptions=3Dno > lt_cv_prog_gnu_ld=3Dyes > lt_cv_prog_gnu_ldcxx=3Dyes > lt_cv_sys_global_symbol_pipe=3D'sed -n -e '\''s/^.*[ > ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ > ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\''' > lt_cv_sys_global_symbol_to_c_name_address=3D'sed -n -e '\''s/^: \([^ > ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) > \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\''' > lt_cv_sys_global_symbol_to_cdecl=3D'sed -n -e '\''s/^. .* > \(.*\)$/extern int \1;/p'\''' lt_cv_sys_max_cmd_len=3D32768 > lt_lt_cv_prog_compiler_c_o=3D'"yes"' > lt_lt_cv_prog_compiler_c_o_CXX=3D'"yes"' > lt_lt_cv_prog_compiler_c_o_F77=3D'"yes"' > lt_lt_cv_sys_global_symbol_pipe=3D'"sed -n -e '\''s/^.*[ > ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ > ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'\''"' > lt_lt_cv_sys_global_symbol_to_c_name_address=3D'"sed -n -e '\''s/^: > \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e > '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) > \\&\\2},/p'\''"' lt_lt_cv_sys_global_symbol_to_cdecl=3D'"sed -n -e > '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"' >=20 > ## ----------------- ## > ## Output variables. ## > ## ----------------- ## >=20 > ACLOCAL=3D'${SHELL} /root/perfparse-0.99.08/missing --run aclocal-1.8' > AMDEPBACKSLASH=3D'\' AMDEP_FALSE=3D'#' > AMDEP_TRUE=3D'' > AMTAR=3D'${SHELL} /root/perfparse-0.99.08/missing --run tar' > AR=3D'ar' > AUTOCONF=3D'${SHELL} /root/perfparse-0.99.08/missing --run autoconf' > AUTOHEADER=3D'${SHELL} /root/perfparse-0.99.08/missing --run = autoheader' > AUTOMAKE=3D'${SHELL} /root/perfparse-0.99.08/missing --run > automake-1.8' AWK=3D'gawk' CC=3D'gcc' > CCDEPMODE=3D'depmode=3Dgcc3' > CFLAGS=3D'-g -O2 -Wall' > CPP=3D'gcc -E' > CPPFLAGS=3D'' > CXX=3D'g++' > CXXCPP=3D'g++ -E' > CXXDEPMODE=3D'depmode=3Dgcc3' > CXXFLAGS=3D'-g -O2' > CYGPATH_W=3D'echo' > DEFS=3D'-DHAVE_CONFIG_H' > DEPDIR=3D'.deps' > ECHO=3D'echo' > ECHO_C=3D'' > ECHO_N=3D'-n' > ECHO_T=3D'' > EGREP=3D'grep -E' > EXEEXT=3D'' > F77=3D'g77' > FFLAGS=3D'-g -O2' > GD_CFLAGS=3D'-I${GD_DIR}/include' > GD_LIBS=3D'-L${GD_DIR}/lib -lgd' > GLIB_CFLAGS=3D'-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include ' > GLIB_CONFIG=3D'' GLIB_GENMARSHAL=3D'glib-genmarshal' > GLIB_LIBS=3D'-lglib-2.0 ' > GLIB_MKENUMS=3D'glib-mkenums' > GOBJECT_QUERY=3D'gobject-query' > HTTP_IMAGE_PATH=3D'/nagios/images' > ICONV_CFLAGS=3D'' > ICONV_LIBS=3D'' > INSTALL_DATA=3D'${INSTALL} -m 644' > INSTALL_PROGRAM=3D'${INSTALL}' > INSTALL_SCRIPT=3D'${INSTALL}' > INSTALL_STRIP_PROGRAM=3D'${SHELL} $(install_sh) -c -s' > INST_CGI_PATH=3D'${exec_prefix}/sbin' > INST_IMAGE_PATH=3D'${datadir}/perfparse/images' > LDFLAGS=3D'' > LIBOBJS=3D' mktime$U.o' > LIBS=3D'' > LIBTOOL=3D'$(SHELL) $(top_builddir)/libtool' > LN_S=3D'ln -s' > LTLIBOBJS=3D' mktime$U.lo' > MAKEINFO=3D'${SHELL} /root/perfparse-0.99.08/missing --run makeinfo' > MYSQL_CFLAGS=3D'-I/usr/include/mysql -mcpu=3Di486 = -fno-strength-reduce' > MYSQL_CONFIG=3D'/usr/bin/mysql_config' > MYSQL_LIBS=3D'-L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc > -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv' > OBJEXT=3D'o' PACKAGE=3D'perfparse' > PACKAGE_BUGREPORT=3D'per...@cl...' > PACKAGE_NAME=3D'perfparse' > PACKAGE_STRING=3D'perfparse 0.99.08' > PACKAGE_TARNAME=3D'perfparse' > PACKAGE_VERSION=3D'0.99.08' > PATH_SEPARATOR=3D':' > PKG_CONFIG=3D'/usr/bin/pkg-config' > RANLIB=3D'ranlib' > SET_MAKE=3D'' > SHELL=3D'/bin/sh' > STRIP=3D'strip' > VERSION=3D'0.99.08' > ac_ct_AR=3D'ar' > ac_ct_CC=3D'gcc' > ac_ct_CXX=3D'g++' > ac_ct_F77=3D'g77' > ac_ct_RANLIB=3D'ranlib' > ac_ct_STRIP=3D'strip' > am__fastdepCC_FALSE=3D'#' > am__fastdepCC_TRUE=3D'' > am__fastdepCXX_FALSE=3D'#' > am__fastdepCXX_TRUE=3D'' > am__include=3D'include' > am__leading_dot=3D'.' > am__quote=3D'' > bindir=3D'${exec_prefix}/bin' > build=3D'i686-pc-linux-gnu' > build_alias=3D'' > build_cpu=3D'i686' > build_os=3D'linux-gnu' > build_vendor=3D'pc' > cgidir=3D'${exec_prefix}/sbin' > datadir=3D'${prefix}/share' > exec_prefix=3D'${prefix}' > host=3D'i686-pc-linux-gnu' > host_alias=3D'' > host_cpu=3D'i686' > host_os=3D'linux-gnu' > host_vendor=3D'pc' > includedir=3D'${prefix}/include' > infodir=3D'${prefix}/info' > install_sh=3D'/root/perfparse-0.99.08/install-sh' > libdir=3D'${exec_prefix}/lib' > libexecdir=3D'${exec_prefix}/libexec' > localstatedir=3D'${prefix}/var' > mandir=3D'${prefix}/man' > mkdir_p=3D'mkdir -p -- .' > oldincludedir=3D'/usr/include' > prefix=3D'/usr/local' > program_transform_name=3D's,x,x,' > sbindir=3D'${exec_prefix}/sbin' > sharedstatedir=3D'${prefix}/com' > sysconfdir=3D'${prefix}/etc' > target=3D'i686-pc-linux-gnu' > target_alias=3D'' > target_cpu=3D'i686' > target_os=3D'linux-gnu' > target_vendor=3D'pc' >=20 > ## ----------- ## > ## confdefs.h. ## > ## ----------- ## >=20 > #define HAVE_ALARM 1 > #define HAVE_ATEXIT 1 > #define HAVE_DLFCN_H 1 > #define HAVE_INTTYPES_H 1 > #define HAVE_MALLOC 1 > #define HAVE_MEMORY_H 1 > #define HAVE_MODF 1 > #define HAVE_STDINT_H 1 > #define HAVE_STDLIB_H 1 > #define HAVE_STDLIB_H 1 > #define HAVE_STDLIB_H 1 > #define HAVE_STDLIB_H 1 > #define HAVE_STRINGS_H 1 > #define HAVE_STRING_H 1 > #define HAVE_STRING_H 1 > #define HAVE_STRSTR 1 > #define HAVE_SYS_STAT_H 1 > #define HAVE_SYS_TIME_H 1 > #define HAVE_SYS_TYPES_H 1 > #define HAVE_SYS_UTSNAME_H 1 > #define HAVE_UNISTD_H 1 > #define HAVE_UNISTD_H 1 > #define HAVE_UNISTD_H 1 > #define HAVE_VASPRINTF 1 > #define HTTP_IMAGE_PATH "/nagios/images" > #define OS_LINUX "1" > #define PACKAGE "perfparse" > #define PACKAGE_BUGREPORT "per...@cl..." > #define PACKAGE_NAME "perfparse" > #define PACKAGE_STRING "perfparse 0.99.08" > #define PACKAGE_TARNAME "perfparse" > #define PACKAGE_VERSION "0.99.08" > #define RATE_DISPLAY "1" > #define STDC_HEADERS 1 > #define STDC_HEADERS 1 > #define TIME_WITH_SYS_TIME 1 > #define USE_DB_MYSQL 1 > #define VERSION "0.99.08" > #endif > #ifdef __cplusplus > extern "C" void std::exit (int) throw (); using std::exit; >=20 > configure: exit 0 =09 |
From: Nate A. S. <nat...@di...> - 2004-08-10 14:07:42
|
Here is my info. I see an error in the compile process, but don't know how to fix it... Fedora Core 2 Final Here is my glib config: =20 glibc-devel-2.3.3-27 glibc-common-2.3.3-27 glib2-2.4.0-1 glib2-devel-2.4.0-1 glibc-kernheaders-2.4-8.44 glibc-2.3.3-27 glib-1.2.10-12.1.1 dbus-glib-0.20-4.1 glibc-headers-2.3.3-27 glib-devel-1.2.10-12.1.1 And my config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by perfparse configure 0.99.08, which was generated by GNU Autoconf 2.58. Invocation command line was $ ./configure=20 ## --------- ## ## Platform. ## ## --------- ## hostname =3D rdfuxlinux1 uname -m =3D i686 uname -r =3D 2.6.5-1.358 uname -s =3D Linux uname -v =3D #1 Sat May 8 09:04:50 EDT 2004 /usr/bin/uname -p =3D unknown /bin/uname -X =3D unknown /bin/arch =3D i686 /usr/bin/arch -k =3D unknown /usr/convex/getsysinfo =3D unknown hostinfo =3D unknown /bin/machine =3D unknown /usr/bin/oslevel =3D unknown /bin/universe =3D unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1551: checking build system type configure:1569: result: i686-pc-linux-gnu configure:1577: checking host system type configure:1591: result: i686-pc-linux-gnu configure:1599: checking target system type configure:1613: result: i686-pc-linux-gnu configure:1641: checking for a BSD-compatible install configure:1696: result: /usr/bin/install -c configure:1707: checking whether build environment is sane configure:1750: result: yes configure:1807: checking for gawk configure:1823: found /bin/gawk configure:1833: result: gawk configure:1843: checking whether make sets $(MAKE) configure:1863: result: yes configure:2078: checking for gcc configure:2094: found /usr/bin/gcc configure:2104: result: gcc configure:2348: checking for C compiler version configure:2351: gcc --version </dev/null >&5 gcc (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2354: $? =3D 0 configure:2356: gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs Configured with: ../configure --prefix=3D/usr --mandir=3D/usr/share/man --infodir=3D/usr/share/info --enable-shared --enable-threads=3Dposix --disable-checking --disable-libunwind-exceptions --with-system-zlib --enable-__cxa_atexit --host=3Di386-redhat-linux Thread model: posix gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7) configure:2359: $? =3D 0 configure:2361: gcc -V </dev/null >&5 gcc: `-V' option must have argument configure:2364: $? =3D 1 configure:2387: checking for C compiler default output file name configure:2390: gcc conftest.c >&5 configure:2393: $? =3D 0 configure:2439: result: a.out configure:2444: checking whether the C compiler works configure:2450: ./a.out configure:2453: $? =3D 0 configure:2470: result: yes configure:2477: checking whether we are cross compiling configure:2479: result: no configure:2482: checking for suffix of executables configure:2484: gcc -o conftest conftest.c >&5 configure:2487: $? =3D 0 configure:2512: result:=20 configure:2518: checking for suffix of object files configure:2539: gcc -c conftest.c >&5 configure:2542: $? =3D 0 configure:2564: result: o configure:2568: checking whether we are using the GNU C compiler configure:2592: gcc -c conftest.c >&5 configure:2598: $? =3D 0 configure:2602: test -z=20 || test ! -s conftest.err configure:2605: $? =3D 0 configure:2608: test -s conftest.o configure:2611: $? =3D 0 configure:2624: result: yes configure:2630: checking whether gcc accepts -g configure:2651: gcc -c -g conftest.c >&5 configure:2657: $? =3D 0 configure:2661: test -z=20 || test ! -s conftest.err configure:2664: $? =3D 0 configure:2667: test -s conftest.o configure:2670: $? =3D 0 configure:2681: result: yes configure:2698: checking for gcc option to accept ANSI C configure:2768: gcc -c -g -O2 conftest.c >&5 configure:2774: $? =3D 0 configure:2778: test -z=20 || test ! -s conftest.err configure:2781: $? =3D 0 configure:2784: test -s conftest.o configure:2787: $? =3D 0 configure:2805: result: none needed configure:2823: gcc -c -g -O2 conftest.c >&5 conftest.c:2: error: syntax error before "me" configure:2829: $? =3D 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:2973: checking for style of include used by make configure:3001: result: GNU configure:3029: checking dependency style of gcc configure:3119: result: gcc3 configure:3136: checking whether make sets $(MAKE) configure:3156: result: yes configure:3178: checking for a BSD-compatible install configure:3233: result: /usr/bin/install -c configure:3316: checking for a sed that does not truncate output configure:3370: result: /bin/sed configure:3373: checking for egrep configure:3383: result: grep -E configure:3399: checking for ld used by gcc configure:3466: result: /usr/bin/ld configure:3475: checking if the linker (/usr/bin/ld) is GNU ld configure:3490: result: yes configure:3495: checking for /usr/bin/ld option to reload object files configure:3502: result: -r configure:3511: checking for BSD-compatible nm configure:3553: result: /usr/bin/nm -B configure:3557: checking whether ln -s works configure:3561: result: yes configure:3568: checking how to recognise dependent libraries configure:3751: result: pass_all configure:3965: checking how to run the C preprocessor configure:4000: gcc -E conftest.c configure:4006: $? =3D 0 configure:4038: gcc -E conftest.c conftest.c:11:28: ac_nonexistent.h: No such file or directory configure:4044: $? =3D 1 configure: failed program was: | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "perfparse" | #define PACKAGE_TARNAME "perfparse" | #define PACKAGE_VERSION "0.99.08" | #define PACKAGE_STRING "perfparse 0.99.08" | #define PACKAGE_BUGREPORT "per...@cl..." | #define PACKAGE "perfparse" | #define VERSION "0.99.08" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:4083: result: gcc -E configure:4107: gcc -E conftest.c configure:4113: $? =3D 0 configure:4145: gcc -E conftest.c conftest.c:11:28: ac_nonexistent.h: No such file or directory configure:4151: $? =3D 1 configure: failed program was: | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "perfparse" | #define PACKAGE_TARNAME "perfparse" | #define PACKAGE_VERSION "0.99.08" | #define PACKAGE_STRING "perfparse 0.99.08" | #define PACKAGE_BUGREPORT "per...@cl..." | #define PACKAGE "perfparse" | #define VERSION "0.99.08" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:4195: checking for ANSI C header files configure:4220: gcc -c -g -O2 conftest.c >&5 configure:4226: $? =3D 0 configure:4230: test -z=20 || test ! -s conftest.err configure:4233: $? =3D 0 configure:4236: test -s conftest.o configure:4239: $? =3D 0 configure:4325: gcc -o conftest -g -O2 conftest.c >&5 configure:4328: $? =3D 0 configure:4330: ./conftest configure:4333: $? =3D 0 configure:4348: result: yes configure:4372: checking for sys/types.h configure:4388: gcc -c -g -O2 conftest.c >&5 configure:4394: $? =3D 0 configure:4398: test -z=20 || test ! -s conftest.err configure:4401: $? =3D 0 configure:4404: test -s conftest.o configure:4407: $? =3D 0 configure:4418: result: yes configure:4372: checking for sys/stat.h configure:4388: gcc -c -g -O2 conftest.c >&5 configure:4394: $? =3D 0 configure:4398: test -z=20 || test ! -s conftest.err configure:4401: $? =3D 0 configure:4404: test -s conftest.o configure:4407: $? =3D 0 configure:4418: result: yes configure:4372: checking for stdlib.h configure:4388: gcc -c -g -O2 conftest.c >&5 configure:4394: $? =3D 0 configure:4398: test -z=20 || test ! -s conftest.err configure:4401: $? =3D 0 configure:4404: test -s conftest.o configure:4407: $? =3D 0 configure:4418: result: yes configure:4372: checking for string.h configure:4388: gcc -c -g -O2 conftest.c >&5 configure:4394: $? =3D 0 configure:4398: test -z=20 || test ! -s conftest.err configure:4401: $? =3D 0 configure:4404: test -s conftest.o configure:4407: $? =3D 0 configure:4418: result: yes configure:4372: checking for memory.h configure:4388: gcc -c -g -O2 conftest.c >&5 configure:4394: $? =3D 0 configure:4398: test -z=20 || test ! -s conftest.err configure:4401: $? =3D 0 configure:4404: test -s conftest.o configure:4407: $? =3D 0 configure:4418: result: yes configure:4372: checking for strings.h configure:4388: gcc -c -g -O2 conftest.c >&5 configure:4394: $? =3D 0 configure:4398: test -z=20 || test ! -s conftest.err configure:4401: $? =3D 0 configure:4404: test -s conftest.o configure:4407: $? =3D 0 configure:4418: result: yes configure:4372: checking for inttypes.h configure:4388: gcc -c -g -O2 conftest.c >&5 configure:4394: $? =3D 0 configure:4398: test -z=20 || test ! -s conftest.err configure:4401: $? =3D 0 configure:4404: test -s conftest.o configure:4407: $? =3D 0 configure:4418: result: yes configure:4372: checking for stdint.h configure:4388: gcc -c -g -O2 conftest.c >&5 configure:4394: $? =3D 0 configure:4398: test -z=20 || test ! -s conftest.err configure:4401: $? =3D 0 configure:4404: test -s conftest.o configure:4407: $? =3D 0 configure:4418: result: yes configure:4372: checking for unistd.h configure:4388: gcc -c -g -O2 conftest.c >&5 configure:4394: $? =3D 0 configure:4398: test -z=20 || test ! -s conftest.err configure:4401: $? =3D 0 configure:4404: test -s conftest.o configure:4407: $? =3D 0 configure:4418: result: yes configure:4444: checking dlfcn.h usability configure:4456: gcc -c -g -O2 conftest.c >&5 configure:4462: $? =3D 0 configure:4466: test -z=20 || test ! -s conftest.err configure:4469: $? =3D 0 configure:4472: test -s conftest.o configure:4475: $? =3D 0 configure:4485: result: yes configure:4489: checking dlfcn.h presence configure:4499: gcc -E conftest.c configure:4505: $? =3D 0 configure:4525: result: yes configure:4560: checking for dlfcn.h configure:4567: result: yes configure:4632: checking for g++ configure:4648: found /usr/bin/g++ configure:4658: result: g++ configure:4674: checking for C++ compiler version configure:4677: g++ --version </dev/null >&5 g++ (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4680: $? =3D 0 configure:4682: g++ -v </dev/null >&5 Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs Configured with: ../configure --prefix=3D/usr --mandir=3D/usr/share/man --infodir=3D/usr/share/info --enable-shared --enable-threads=3Dposix --disable-checking --disable-libunwind-exceptions --with-system-zlib --enable-__cxa_atexit --host=3Di386-redhat-linux Thread model: posix gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7) configure:4685: $? =3D 0 configure:4687: g++ -V </dev/null >&5 g++: `-V' option must have argument configure:4690: $? =3D 1 configure:4693: checking whether we are using the GNU C++ compiler configure:4717: g++ -c conftest.cc >&5 configure:4723: $? =3D 0 configure:4727: test -z=20 || test ! -s conftest.err configure:4730: $? =3D 0 configure:4733: test -s conftest.o configure:4736: $? =3D 0 configure:4749: result: yes configure:4755: checking whether g++ accepts -g configure:4776: g++ -c -g conftest.cc >&5 configure:4782: $? =3D 0 configure:4786: test -z=20 || test ! -s conftest.err configure:4789: $? =3D 0 configure:4792: test -s conftest.o configure:4795: $? =3D 0 configure:4806: result: yes configure:4848: g++ -c -g -O2 conftest.cc >&5 configure:4854: $? =3D 0 configure:4858: test -z=20 || test ! -s conftest.err configure:4861: $? =3D 0 configure:4864: test -s conftest.o configure:4867: $? =3D 0 configure:4893: g++ -c -g -O2 conftest.cc >&5 conftest.cc: In function `int main()': conftest.cc:26: error: `exit' undeclared (first use this function) conftest.cc:26: error: (Each undeclared identifier is reported only once for=20 each function it appears in.) configure:4899: $? =3D 1 configure: failed program was: | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "perfparse" | #define PACKAGE_TARNAME "perfparse" | #define PACKAGE_VERSION "0.99.08" | #define PACKAGE_STRING "perfparse 0.99.08" | #define PACKAGE_BUGREPORT "per...@cl..." | #define PACKAGE "perfparse" | #define VERSION "0.99.08" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ |=20 | int | main () | { | exit (42); | ; | return 0; | } configure:4848: g++ -c -g -O2 conftest.cc >&5 configure:4854: $? =3D 0 configure:4858: test -z=20 || test ! -s conftest.err configure:4861: $? =3D 0 configure:4864: test -s conftest.o configure:4867: $? =3D 0 configure:4893: g++ -c -g -O2 conftest.cc >&5 configure:4899: $? =3D 0 configure:4903: test -z=20 || test ! -s conftest.err configure:4906: $? =3D 0 configure:4909: test -s conftest.o configure:4912: $? =3D 0 configure:4937: checking dependency style of g++ configure:5027: result: gcc3 configure:5049: checking how to run the C++ preprocessor configure:5080: g++ -E conftest.cc configure:5086: $? =3D 0 configure:5118: g++ -E conftest.cc conftest.cc:25:28: ac_nonexistent.h: No such file or directory configure:5124: $? =3D 1 configure: failed program was: | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "perfparse" | #define PACKAGE_TARNAME "perfparse" | #define PACKAGE_VERSION "0.99.08" | #define PACKAGE_STRING "perfparse 0.99.08" | #define PACKAGE_BUGREPORT "per...@cl..." | #define PACKAGE "perfparse" | #define VERSION "0.99.08" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5163: result: g++ -E configure:5187: g++ -E conftest.cc configure:5193: $? =3D 0 configure:5225: g++ -E conftest.cc conftest.cc:25:28: ac_nonexistent.h: No such file or directory configure:5231: $? =3D 1 configure: failed program was: | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "perfparse" | #define PACKAGE_TARNAME "perfparse" | #define PACKAGE_VERSION "0.99.08" | #define PACKAGE_STRING "perfparse 0.99.08" | #define PACKAGE_BUGREPORT "per...@cl..." | #define PACKAGE "perfparse" | #define VERSION "0.99.08" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5326: checking for g77 configure:5342: found /usr/bin/g77 configure:5352: result: g77 configure:5370: checking for Fortran 77 compiler version configure:5370: g77 --version </dev/null >&5 GNU Fortran (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7) Copyright (C) 2002 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING or type the command `info -f g77 Copying'. configure:5373: $? =3D 0 configure:5375: g77 -v </dev/null >&5 Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs Configured with: ../configure --prefix=3D/usr --mandir=3D/usr/share/man --infodir=3D/usr/share/info --enable-shared --enable-threads=3Dposix --disable-checking --disable-libunwind-exceptions --with-system-zlib --enable-__cxa_atexit --host=3Di386-redhat-linux Thread model: posix gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7) configure:5378: $? =3D 0 configure:5380: g77 -V </dev/null >&5 g77: `-V' option must have argument configure:5383: $? =3D 1 configure:5391: checking whether we are using the GNU Fortran 77 compiler configure:5405: g77 -c conftest.F >&5 configure:5411: $? =3D 0 configure:5415: test -z=20 || test ! -s conftest.err configure:5418: $? =3D 0 configure:5421: test -s conftest.o configure:5424: $? =3D 0 configure:5437: result: yes configure:5443: checking whether g77 accepts -g configure:5455: g77 -c -g conftest.f >&5 configure:5461: $? =3D 0 configure:5465: test -z=20 || test ! -s conftest.err configure:5468: $? =3D 0 configure:5471: test -s conftest.o configure:5474: $? =3D 0 configure:5486: result: yes configure:5516: checking the maximum length of command line arguments configure:5581: result: 32768 configure:5592: checking command to parse /usr/bin/nm -B output from gcc object configure:5681: gcc -c -g -O2 conftest.c >&5 configure:5684: $? =3D 0 configure:5688: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm configure:5691: $? =3D 0 configure:5743: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 configure:5746: $? =3D 0 configure:5784: result: ok configure:5788: checking for objdir configure:5803: result: .libs configure:5893: checking for ar configure:5909: found /usr/bin/ar configure:5920: result: ar configure:5973: checking for ranlib configure:5989: found /usr/bin/ranlib configure:6000: result: ranlib configure:6053: checking for strip configure:6069: found /usr/bin/strip configure:6080: result: strip configure:6342: checking if gcc static flag works configure:6365: result: yes configure:6383: checking if gcc supports -fno-rtti -fno-exceptions configure:6404: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC configure:6408: $? =3D 0 configure:6416: result: no configure:6431: checking for gcc option to produce PIC configure:6608: result: -fPIC configure:6616: checking if gcc PIC flag -fPIC works configure:6637: gcc -c -g -O2 -fPIC -DPIC conftest.c >&5 configure:6641: $? =3D 0 configure:6649: result: yes configure:6673: checking if gcc supports -c -o file.o configure:6697: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:6701: $? =3D 0 configure:6718: result: yes configure:6744: checking whether the gcc linker (/usr/bin/ld) supports shared libraries configure:7592: result: yes configure:7618: checking whether -lc should be explicitly linked in configure:7623: gcc -c -g -O2 conftest.c >&5 configure:7626: $? =3D 0 configure:7640: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1 configure:7643: $? =3D 0 configure:7655: result: no configure:7663: checking dynamic linker characteristics configure:8203: result: GNU/Linux ld.so configure:8207: checking how to hardcode library paths into programs configure:8232: result: immediate configure:8246: checking whether stripping libraries is possible configure:8251: result: yes configure:9081: checking if libtool supports shared libraries configure:9083: result: yes configure:9086: checking whether to build shared libraries configure:9144: result: yes configure:9147: checking whether to build static libraries configure:9151: result: yes configure:9243: creating libtool configure:9790: checking for ld used by g++ configure:9857: result: /usr/bin/ld configure:9866: checking if the linker (/usr/bin/ld) is GNU ld configure:9881: result: yes configure:9932: checking whether the g++ linker (/usr/bin/ld) supports shared libraries configure:10760: result: yes configure:10778: g++ -c -g -O2 conftest.cc >&5 configure:10781: $? =3D 0 configure:10877: checking for g++ option to produce PIC configure:11129: result: -fPIC configure:11137: checking if g++ PIC flag -fPIC works configure:11158: g++ -c -g -O2 -fPIC -DPIC conftest.cc >&5 configure:11162: $? =3D 0 configure:11170: result: yes configure:11194: checking if g++ supports -c -o file.o configure:11218: g++ -c -g -O2 -o out/conftest2.o conftest.cc >&5 configure:11222: $? =3D 0 configure:11239: result: yes configure:11265: checking whether the g++ linker (/usr/bin/ld) supports shared libraries configure:11290: result: yes configure:11361: checking dynamic linker characteristics configure:11901: result: GNU/Linux ld.so configure:11905: checking how to hardcode library paths into programs configure:11930: result: immediate configure:11944: checking whether stripping libraries is possible configure:11949: result: yes configure:13256: checking if libtool supports shared libraries configure:13258: result: yes configure:13261: checking whether to build shared libraries configure:13279: result: yes configure:13282: checking whether to build static libraries configure:13286: result: yes configure:13298: checking for g77 option to produce PIC configure:13475: result: -fPIC configure:13483: checking if g77 PIC flag -fPIC works configure:13504: g77 -c -g -O2 -fPIC conftest.f >&5 configure:13508: $? =3D 0 configure:13516: result: yes configure:13540: checking if g77 supports -c -o file.o configure:13564: g77 -c -g -O2 -o out/conftest2.o conftest.f >&5 configure:13568: $? =3D 0 configure:13585: result: yes configure:13611: checking whether the g77 linker (/usr/bin/ld) supports shared libraries configure:14439: result: yes configure:14510: checking dynamic linker characteristics configure:15050: result: GNU/Linux ld.so configure:15054: checking how to hardcode library paths into programs configure:15079: result: immediate configure:15093: checking whether stripping libraries is possible configure:15098: result: yes configure:19289: checking for pkg-config configure:19307: found /usr/bin/pkg-config configure:19320: result: /usr/bin/pkg-config configure:19343: checking for GLIB - version >=3D 2.0.0 configure:19462: gcc -o conftest -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include conftest.c -lglib-2.0 >&5 configure:19465: $? =3D 0 configure:19467: ./conftest configure:19470: $? =3D 0 configure:19488: result: yes (version 2.4.0) configure:19638: checking for mysql_config configure:19657: found /usr/bin/mysql_config configure:19670: result: /usr/bin/mysql_config configure:19734: checking for ANSI C header files configure:19887: result: yes configure:19905: checking for stdlib.h configure:19910: result: yes configure:19905: checking for string.h configure:19910: result: yes configure:19905: checking for unistd.h configure:19910: result: yes configure:19914: checking sys/utsname.h usability configure:19926: gcc -c -g -O2 conftest.c >&5 configure:19932: $? =3D 0 configure:19936: test -z=20 || test ! -s conftest.err configure:19939: $? =3D 0 configure:19942: test -s conftest.o configure:19945: $? =3D 0 configure:19955: result: yes configure:19959: checking sys/utsname.h presence configure:19969: gcc -E conftest.c configure:19975: $? =3D 0 configure:19995: result: yes configure:20030: checking for sys/utsname.h configure:20037: result: yes configure:20052: checking for an ANSI C-conforming const configure:20119: gcc -c -g -O2 conftest.c >&5 configure:20125: $? =3D 0 configure:20129: test -z=20 || test ! -s conftest.err configure:20132: $? =3D 0 configure:20135: test -s conftest.o configure:20138: $? =3D 0 configure:20149: result: yes configure:20159: checking for pid_t configure:20183: gcc -c -g -O2 conftest.c >&5 configure:20189: $? =3D 0 configure:20193: test -z=20 || test ! -s conftest.err configure:20196: $? =3D 0 configure:20199: test -s conftest.o configure:20202: $? =3D 0 configure:20213: result: yes configure:20225: checking whether struct tm is in sys/time.h or time.h configure:20248: gcc -c -g -O2 conftest.c >&5 configure:20254: $? =3D 0 configure:20258: test -z=20 || test ! -s conftest.err configure:20261: $? =3D 0 configure:20264: test -s conftest.o configure:20267: $? =3D 0 configure:20278: result: time.h configure:20295: checking for stdlib.h configure:20300: result: yes configure:20440: checking for GNU libc compatible malloc configure:20469: gcc -o conftest -g -O2 conftest.c >&5 configure:20472: $? =3D 0 configure:20474: ./conftest configure:20477: $? =3D 0 configure:20491: result: yes configure:20521: checking whether time.h and sys/time.h may both be included configure:20546: gcc -c -g -O2 conftest.c >&5 configure:20552: $? =3D 0 configure:20556: test -z=20 || test ! -s conftest.err configure:20559: $? =3D 0 configure:20562: test -s conftest.o configure:20565: $? =3D 0 configure:20576: result: yes configure:20593: checking for stdlib.h configure:20598: result: yes configure:20602: checking sys/time.h usability configure:20614: gcc -c -g -O2 conftest.c >&5 configure:20620: $? =3D 0 configure:20624: test -z=20 || test ! -s conftest.err configure:20627: $? =3D 0 configure:20630: test -s conftest.o configure:20633: $? =3D 0 configure:20643: result: yes configure:20647: checking sys/time.h presence configure:20657: gcc -E conftest.c configure:20663: $? =3D 0 configure:20683: result: yes configure:20718: checking for sys/time.h configure:20725: result: yes configure:20593: checking for unistd.h configure:20598: result: yes configure:20742: checking for alarm configure:20799: gcc -o conftest -g -O2 conftest.c >&5 configure:20805: $? =3D 0 configure:20809: test -z=20 || test ! -s conftest.err configure:20812: $? =3D 0 configure:20815: test -s conftest configure:20818: $? =3D 0 configure:20830: result: yes configure:20840: checking for working mktime configure:21016: gcc -o conftest -g -O2 conftest.c >&5 configure:21019: $? =3D 0 configure:21021: ./conftest configure:21024: $? =3D 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "perfparse" | #define PACKAGE_TARNAME "perfparse" | #define PACKAGE_VERSION "0.99.08" | #define PACKAGE_STRING "perfparse 0.99.08" | #define PACKAGE_BUGREPORT "per...@cl..." | #define PACKAGE "perfparse" | #define VERSION "0.99.08" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define USE_DB_MYSQL 1 | #define STDC_HEADERS 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | /* end confdefs.h. */ | /* Test program from Paul Eggert and Tony Leneis. */ | #if TIME_WITH_SYS_TIME | # include <sys/time.h> | # include <time.h> | #else | # if HAVE_SYS_TIME_H | # include <sys/time.h> | # else | # include <time.h> | # endif | #endif |=20 | #if HAVE_STDLIB_H | # include <stdlib.h> | #endif |=20 | #if HAVE_UNISTD_H | # include <unistd.h> | #endif |=20 | #if !HAVE_ALARM | # define alarm(X) /* empty */ | #endif |=20 | /* Work around redefinition to rpl_putenv by other config tests. */ | #undef putenv |=20 | static time_t time_t_max; | static time_t time_t_min; |=20 | /* Values we'll use to set the TZ environment variable. */ | static char *tz_strings[] =3D { | (char *) 0, "TZ=3DGMT0", "TZ=3DJST-9", | "TZ=3DEST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" | }; | #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) |=20 | /* Fail if mktime fails to convert a date in the spring-forward gap. | Based on a problem report from Andreas Jaeger. */ | static void | spring_forward_gap () | { | /* glibc (up to about 1998-10-07) failed this test. */ | struct tm tm; |=20 | /* Use the portable POSIX.1 specification "TZ=3DPST8PDT,M4.1.0,M10.5.0" | instead of "TZ=3DAmerica/Vancouver" in order to detect the bug = even | on systems that don't support the Olson extension, or don't have the | full zoneinfo tables installed. */ | putenv ("TZ=3DPST8PDT,M4.1.0,M10.5.0"); |=20 | tm.tm_year =3D 98; | tm.tm_mon =3D 3; | tm.tm_mday =3D 5; | tm.tm_hour =3D 2; | tm.tm_min =3D 0; | tm.tm_sec =3D 0; | tm.tm_isdst =3D -1; | if (mktime (&tm) =3D=3D (time_t)-1) | exit (1); | } |=20 | static void | mktime_test1 (now) | time_t now; | { | struct tm *lt; | if ((lt =3D localtime (&now)) && mktime (lt) !=3D now) | exit (1); | } |=20 | static void | mktime_test (now) | time_t now; | { | mktime_test1 (now); | mktime_test1 ((time_t) (time_t_max - now)); | mktime_test1 ((time_t) (time_t_min + now)); | } |=20 | static void | irix_6_4_bug () | { | /* Based on code from Ariel Faigon. */ | struct tm tm; | tm.tm_year =3D 96; | tm.tm_mon =3D 3; | tm.tm_mday =3D 0; | tm.tm_hour =3D 0; | tm.tm_min =3D 0; | tm.tm_sec =3D 0; | tm.tm_isdst =3D -1; | mktime (&tm); | if (tm.tm_mon !=3D 2 || tm.tm_mday !=3D 31) | exit (1); | } |=20 | static void | bigtime_test (j) | int j; | { | struct tm tm; | time_t now; | tm.tm_year =3D tm.tm_mon =3D tm.tm_mday =3D tm.tm_hour =3D tm.tm_min = =3D tm.tm_sec =3D j; | now =3D mktime (&tm); | if (now !=3D (time_t) -1) | { | struct tm *lt =3D localtime (&now); | if (! (lt | && lt->tm_year =3D=3D tm.tm_year | && lt->tm_mon =3D=3D tm.tm_mon | && lt->tm_mday =3D=3D tm.tm_mday | && lt->tm_hour =3D=3D tm.tm_hour | && lt->tm_min =3D=3D tm.tm_min | && lt->tm_sec =3D=3D tm.tm_sec | && lt->tm_yday =3D=3D tm.tm_yday | && lt->tm_wday =3D=3D tm.tm_wday | && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) | =3D=3D (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) | exit (1); | } | } |=20 | int | main () | { | time_t t, delta; | int i, j; |=20 | /* This test makes some buggy mktime implementations loop. | Give up after 60 seconds; a mktime slower than that | isn't worth using anyway. */ | alarm (60); |=20 | for (time_t_max =3D 1; 0 < time_t_max; time_t_max *=3D 2) | continue; | time_t_max--; | if ((time_t) -1 < 0) | for (time_t_min =3D -1; (time_t) (time_t_min * 2) < 0; time_t_min = *=3D 2) | continue; | delta =3D time_t_max / 997; /* a suitable prime number */ | for (i =3D 0; i < N_STRINGS; i++) | { | if (tz_strings[i]) | putenv (tz_strings[i]); |=20 | for (t =3D 0; t <=3D time_t_max - delta; t +=3D delta) | mktime_test (t); | mktime_test ((time_t) 1); | mktime_test ((time_t) (60 * 60)); | mktime_test ((time_t) (60 * 60 * 24)); |=20 | for (j =3D 1; 0 < j; j *=3D 2) | bigtime_test (j); | bigtime_test (j - 1); | } | irix_6_4_bug (); | spring_forward_gap (); | exit (0); | } configure:21038: result: no configure:21059: checking for atexit configure:21116: gcc -o conftest -g -O2 conftest.c >&5 configure:21122: $? =3D 0 configure:21126: test -z=20 || test ! -s conftest.err configure:21129: $? =3D 0 configure:21132: test -s conftest configure:21135: $? =3D 0 configure:21147: result: yes configure:21059: checking for modf configure:21116: gcc -o conftest -g -O2 conftest.c >&5 configure:21122: $? =3D 0 configure:21126: test -z=20 || test ! -s conftest.err configure:21129: $? =3D 0 configure:21132: test -s conftest configure:21135: $? =3D 0 configure:21147: result: yes configure:21059: checking for pow configure:21116: gcc -o conftest -g -O2 conftest.c >&5 /tmp/ccKneePj.o(.text+0x11): In function `main': /root/perfparse-0.99.08/conftest.c:80: undefined reference to `pow' /tmp/ccKneePj.o(.data+0x0):/root/perfparse-0.99.08/conftest.c:79: undefined reference to `pow' collect2: ld returned 1 exit status configure:21122: $? =3D 1 configure: failed program was: | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "perfparse" | #define PACKAGE_TARNAME "perfparse" | #define PACKAGE_VERSION "0.99.08" | #define PACKAGE_STRING "perfparse 0.99.08" | #define PACKAGE_BUGREPORT "per...@cl..." | #define PACKAGE "perfparse" | #define VERSION "0.99.08" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define USE_DB_MYSQL 1 | #define STDC_HEADERS 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_ATEXIT 1 | #define HAVE_MODF 1 | /* end confdefs.h. */ | /* Define pow to an innocuous variant, in case <limits.h> declares pow. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define pow innocuous_pow |=20 | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char pow (); below. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | <limits.h> exists even on freestanding compilers. */ |=20 | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif |=20 | #undef pow |=20 | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | { | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char pow (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined (__stub_pow) || defined (__stub___pow) | choke me | #else | char (*f) () =3D pow; | #endif | #ifdef __cplusplus | } | #endif |=20 | int | main () | { | return f !=3D pow; | ; | return 0; | } configure:21147: result: no configure:21059: checking for strstr configure:21116: gcc -o conftest -g -O2 conftest.c >&5 conftest.c:64: warning: conflicting types for built-in function `strstr' configure:21122: $? =3D 0 configure:21126: test -z=20 || test ! -s conftest.err configure:21129: $? =3D 0 configure:21132: test -s conftest configure:21135: $? =3D 0 configure:21147: result: yes configure:21059: checking for vasprintf configure:21116: gcc -o conftest -g -O2 conftest.c >&5 configure:21122: $? =3D 0 configure:21126: test -z=20 || test ! -s conftest.err configure:21129: $? =3D 0 configure:21132: test -s conftest configure:21135: $? =3D 0 configure:21147: result: yes configure:21369: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by perfparse config.status 0.99.08, which was generated by GNU Autoconf 2.58. Invocation command line was CONFIG_FILES =3D=20 CONFIG_HEADERS =3D=20 CONFIG_LINKS =3D=20 CONFIG_COMMANDS =3D=20 $ ./config.status=20 on rdfuxlinux1 config.status:738: creating Makefile config.status:738: creating libperfparse/Makefile config.status:738: creating perfparse/Makefile config.status:738: creating db_tools/Makefile config.status:738: creating cgi/Makefile config.status:738: creating images/Makefile config.status:738: creating config/Makefile config.status:738: creating contrib/Makefile config.status:842: creating config.h config.status:999: config.h is unchanged config.status:1176: executing depfiles commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=3Di686-pc-linux-gnu ac_cv_build_alias=3Di686-pc-linux-gnu ac_cv_c_compiler_gnu=3Dyes ac_cv_c_const=3Dyes ac_cv_cxx_compiler_gnu=3Dyes ac_cv_env_CC_set=3D ac_cv_env_CC_value=3D ac_cv_env_CFLAGS_set=3D ac_cv_env_CFLAGS_value=3D ac_cv_env_CPPFLAGS_set=3D ac_cv_env_CPPFLAGS_value=3D ac_cv_env_CPP_set=3D ac_cv_env_CPP_value=3D ac_cv_env_CXXCPP_set=3D ac_cv_env_CXXCPP_value=3D ac_cv_env_CXXFLAGS_set=3D ac_cv_env_CXXFLAGS_value=3D ac_cv_env_CXX_set=3D ac_cv_env_CXX_value=3D ac_cv_env_F77_set=3D ac_cv_env_F77_value=3D ac_cv_env_FFLAGS_set=3D ac_cv_env_FFLAGS_value=3D ac_cv_env_LDFLAGS_set=3D ac_cv_env_LDFLAGS_value=3D ac_cv_env_build_alias_set=3D ac_cv_env_build_alias_value=3D ac_cv_env_host_alias_set=3D ac_cv_env_host_alias_value=3D ac_cv_env_target_alias_set=3D ac_cv_env_target_alias_value=3D ac_cv_exeext=3D ac_cv_f77_compiler_gnu=3Dyes ac_cv_func_alarm=3Dyes ac_cv_func_atexit=3Dyes ac_cv_func_malloc_0_nonnull=3Dyes ac_cv_func_modf=3Dyes ac_cv_func_pow=3Dno ac_cv_func_strstr=3Dyes ac_cv_func_vasprintf=3Dyes ac_cv_func_working_mktime=3Dno ac_cv_header_dlfcn_h=3Dyes ac_cv_header_inttypes_h=3Dyes ac_cv_header_memory_h=3Dyes ac_cv_header_stdc=3Dyes ac_cv_header_stdint_h=3Dyes ac_cv_header_stdlib_h=3Dyes ac_cv_header_string_h=3Dyes ac_cv_header_strings_h=3Dyes ac_cv_header_sys_stat_h=3Dyes ac_cv_header_sys_time_h=3Dyes ac_cv_header_sys_types_h=3Dyes ac_cv_header_sys_utsname_h=3Dyes ac_cv_header_time=3Dyes ac_cv_header_unistd_h=3Dyes ac_cv_host=3Di686-pc-linux-gnu ac_cv_host_alias=3Di686-pc-linux-gnu ac_cv_objext=3Do ac_cv_path_MYSQL_CONFIG=3D/usr/bin/mysql_config ac_cv_path_PKG_CONFIG=3D/usr/bin/pkg-config ac_cv_path_install=3D'/usr/bin/install -c' ac_cv_prog_AWK=3Dgawk ac_cv_prog_CPP=3D'gcc -E' ac_cv_prog_CXXCPP=3D'g++ -E' ac_cv_prog_ac_ct_AR=3Dar ac_cv_prog_ac_ct_CC=3Dgcc ac_cv_prog_ac_ct_CXX=3Dg++ ac_cv_prog_ac_ct_F77=3Dg77 ac_cv_prog_ac_ct_RANLIB=3Dranlib ac_cv_prog_ac_ct_STRIP=3Dstrip ac_cv_prog_cc_g=3Dyes ac_cv_prog_cc_stdc=3D ac_cv_prog_cxx_g=3Dyes ac_cv_prog_egrep=3D'grep -E' ac_cv_prog_f77_g=3Dyes ac_cv_prog_make_make_set=3Dyes ac_cv_struct_tm=3Dtime.h ac_cv_target=3Di686-pc-linux-gnu ac_cv_target_alias=3Di686-pc-linux-gnu ac_cv_type_pid_t=3Dyes am_cv_CC_dependencies_compiler_type=3Dgcc3 am_cv_CXX_dependencies_compiler_type=3Dgcc3 lt_cv_deplibs_check_method=3Dpass_all lt_cv_file_magic_cmd=3D'$MAGIC_CMD' lt_cv_file_magic_test_file=3D'/lib/libc.so.6 /lib/libc-2.3.3.so' lt_cv_ld_reload_flag=3D-r lt_cv_objdir=3D.libs lt_cv_path_LD=3D/usr/bin/ld lt_cv_path_LDCXX=3D/usr/bin/ld lt_cv_path_NM=3D'/usr/bin/nm -B' lt_cv_path_SED=3D/bin/sed lt_cv_prog_compiler_c_o=3Dyes lt_cv_prog_compiler_c_o_CXX=3Dyes lt_cv_prog_compiler_c_o_F77=3Dyes lt_cv_prog_compiler_rtti_exceptions=3Dno lt_cv_prog_gnu_ld=3Dyes lt_cv_prog_gnu_ldcxx=3Dyes lt_cv_sys_global_symbol_pipe=3D'sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\''' lt_cv_sys_global_symbol_to_c_name_address=3D'sed -n -e '\''s/^: \([^ = ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl=3D'sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\''' lt_cv_sys_max_cmd_len=3D32768 lt_lt_cv_prog_compiler_c_o=3D'"yes"' lt_lt_cv_prog_compiler_c_o_CXX=3D'"yes"' lt_lt_cv_prog_compiler_c_o_F77=3D'"yes"' lt_lt_cv_sys_global_symbol_pipe=3D'"sed -n -e '\''s/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'\''"' lt_lt_cv_sys_global_symbol_to_c_name_address=3D'"sed -n -e '\''s/^: = \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"' lt_lt_cv_sys_global_symbol_to_cdecl=3D'"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL=3D'${SHELL} /root/perfparse-0.99.08/missing --run aclocal-1.8' AMDEPBACKSLASH=3D'\' AMDEP_FALSE=3D'#' AMDEP_TRUE=3D'' AMTAR=3D'${SHELL} /root/perfparse-0.99.08/missing --run tar' AR=3D'ar' AUTOCONF=3D'${SHELL} /root/perfparse-0.99.08/missing --run autoconf' AUTOHEADER=3D'${SHELL} /root/perfparse-0.99.08/missing --run autoheader' AUTOMAKE=3D'${SHELL} /root/perfparse-0.99.08/missing --run automake-1.8' AWK=3D'gawk' CC=3D'gcc' CCDEPMODE=3D'depmode=3Dgcc3' CFLAGS=3D'-g -O2 -Wall' CPP=3D'gcc -E' CPPFLAGS=3D'' CXX=3D'g++' CXXCPP=3D'g++ -E' CXXDEPMODE=3D'depmode=3Dgcc3' CXXFLAGS=3D'-g -O2' CYGPATH_W=3D'echo' DEFS=3D'-DHAVE_CONFIG_H' DEPDIR=3D'.deps' ECHO=3D'echo' ECHO_C=3D'' ECHO_N=3D'-n' ECHO_T=3D'' EGREP=3D'grep -E' EXEEXT=3D'' F77=3D'g77' FFLAGS=3D'-g -O2' GD_CFLAGS=3D'-I${GD_DIR}/include' GD_LIBS=3D'-L${GD_DIR}/lib -lgd' GLIB_CFLAGS=3D'-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include ' GLIB_CONFIG=3D'' GLIB_GENMARSHAL=3D'glib-genmarshal' GLIB_LIBS=3D'-lglib-2.0 ' GLIB_MKENUMS=3D'glib-mkenums' GOBJECT_QUERY=3D'gobject-query' HTTP_IMAGE_PATH=3D'/nagios/images' ICONV_CFLAGS=3D'' ICONV_LIBS=3D'' INSTALL_DATA=3D'${INSTALL} -m 644' INSTALL_PROGRAM=3D'${INSTALL}' INSTALL_SCRIPT=3D'${INSTALL}' INSTALL_STRIP_PROGRAM=3D'${SHELL} $(install_sh) -c -s' INST_CGI_PATH=3D'${exec_prefix}/sbin' INST_IMAGE_PATH=3D'${datadir}/perfparse/images' LDFLAGS=3D'' LIBOBJS=3D' mktime$U.o' LIBS=3D'' LIBTOOL=3D'$(SHELL) $(top_builddir)/libtool' LN_S=3D'ln -s' LTLIBOBJS=3D' mktime$U.lo' MAKEINFO=3D'${SHELL} /root/perfparse-0.99.08/missing --run makeinfo' MYSQL_CFLAGS=3D'-I/usr/include/mysql -mcpu=3Di486 -fno-strength-reduce' MYSQL_CONFIG=3D'/usr/bin/mysql_config' MYSQL_LIBS=3D'-L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv' OBJEXT=3D'o' PACKAGE=3D'perfparse' PACKAGE_BUGREPORT=3D'per...@cl...' PACKAGE_NAME=3D'perfparse' PACKAGE_STRING=3D'perfparse 0.99.08' PACKAGE_TARNAME=3D'perfparse' PACKAGE_VERSION=3D'0.99.08' PATH_SEPARATOR=3D':' PKG_CONFIG=3D'/usr/bin/pkg-config' RANLIB=3D'ranlib' SET_MAKE=3D'' SHELL=3D'/bin/sh' STRIP=3D'strip' VERSION=3D'0.99.08' ac_ct_AR=3D'ar' ac_ct_CC=3D'gcc' ac_ct_CXX=3D'g++' ac_ct_F77=3D'g77' ac_ct_RANLIB=3D'ranlib' ac_ct_STRIP=3D'strip' am__fastdepCC_FALSE=3D'#' am__fastdepCC_TRUE=3D'' am__fastdepCXX_FALSE=3D'#' am__fastdepCXX_TRUE=3D'' am__include=3D'include' am__leading_dot=3D'.' am__quote=3D'' bindir=3D'${exec_prefix}/bin' build=3D'i686-pc-linux-gnu' build_alias=3D'' build_cpu=3D'i686' build_os=3D'linux-gnu' build_vendor=3D'pc' cgidir=3D'${exec_prefix}/sbin' datadir=3D'${prefix}/share' exec_prefix=3D'${prefix}' host=3D'i686-pc-linux-gnu' host_alias=3D'' host_cpu=3D'i686' host_os=3D'linux-gnu' host_vendor=3D'pc' includedir=3D'${prefix}/include' infodir=3D'${prefix}/info' install_sh=3D'/root/perfparse-0.99.08/install-sh' libdir=3D'${exec_prefix}/lib' libexecdir=3D'${exec_prefix}/libexec' localstatedir=3D'${prefix}/var' mandir=3D'${prefix}/man' mkdir_p=3D'mkdir -p -- .' oldincludedir=3D'/usr/include' prefix=3D'/usr/local' program_transform_name=3D's,x,x,' sbindir=3D'${exec_prefix}/sbin' sharedstatedir=3D'${prefix}/com' sysconfdir=3D'${prefix}/etc' target=3D'i686-pc-linux-gnu' target_alias=3D'' target_cpu=3D'i686' target_os=3D'linux-gnu' target_vendor=3D'pc' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define HAVE_ALARM 1 #define HAVE_ATEXIT 1 #define HAVE_DLFCN_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_MALLOC 1 #define HAVE_MEMORY_H 1 #define HAVE_MODF 1 #define HAVE_STDINT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_STRING_H 1 #define HAVE_STRSTR 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_UTSNAME_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UNISTD_H 1 #define HAVE_VASPRINTF 1 #define HTTP_IMAGE_PATH "/nagios/images" #define OS_LINUX "1" #define PACKAGE "perfparse" #define PACKAGE_BUGREPORT "per...@cl..." #define PACKAGE_NAME "perfparse" #define PACKAGE_STRING "perfparse 0.99.08" #define PACKAGE_TARNAME "perfparse" #define PACKAGE_VERSION "0.99.08" #define RATE_DISPLAY "1" #define STDC_HEADERS 1 #define STDC_HEADERS 1 #define TIME_WITH_SYS_TIME 1 #define USE_DB_MYSQL 1 #define VERSION "0.99.08" #endif #ifdef __cplusplus extern "C" void std::exit (int) throw (); using std::exit; configure: exit 0 |
From: Cook, G. <GW...@ma...> - 2004-08-10 13:49:16
|
Then it's probably a good idea to look at the same things that I pointed out to him. Check config.log for errors and make sure glib-devel and/or glib2-devel packages are installed. If this doesn't help, post your Linux distro, version, the output of 'configure', etc. to the list, maybe someone can help spot the problem. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) Nate A. Smith wrote: > I am receiving the same compile error as user strong@ms... Is > receiving:=20 >=20 > [root@IACCSINAGSV0001 perfparse-0.99.08]# make > make all-recursive > make[1]: Entering directory `/home/daniel/nagios/perfparse-0.99.08" > Making all in libperfparse > make[2]: Entering directory > `/home/daniel/nagios/perfparse-0.99.08/libperfparse" if /bin/sh > ../libtool --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I. -I.. > -I/home/mysql/include/mysql "-DSYSCONFDIR=3D"/usr/local/nagios/etc"" = > -g -O2 -Wall -MT libperfparse_la-config_file.lo -MD -MP -MF > ".deps/libperfparse_la-config_file.Tpo" -c -o > libperfparse_la-config_file.lo `test -f "config_file.c" || echo > "./"`config_file.c; \ then mv -f > ".deps/libperfparse_la-config_file.Tpo" > ".deps/libperfparse_la-config_file.Plo"; else rm -f > ".deps/libperfparse_la-config_file.Tpo"; exit 1; fi gcc > -DHAVE_CONFIG_H -I. -I. -I.. -I/home/mysql/include/mysql =20 > -DSYSCONFDIR=3D\"/usr/local/nagios/etc\" -g -O2 -Wall -MT > libperfparse_la-config_file.lo -MD=20 > -MP -MF .deps/libperfparse_la-config_file.Tpo -c config_file.c -fPIC > -DPIC -o .libs/libperfparse_la-config_file.o > config_file.c:39:18: glib.h: No such file or directory > config_file.c: In function `conf_new": > config_file.c:146: `FALSE" undeclared (first use in this function) > config_file.c:146: (Each undeclared identifier is reported only once > config_file.c:146: for each function it appears in.) > config_file.c: In function `conf_load": > config_file.c:208: `TRUE" undeclared (first use in this function) > config_file.c:208: `FALSE" undeclared (first use in this function) > make[2]: *** [libperfparse_la-config_file.lo] Error 1 > make[2]: Leaving directory > `/home/daniel/nagios/perfparse-0.99.08/libperfparse" make[1]: *** > [all-recursive] Error 1 make[1]: Leaving directory > `/home/daniel/nagios/perfparse-0.99.08" make: *** [all] Error 2 > [root@IACCSINAGSV0001 perfparse-0.99.08]# >=20 > Nate Smith > Disetronic Medical Systems > IT Support Consultant |
From: Nate A. S. <nat...@di...> - 2004-08-10 13:36:07
|
I am receiving the same compile error as user strong@ms... Is receiving: =20 [root@IACCSINAGSV0001 perfparse-0.99.08]# make make all-recursive make[1]: Entering directory `/home/daniel/nagios/perfparse-0.99.08" Making all in libperfparse make[2]: Entering directory `/home/daniel/nagios/perfparse-0.99.08/libperfparse" if /bin/sh ../libtool --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/mysql/include/mysql "-DSYSCONFDIR=3D"/usr/local/nagios/etc"" -g -O2 -Wall -MT libperfparse_la-config_file.lo -MD -MP -MF ".deps/libperfparse_la-config_file.Tpo" -c -o libperfparse_la-config_file.lo `test -f "config_file.c" || echo "./"`config_file.c; \ then mv -f ".deps/libperfparse_la-config_file.Tpo" ".deps/libperfparse_la-config_file.Plo"; else rm -f ".deps/libperfparse_la-config_file.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/mysql/include/mysql -DSYSCONFDIR=3D\"/usr/local/nagios/etc\" -g -O2 -Wall -MT libperfparse_la-config_file.lo -MD -MP -MF .deps/libperfparse_la-config_file.Tpo -c config_file.c -fPIC -DPIC -o .libs/libperfparse_la-config_file.o config_file.c:39:18: glib.h: No such file or directory config_file.c: In function `conf_new": config_file.c:146: `FALSE" undeclared (first use in this function) config_file.c:146: (Each undeclared identifier is reported only once config_file.c:146: for each function it appears in.) config_file.c: In function `conf_load": config_file.c:208: `TRUE" undeclared (first use in this function) config_file.c:208: `FALSE" undeclared (first use in this function) make[2]: *** [libperfparse_la-config_file.lo] Error 1 make[2]: Leaving directory `/home/daniel/nagios/perfparse-0.99.08/libperfparse" make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/daniel/nagios/perfparse-0.99.08" make: *** [all] Error 2 [root@IACCSINAGSV0001 perfparse-0.99.08]# =20 Nate Smith Disetronic Medical Systems IT Support Consultant =20 |
From: Cook, G. <GW...@ma...> - 2004-08-09 13:47:56
|
str...@ms... wrote: > Hi >=20 > as I Compiling PerfParse 0.99.08, I get some message >=20 > please help to resolve this problem >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking for pkg-config... /usr/bin/pkg-config > checking for GLIB - version >=3D 2.0.0... no > *** Could not run GLIB test program, checking why... > *** The test program failed to compile or link. See the file > config.log for the=20 > *** exact error that occured. This usually means GLIB is incorrectly > installed. Using Mysql Did you look at the file config.log as requested above? If so, what was the exact error? > checking for mysql_config... /home/mysql/bin/mysql_config > checking for ANSI C header files... (cached) yes > checking for stdlib.h... (cached) yes > checking for string.h... (cached) yes > checking for unistd.h... (cached) yes > checking sys/utsname.h usability... yes > checking sys/utsname.h presence... yes >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > This is my glib rpm rpm -qa| grep glib >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > glib-1.2.10-10 > glibc-common-2.3.2-11.9 > glibc-2.3.2-11.9 > glib2-2.2.1-1 > glibc-kernheaders-2.4-8.10 > glib-devel-1.2.10-5 > glibc-devel-2.3.2-11.9 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D At first glance, this looks ok to me. Since you also have glib2 installed, you may want to also install glib2-devel and see if this fixes your issue. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) |
From: Cook, G. <GW...@ma...> - 2004-08-09 13:42:41
|
daniel wrote: > I just installed perfparse without much difficulty. When I run > perforce -r, it seems to be running fine (by look of output) for few > times but it doesnt seem be inserting anything into the DB. Then, few > minutes later, it gives SQL error which seems to be mismatch between > the column and the values. ie trying to insert int into char. =20 >=20 > Seems like quite a few ppl are having similar problem. Would it be > better to use the older version ?=20 >=20 > Thanks > Daniel Both Ben and Yves are on holiday this week, so if you've found a bug it might be best to go back to an older version until they return. However, when upgrading PerfParse, you should always run 'perfparse-db-tool --update' to make sure that the MySQL DB is updated with any changes that may have been added for the latest version. If you have not done so, please do, and see if this fixes your issue. =20 If I have not documented this feature well enough, and several people are having problems related to not running the db update tool, please let me know. I'll be happy to update the docs further. Let me know where you think would be a good place to add this information. I'll start with the FAQ page...=20 Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) =20 |
From: Cook, G. <GW...@ma...> - 2004-08-09 13:41:24
|
per...@li... wrote: > Hi, >=20 > I found this error after installing perfparse-0.99.08 with > data from plugins 1.4.0alpha1. > To make this work I added a new column "nagios_status" to > perfdata_service_raw and the application > wors. Is this OK ? or do I have any other problem with the plugins? >=20 >=20 > [root@lbox bin]# ./perfparse -r > Filename: /usr/local/nagios/var/serviceperf.log > File open at line 0 and ready to parse: > 00:00:01 l 0 read 0 @ 0.0 l/sec. Met 0 @ nan Met/l. Drop 0. > "INSERT INTO perfdata_service_raw > (host_name, service_description, ctime, txt_data, > nagios_status) VALUES > ('3COM_3300','PING',FROM_UNIXTIME(1091825121),'PING OK - > Packet loss =3D 0%, RTA =3D 1.96 ms',0)" > failed: > Unknown column 'nagios_status' in 'field list' >=20 > Reinaldo T. >=20 After install, did you run the 'perfparse-db-tool' with the '--update' parameter? If not, you should do so. This updates the MySQL db between versions, when db changes have been made. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) |
From: <str...@ms...> - 2004-08-08 15:36:32
|
Hi=20 as I Compiling PerfParse 0.99.08, I get some message please help to resolve this problem=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3Dmy log =3D=3D=3D=3D=3D=3D=3D=3D [root@IACCSINAGSV0001 perfparse-0.99.08]# ./configure \ > --prefix=3D/usr/local/nagios \ > --with-imagedir=3D/usr/local/nagios/share/images/ \ > --with-cgidir=3D/usr/local/nagios/sbin \ > --with-http_image_path=3D/nagios/images checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables...=20 checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether make sets $(MAKE)... (cached) yes checking for a BSD-compatible install... /usr/bin/install -c checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared = libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared = libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared = libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 linker (/usr/bin/ld) supports shared = libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for pkg-config... /usr/bin/pkg-config checking for GLIB - version >=3D 2.0.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log = for the *** exact error that occured. This usually means GLIB is incorrectly = installed. Using Mysql checking for mysql_config... /home/mysql/bin/mysql_config checking for ANSI C header files... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking whether time.h and sys/time.h may both be included... yes checking for stdlib.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... no checking for atexit... yes checking for modf... yes checking for pow... no checking for strstr... yes checking for vasprintf... yes configure: creating ./config.status config.status: creating Makefile config.status: creating libperfparse/Makefile config.status: creating perfparse/Makefile config.status: creating db_tools/Makefile config.status: creating cgi/Makefile config.status: creating images/Makefile config.status: creating config/Makefile config.status: creating contrib/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands ***************************************************** Configuration options: Prefix: /usr/local/nagios HTTP path for images: /nagios/images Installation path for images: /usr/local/nagios/share/images/ Installation path for CGIs: /usr/local/nagios/sbin Using glib1.2: 1.2.10 Database support: mysql ***************************************************** WARNING WARNING WARNING WARNING WARNING WARNING WARNING CHANGE SINCE 0.99.04: PLEASE CHECK THAT xpdfile_service_perfdata_template IN nagios.cfg HAS THE FOLLOWING CONTENT: xpdfile_service_perfdata_template=3D$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$= OUTPUT$\t$SERVICESTATE$\t$PERFDATA$ ***************************************************** [root@IACCSINAGSV0001 perfparse-0.99.08]# make make all-recursive make[1]: Entering directory `/home/daniel/nagios/perfparse-0.99.08' Making all in libperfparse make[2]: Entering directory = `/home/daniel/nagios/perfparse-0.99.08/libperfparse' if /bin/sh ../libtool --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I. -I.. = -I/home/mysql/include/mysql '-DSYSCONFDIR=3D"/usr/local/nagios/etc"' = -g -O2 -Wall -MT libperfparse_la-config_file.lo -MD -MP -MF = ".deps/libperfparse_la-config_file.Tpo" -c -o = libperfparse_la-config_file.lo `test -f 'config_file.c' || echo = './'`config_file.c; \ then mv -f ".deps/libperfparse_la-config_file.Tpo" = ".deps/libperfparse_la-config_file.Plo"; else rm -f = ".deps/libperfparse_la-config_file.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/mysql/include/mysql = -DSYSCONFDIR=3D\"/usr/local/nagios/etc\" -g -O2 -Wall -MT = libperfparse_la-config_file.lo -MD -MP -MF = .deps/libperfparse_la-config_file.Tpo -c config_file.c -fPIC -DPIC -o = .libs/libperfparse_la-config_file.o config_file.c:39:18: glib.h: No such file or directory config_file.c: In function `conf_new': config_file.c:146: `FALSE' undeclared (first use in this function) config_file.c:146: (Each undeclared identifier is reported only once config_file.c:146: for each function it appears in.) config_file.c: In function `conf_load': config_file.c:208: `TRUE' undeclared (first use in this function) config_file.c:208: `FALSE' undeclared (first use in this function) make[2]: *** [libperfparse_la-config_file.lo] Error 1 make[2]: Leaving directory = `/home/daniel/nagios/perfparse-0.99.08/libperfparse' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/daniel/nagios/perfparse-0.99.08' make: *** [all] Error 2 [root@IACCSINAGSV0001 perfparse-0.99.08]#=20 |