Hi Yu Chen,
* Yu Chen wrote on Wed, Jan 19, 2005 at 07:58:47PM CET:
> Hi, wondering if anybody can help me with this error, I am rebuild
> lam-7.1.1-2.src.rpm on RedHat-EL-AS-3 using rpmbuild --rebuild, with PGI
> compiler (FC=pgf77, CC=pgcc, CXX=pgCC), at almost the end, after the
> message:
>
> Installation of LAM/MPI 7.1.1 is complete.
>
> It gives out this error, it seems somehow the "." has been replaced by
> "*", is it compiler problem, or any workaround?
>
> chmod: failed to get attributes of
> `/var/tmp/lam-7.1.1-root/usr/lib/lam/liblam_totalview*so': No such fileor
> directory
This is fixed in 7.1.2. (Your version uses a libtool that has not yet
been taught about PIC flags for the PGI compilers, so the shared
libraries are not built.)
Still, this warning is harmless and could be shut up like below.
Regards,
Ralf
Index: contrib/dist/linux/lam-caos.spec
===================================================================
--- contrib/dist/linux/lam-caos.spec (revision 10026)
+++ contrib/dist/linux/lam-caos.spec (working copy)
@@ -178,7 +178,7 @@
# Turn off the x bit on the totalview shared library so that rpm
# doesn't strip it. #$%@#$%!!!
-chmod a-x $RPM_BUILD_ROOT%{_libdir}/lam/liblam_totalview*so
+chmod a-x $RPM_BUILD_ROOT%{_libdir}/lam/liblam_totalview*so 2>/dev/null
#############################################################################
|