[Nagiosplug-help] Solaris Compile error

Holger Weiß holger at CIS.FU-Berlin.DE
Wed Feb 13 08:58:16 CET 2013


* Steve Muhika <muhikast at gmail.com> [2013-02-08 10:04]:
> I was compiling nagios-plugins-1.4.16 on a Solaris box but got the error
> below
> 
> configure: using 64bit pst3
> configure: compiler do not like -m64
> configure: compiler do not like -xarch=v9
> configure: compiler do not like -xarch=amd64
> configure: error: I don't know how to build a 64-bit object!

I guess you're running into the following issue.

| Q: I can't compile check_mysql on solaris
|
| A: If you are using GCC and your MySQL version was compiled using Sun's
|    C compiler (or the other way round), then it is likely that the
|    configure options will fail as configure will run mysql_config to get
|    the appropriate CFLAGS.
|
|    There are various options:
|
|    * Disable check_mysql by running ./configure --without-mysql
|    * Allow ./configure to finish, but manually amend plugins/Makefile
|      and remove any non-GCC flags in MYSQLCFLAGS
|    * Use Sun's C compiler to compile the plugins
|    * Use a GCC compiled version of MySQL

[ http://nagios-plugins.org/node/99 ]

Holger




More information about the Help mailing list