Comment 1 for bug 566822

Revision history for this message
Pavan Balaji (balaji) wrote : Re: [Bug 566822] [NEW] .pc file problem on limpi2ch

This has already been fixed in the MPICH2 trunk a while ago:
http://trac.mcs.anl.gov/projects/mpich2/changeset/5845/mpich2/trunk

But it looks like this hasn't been pushed to the stable 1.2.x series.
I'll back port it shortly. But you are welcome to pull the patch
directly as well.

  -- Pavan

On 04/19/2010 12:54 PM, thiagoss wrote:
> Public bug reported:
>
> Binary package hint: mpich2
>
> I'm using ubuntu 9.10, and I just installed libmpich2-dev, when trying
> to build my code using "pkg-config --cflags --libs mpi-ch2-ch3", it
> complains about no exec_prefix defined on the .pc file.
>
> This is true, I opened the .pc file myself and ${exec_prefix} is not
> being defined.
>
> This should be easy to fix, probably just add /usr instead of
> ${exec_prefix} or add exec_prefix=/usr on the file :)
>
> ** Affects: mpich2 (Ubuntu)
> Importance: Undecided
> Status: New
>

--
Pavan Balaji
http://www.mcs.anl.gov/~balaji