error installing nagios-plugins-1.4.5

Andy Shellam (Mailing Lists) andy.shellam-lists at mailnetwork.co.uk
Thu Dec 28 20:00:22 CET 2006


The nagios-plugins builds a MySQL plugin so it needs to know where to 
find the MySQL libraries.
You may need to use --without-mysql or something similar if you don't 
want this (I can't remember offhand how to exclude MySQL from the plugins.)

Andy.

Marcel Mitsuto Fucatu Sugano wrote:
> On Thu, 2006-12-28 at 13:48 -0500, Carlos Sánchez wrote:
>   
>> Why I need add --with-mysql=/path/to/mysql
>>
>> dont the nagios version 2 use mysql?
>>     
>
> No. It doesn't. If you need mysql backend you should try nagios-db or
> ndoutils.
>
>   
>> my instruccion for configure is: ./configure --prefix=/nagios 
>> --with-cgiurl=/nagios/cgi-bin
>>
>>     
>>> From: "Andy Shellam (Mailing Lists)" <andy.shellam-lists at mailnetwork.co.uk>
>>> To: Carlos Sánchez <cjsanz4job at hotmail.com>,  Nagios Users mailinglist 
>>> <nagios-users at lists.sourceforge.net>
>>> Subject: Re: [Nagios-users] error installing nagios-plugins-1.4.5
>>> Date: Thu, 28 Dec 2006 18:46:24 +0000
>>>
>>> When you ./configure you need to add "--with-mysql=/path/to/mysql" into the 
>>> ./configure options.
>>>
>>> Andy.
>>>
>>> Carlos Sánchez wrote:
>>>       
>>>> Hello
>>>>
>>>> when i execute "make" i have an error:
>>>>
>>>> check_mysql.c:165: error: ‘MYSQL_FIELD’ undeclared (first use in this 
>>>> function)
>>>>
>>>> check_mysql.c:165: error: ‘fields’ undeclared (first use in this 
>>>> function)
>>>>
>>>> make[2]: *** [check_mysql-check_mysql.o] Error 1
>>>>
>>>> make[2]: Leaving directory `/install/nagios-plugins-1.4.5/plugins'
>>>>
>>>> make[1]: *** [all-recursive] Error 1
>>>>
>>>> make[1]: Leaving directory `/install/nagios-plugins-1.4.5'
>>>>
>>>> make: *** [all] Error 2
>>>>
>>>> anybody can help me?
>>>>
>>>> thanks
>>>>
>>>> _________________________________________________________________
>>>> Find sales, coupons, and free shipping, all in one place! MSN Shopping 
>>>> Sales & Deals 
>>>> http://shopping.msn.com/content/shp/?ctid=198,ptnrid=176,ptnrdata=200639
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> -------------------------------------------------------------------------
>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share 
>>>> your
>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>
>>>> !DSPAM:37,45940ed731941618886302!
>>>>   
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> Nagios-users mailing list
>>>> Nagios-users at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>>> ::: Please include Nagios version, plugin version (-v) and OS when 
>>>> reporting any issue. ::: Messages without supporting info will risk being 
>>>> sent to /dev/null
>>>>
>>>> !DSPAM:37,45940ed731941618886302!
>>>>
>>>>         
>>> --
>>> Andy Shellam
>>> NetServe Support Team
>>>
>>> the Mail Network
>>> "an alternative in a standardised world"
>>>
>>> p: +44 (0) 121 288 0832/0839
>>> m: +44 (0) 7818 000834
>>>
>>>       
>> _________________________________________________________________
>> Type your favorite song.  Get a customized station.  Try MSN Radio powered 
>> by Pandora. http://radio.msn.com/?icid=T002MSN03A07001
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
>>     
>
>
> AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. Caso você não seja o destinatário desta mensagem, informamos que qualquer divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos é absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.
>
> NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail´s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/.
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
>
> !DSPAM:37,4594125531949970211607!
>
>
>   


-- 
Andy Shellam
NetServe Support Team

the Mail Network
"an alternative in a standardised world"

p: +44 (0) 121 288 0832/0839
m: +44 (0) 7818 000834


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list