Re: [Nagios-devel] Patch to compile check_mysql on 64bit systems
Posted: Wed Dec 07, 2005 10:46 am
Frank Wittig wrote:
> Hello List!
>
> check_mysql fails to build on 64bit systems because of a static path in
> the configure scripts. I don't have fixed the underlaying problem but my
> patch will make it build.
>
First of all, this thread belongs on nagiosplug-devel, not on nagios-devel.
Secondly, this patch completely breaks support for all 32-bit mysql
installations out there, which I guess makes up about 99% of them all.
Hence, the patch you sent is completely worthless, (although the
bugreport ofcourse is not). When submitting patches it's usually wise to
make sure that you don't fix it for yourself while landing others (a
majority in this case) in trouble, or the patch simply has to be refuted.
A simpler and less timeconsuming fix would have been for you to do
$ ./configure --with-mysql-lib=/usr/lib64/mysql
or create a symlink named 'mysql' in /usr/lib, pointing to /usr/lib64/mysql.
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
> Hello List!
>
> check_mysql fails to build on 64bit systems because of a static path in
> the configure scripts. I don't have fixed the underlaying problem but my
> patch will make it build.
>
First of all, this thread belongs on nagiosplug-devel, not on nagios-devel.
Secondly, this patch completely breaks support for all 32-bit mysql
installations out there, which I guess makes up about 99% of them all.
Hence, the patch you sent is completely worthless, (although the
bugreport ofcourse is not). When submitting patches it's usually wise to
make sure that you don't fix it for yourself while landing others (a
majority in this case) in trouble, or the patch simply has to be refuted.
A simpler and less timeconsuming fix would have been for you to do
$ ./configure --with-mysql-lib=/usr/lib64/mysql
or create a symlink named 'mysql' in /usr/lib, pointing to /usr/lib64/mysql.
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]