.pc file problem on limpi2ch

Bug #566822 reported by thiagoss
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mpich2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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 :)

Related branches

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

Revision history for this message
Lucas Nussbaum (lucas) wrote :

On 19/04/10 at 18:20 -0000, Pavan Balaji wrote:
>
> 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.

Thanks, will do that.
--
| Lucas Nussbaum
| <email address hidden> http://www.lucas-nussbaum.net/ |
| jabber: <email address hidden> GPG: 1024D/023B3F4F |

Revision history for this message
Lucas Nussbaum (lucas) wrote :

Fixed in 1.2.1.1-3

Changed in mpich2 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.