On Mon, 11 Jul 2011 07:42:38 -0700
Michael Di Domenico <[email protected]> wrote:

> On Mon, Jul 11, 2011 at 9:43 AM, Michael Di Domenico
> <[email protected]> wrote:
> > On Mon, Jul 11, 2011 at 9:28 AM, Michael Di Domenico
> > <[email protected]> wrote:
> >> On Tue, Jul 5, 2011 at 6:36 PM, Ira Weiny <[email protected]> wrote:
> >>> On Fri, 1 Jul 2011 10:08:47 -0700
> >>> Michael Di Domenico <[email protected]> wrote:
> >>>
> >>>> According to my installation of Ofed 1.5.3 on RHEL6, the
> >>>> infiniband-diags package rpm is trying to chown /usr/local in order to
> >>>> deposit a library in lib64.
> >>>
> >>> infiniband-diags does not do a chown.
> >>
> >> Sorry for the late reply, your reply got lost in my email bins...
> >>
> >> I should correct my statement, when RPM does the cpio extraction of
> >> the data that's what's reporting the error
> >>
> >>>> In my environment /usr/local is off-limits to root and all package
> >>>> installs.  Is this a bug?  Is there a workaround to allow the
> >>>> install.pl to complete?
> >>>
> >>> I just tried this on a vanilla Fedora 15 system and was able to build the 
> >>> source rpms just fine.
> >>>
> >>> Try building and installing in this order.
> >>>
> >>> libibumad-1.3.7-1.src.rpm
> >>> libibmad-1.3.7-1.src.rpm
> >>> opensm-3.3.9-1.src.rpm
> >>> infiniband-diags-1.5.8-1.src.rpm
> >>
> >> these all build correctly using the install.pl file upto the
> >> infiniband-diags file then i get
> >>
> >> error: unpacking archive file on file /usr/local: cpio: Operation not 
> >> supported
> >>
> >
> > the file that seems to get included in the rpm is
> >
> > /usr/local/lib64/perl5/IBswcountlimits.pm
> >
> > i can't seem to locate where that's coming from though
> 
> Looks like the spec file pulls the "installsitearch" from the perl
> config.  on redhat 5 there doesn't seem to be an installsitearch
> variable defined in the perl -V output, but on redhat 6 there is a
> -Dinstallsitearch=/usr/local/lib64
> 
> this is a redhat 6'ism, i did a fresh install of rhel6.0 to test
> whether it was something i messed up in the perl or not, but it wasn't
> me.
> 
> i can likely work around the issue in the short term by recompiling
> the spec file by hand

You're right...  :-(  Sorry about that.

I spoke to some people here and our RedHat consultant.  I think this module 
should be installed in vendorlib.  Would you agree?

Ira


-- 
Ira Weiny
Math Programmer/Computer Scientist
Lawrence Livermore National Lab
925-423-8008
[email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to