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'.

> 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.

> I know RedHat wants things in
> certain places.

Yes, they are running with "prefix=/usr", etc..

> 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.

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

Reply via email to