Sasha,
On Tue, Sep 30, 2008 at 5:02 PM, Sasha Khapyorsky <[EMAIL PROTECTED]> wrote:
> Hi Hal,
>
> On 09:13 Tue 30 Sep , Hal Rosenstock wrote:
>>
>> When using the defaults for an opensm configure,
>>
>> include/config.h:#define HAVE_DEFAULT_OPENSM_CONFIG_FILE
>> "/usr/local/etc/opensm/
>> opensm.conf"
>
> Right, when prefix is '/usr/local'.
Isn't that the default prefix ?
>> but:
>> scripts/redhat-opensm.init.in:# config: @sysconfdir@/sysconfig/opensm.conf
>> scripts/redhat-opensm.init.in:[EMAIL PROTECTED]@/sysconfig/opensm.conf
>> scripts/sldd.sh.in:# config: @sysconfdir@/sysconfig/opensm.conf
>> scripts/sldd.sh.in:[ -f @sysconfdir@/sysconfig/opensm.conf ] && [EMAIL
>> PROTECTED]
>> ir@/sysconfig/opensm.conf
>
> yes, and:
>
> scripts/redhat-opensm.init:# config: ${prefix}/etc/sysconfig/opensm.conf
> scripts/redhat-opensm.init:prefix=/usr/local
> scripts/redhat-opensm.init:CONFIG=${prefix}/etc/sysconfig/opensm.conf
>
>> This doesn't look consistent to me.
>
> What is not consistent? It is all depends from ./configure's options
> --prefix, --sysconfdir, etc.
They are not consistent with defaults. Isn't opensm.conf in
.../etc/opensm/ by default (not .../etc/sysconfig/) ?
>> I know RedHat wants things in
>> certain places.
>
> Yes, they are running with "prefix=/usr", etc..
That's the prefix part and not the other pieces.
>> Shouldn't that be documented somewhere ? Also, what
>> about sldd ? Is that for RedHat or general ?
>
> I don't know much about who is using sldd.sh. Currently it is installed
> by RPM for any distro.
Looks to me to be consistent with RedHat script but not defaults.
-- Hal
> Sasha
>
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general