Date: Sun, 18 Jan 2009 21:23:27 +0300 (MSK) From: Dmitry Morozovsky <marck@rinet.ru> To: ports@FreeBSD.org Subject: net/mpich install glitch Message-ID: <alpine.BSF.2.00.0901182121360.61105@woozle.rinet.ru>
next in thread | raw e-mail | index | archive | help
On FreeBS xxxx.rinet.ru 7.1-STABLE FreeBSD 7.1-STABLE #0: Fri Jan 9 00:57:47 MSK 2009 marck@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@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0901182121360.61105>