Thank you

That fixed my problem

On Thu, Jun 5, 2008 at 8:03 AM, Thomas Guyot-Sionnest <[EMAIL PROTECTED]>
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 04/06/08 02:02 AM, [EMAIL PROTECTED] wrote:
> > Hi,
> >
> > I am trying to install nagios plugins on solaris spac 10. It was able to
> > configure fine but problems comes up while compiling.
> >
> > # make
> > gcc: language strconst not recognized
> > gcc: check_mysql.c: linker input file unused because linking not done
> > mv: cannot access .deps/check_mysql-check_mysql.Tpo
> > make[2]: *** [check_mysql-check_mysql.o] Error 2
> > make[2]: Leaving directory
> `/usr/local/nagios/nagios-plugins-1.4.11/plugins'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/local/nagios/nagios-plugins-1.4.11'
> > make: *** [all] Error 2
> >  # which make
> > /usr/local/bin/make
> > I've downloaded gnu make from sunfreeware.com <http://sunfreeware.com/>
> > from the below suggestion,
> >
> > http://www.nagios.org/faqs/viewfaq.php?faq_id=78
> >
> > I was actually getting the error in the above url but as per the
> > suggestion I've downloaded make-3.81 and installed it. Then it reportes
> > the above error which I gave here.
> >
> > Please suggest
>
> This is most likely because your mysql was compiled with sun cc with
> non-gcc compiler flags. Two options here:
>
> 1. If you don't need check_mysql*, just configure with "--without-mysql"
>
> 2. If you need mysql checks, edit plugins/Makefile, look for MYSQLCFLAGS
> and remove any non-gcc flag there.
>
> Thomas
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFIR1CB6dZ+Kt5BchYRAr0iAKCeq1KuqNskm4nenx3ZNCz2NxQq/QCgwraw
> a/xrbMxORHcqk24In3cqCQE=
> =72QW
> -----END PGP SIGNATURE-----
>



-- 
Shankar Asam
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to