[Nagiosplug-help] Re: check_mysql cleanup in configure
Ton Voon
ton.voon at altinity.com
Mon Mar 20 06:45:07 CET 2006
On 20 Mar 2006, at 12:18, sean finney wrote:
> hey ton,
>
> On Mon, Mar 20, 2006 at 09:31:39AM +0000, Ton Voon wrote:
>>> or, do you mean hardcoding the library path with -rpath? in
>>> debian use of -rpath is generally discouraged, though i could
>>> see how it's useful in situations wher the plugins are being
>>> compiled from source. however, it would be nice if the -rpath
>>> related
>>> additions to the mysql detections respected the --disable-rpath
>>> configure flag, so that in my debian builds i wouldn't have to
>>> patch anything for this but could instead just pass --disable-rpath
>>> as part of my ./configure line.
>>
>> I'm going to have to admit ignorance here: why not -rpath? Is it
>> better to use -L?
>
> i can't claim to be an expert on this one either, but yes, i think -L
> would be better in such case (or perhaps nothing at all for debian's
> uses). it seems the problem with using -rpath in debian is not
> that it
> necessarily breaks anything but that it causes the program to behave
> differently than others, and bypasses the well defined library search
> path defined by policy/local-adminsitrators.
>
> if you like, i can bounce this issue to some more knowledgable folks
> on debian-devel to get some further insight...
I'm happy for you to ask. I'll mark up our dev guidelines based on
the advice.
>
>> After investigating mysql_config, I think it may be better to switch
>> to that method instead. http://sourceforge.net/tracker/index.php?
>> func=detail&aid=1359414&group_id=29880&atid=397597. But would give
>> similar problems for Debian packages?
>
> yes, i think that would be a better change, and i don't think it would
> give a problem for debian... perhaps we should give that a try?
OK. It looks like mysql_config is supported for all versions of
mysql, so I'll convert over to that, but it will be in a few days time.
Ton
http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon
More information about the Help
mailing list