List Info

Thread: Patch for NDOUtils 1.4b2 with RHEL4 64-bit and MySQL




Patch for NDOUtils 1.4b2 with RHEL4 64-bit and MySQL
country flaguser name
United States
2007-04-06 16:49:35
When using ./configure on RHEL4 64bit, I was getting:

*** MySQL library could not be located...
**************************

Using ./configure --with-mysql-lib=/usr/lib/mysql didn't
work because 
there is a bug in configure.  Attached is a patch.

Alex




------------------------------------------------------------
-------------
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-devel mailing list
Nagios-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-dev
el

  
Re: Patch for NDOUtils 1.4b2 with RHEL4 64-bit and MySQL
country flaguser name
United States
2007-04-10 11:16:16
Alex Burger wrote:
> 
> When using ./configure on RHEL4 64bit, I was getting:
> 
> *** MySQL library could not be located...
**************************
> 
> Using ./configure --with-mysql-lib=/usr/lib/mysql
didn't work because 
> there is a bug in configure.  Attached is a patch.
> 
> Alex
> 
> 
> 
> 
>
------------------------------------------------------------
------------
> 
> --- configure.old	2007-01-19 15:34:39.000000000 -0500
> +++ configure	2007-04-06 17:44:37.000000000 -0400
>  -5897,8 +5897,7 
>  	DBLDFLAGS="-L$"
> 
	LD_RUN_PATH="$${LD_RUN_PATH:+:}$
"
>  
> -fi;
> -if test "x$withval" != "xno" ;
then
> +else
>  	      	DBLDFLAGS="$LDFLAGS
-L/usr/lib/mysql"
>  fi
>  
> 

Thanks - patch will be in CVS shortly...



Ethan Galstad,
Nagios Developer
---
Email: nagiosnagios.org
Website: http://www.nagios.org

------------------------------------------------------------
-------------
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-devel mailing list
Nagios-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-dev
el

Re: Patch for NDOUtils 1.4b2 with RHEL4 64-bit and MySQL
country flaguser name
United Kingdom
2007-04-11 03:05:59
On 10 Apr 2007, at 17:16, Ethan Galstad wrote:

> Alex Burger wrote:
>>
>> When using ./configure on RHEL4 64bit, I was
getting:
>>
>> *** MySQL library could not be located...
**************************
>>
>> Using ./configure --with-mysql-lib=/usr/lib/mysql
didn't work because
>> there is a bug in configure.  Attached is a patch.
>>
>
> Thanks - patch will be in CVS shortly...

Hi!

Can I remind that I think this is a better patch: http:// 
altinity.blogs.com/dotorg/2007/04/better_mysqlcli.html

It uses the same mysql detection as the plugins, and should
cater for  
32/64bit, library detection, header files, a test compile,
etc, etc.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon




------------------------------------------------------------
-------------
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-devel mailing list
Nagios-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-dev
el

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )