[OMPI devel] centos-7 / rhel-7 build fail (configure fails to recognize g++)

2014-07-04 Thread olivier . lahaye1
Hi, On centos-7 beta, the configure script fails to recognize the g++ compiler. checking for the C++ compiler vendor... unknown checking if C and C++ are link compatible... no ** * It appears that your C++ compiler is unable

Re: [OMPI devel] openmpi.spec

2014-07-12 Thread olivier . lahaye1
This is a bad idea to remove the %{?dist} IMHO. To generate a generic src.rpm, you should use the following command: rpmbuild -ts tarball --define 'dist %{nil}' or rpmbuild -bs openmpi.spec --define 'dist %{nil}' This can be put in the main Maikefile: srpm: tarball_bz2 rpmbuild -ts openmpi