[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #EHK-131137]: netcdf-fortran pkg-config info

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDF #EHK-131137]: netcdf-fortran pkg-config info
  • Date: Thu, 03 May 2012 14:48:42 -0600

Hi Fedor,

> I found an issue in the netcdf-fortran library version 4.2. The
> pkg-config's prefix info (as stored in the file
> $(prefix)/lib/pkg-config/netcdf-fortran.pc file is always set to
> /usr/local. But for some systems it is different, for example on
> macports it is /opt/local (which causes this bug:
> https://trac.macports.org/ticket/34317).
> 
> This problem can be fixed by changing the first line of the file:
> netcdf-fortran.pc.in
> from:
> prefix=/usr/local
> to:
> prefix=@prefix@

Thanks!  This fix will appear in the next release.

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: EHK-131137
Department: Support netCDF
Priority: Normal
Status: Closed