Having looked at this, it's because the wrapper config files are configured using the @CC@ @CXX@ variables etc and are then placed in a .all deb. Obviously, this works if they are set to gcc, g++ etc but they generally aren't.
There are three possible solutions to this:
1) Add something like CC=gcc CXX=g++ FC=gfortran CPP=cpp to the
configure line in debian/rules; this will completely break
cross-compiling
2) Manually hack the compiler= lines in all of the
/usr/share/openmpi/*wrapper*.txt to be the generic gcc,g++ options using
sed or something when we build the arch-indep deb
3) Move the *wrapper*.txt files to the architecture dependent .deb. I
only consider this as the wrapper files also have library information in
them and this could concievably change between architectures (especially
for things like kfreebsd / hurd etc).
I'm happy to provide a diff for any of the above three options but would
like some guidance as to which the correct one is.
Cheers,
Mark
--
Mark Hymers <mark at hymers dot org dot uk>
"Don't you hate those Claims Direct adverts?
'I slipped on a banana skin and sued the Dominican Republic!'"
Linda Smith on the News Quiz talking about the Compensation Culture
signature.asc
Description: Digital signature

