net/mpich install glitch
Dmitry Morozovsky
marck at rinet.ru
Sun Jan 18 10:40:45 PST 2009
On
FreeBS xxxx.rinet.ru 7.1-STABLE FreeBSD 7.1-STABLE #0: Fri Jan 9 00:57:47
MSK 2009 marck at xxxx.rinet.ru:/usr/obj/usr/src/sys/xxxx amd64
I've got
installed MPICH in /usr/local/mpich
/usr/local/mpich/sbin/mpiuninstall may be used to remove the installation.
/usr/sbin/chown -R root:wheel /usr/local/mpich/bin /usr/local/mpich/lib
/usr/sbin/chown -R root:wheel /usr/local/mpich/doc /usr/local/mpich/include
/usr/local/mpich/share
/bin/ln -sf /usr/local/mpich/bin/mpicxx /usr/local/mpich/bin/mpiCC
rmdir: /usr/local/mpich/examples/MPI-2-C++: No such file or directory
The following simple patch fixes the installation:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/mpich/Makefile,v
retrieving revision 1.54
diff -u -r1.54 Makefile
--- Makefile 7 Jan 2009 16:34:19 -0000 1.54
+++ Makefile 18 Jan 2009 18:21:04 -0000
@@ -217,7 +217,7 @@
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/mpich/doc
${PREFIX}/mpich/include \
${PREFIX}/mpich/share
${LN} -sf ${PREFIX}/mpich/bin/mpicxx ${PREFIX}/mpich/bin/mpiCC
- @${RMDIR} ${PREFIX}/mpich/lib/shared ${PREFIX}/mpich/examples/MPI-2-C++
+ -@${RMDIR} ${PREFIX}/mpich/lib/shared ${PREFIX}/mpich/examples/MPI-2-C++
.if ! defined(WITHOUT_JAVA) && ! defined(PACKAGE_BUILDING)
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/mpich/logfiles
.endif
--
Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer: marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------
More information about the freebsd-ports
mailing list