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

Re: netcdf packages



On Friday 15 December 2006 16:40, Kevin B. McCarty wrote:
> While I think of it, please add cfortran as a Build-Depends, and in
> debian/rules do something to ensure that the build happens using the
> copy of cfortran.h in Debian, to ensure consistency.  Probably the
> easiest way would be just to
>
>         cp -pf /usr/include/cfortran.h $(CURDIR)/fortran/
>
> in the configure target to overwrite the existing copy.  In debian/rules
> clean target, do the following: "rm -f $(CURDIR)/fortran/cfortran.h" in
> order to avoid bloating the diff.gz.

From netcdf upstream:
<upstream>
Jeff Whitaker <jswhit@fastmail.fm> writes:

> Warren Turkal wrote:
>> The cfortran.h file is in /usr/include on Debian systems after
>> installing the cfortran package. Does netcdf use a cfortran.h in
>> /usr/include instead of the one within the tarball when it is
>> available? If not, could you please change netcdf to do so for beta5?
>>
>> wt
>>
> Warren:  Why?  What if it is broken, or out of date?  I'd rather
> netcdf use it's own cfortran.h, which it knows it can trust.
>
> -Jeff

NetCDF includes it's own cfortran.h, which will be used in its build.

Any cfortran.h on the system will not be used, it will be ignored by
netCDF. The netCDF fortran API looks for, and uses, its own
cfortran.h, not depending on it to be installed, or using it if it is.

This is necessary: some modifications to netCDF's cfortran.h allow it
to be built on even more platforms than the original cfortran.h
allows.

Thanks,

Ed
</upstream>

Considering these replies, should I even bother hacking in the cfortran.h from 
the Debian package?

wt
-- 
Warren Turkal, Research Associate III/Systems Administrator
Colorado State University, Dept. of Atmospheric Science



Reply to: