Opened 10 years ago

Closed 5 years ago

#5651 closed defect (wontfix)

Patch for HDF4 header location

Reported by: thor Owned by: warmerdam
Priority: normal Milestone: closed_because_of_github_migration
Component: default Version: 1.11.0
Severity: normal Keywords:
Cc:

Description

I'm not totally sure if my installation is non-standard, but using pkgsrc, the HDF4 headers are installed in $PREFIX/include/hdf, p.ex.

$PREFIX/include/hdf/mfhdf.h

Of course one could add -I$PREFIX/include/hdf to the compiler flags, but it looks to me like it is a cleaner way to

#include "hdf/mfhdf.h"

instead of

#include "mfhdf.h"

I'm not sure if there is a history of HDF4 changing header location, or if this is pkgsrc-specific. Anyhow, I need the patch to be attached to build --with-hdf4.

Disclaimer: I don't actually _use_ HDF4 myself, I am just installing GDAL with HDF4 support on a system as requested by users.

Attachments (1)

patch-hdf4header (2.1 KB ) - added by thor 10 years ago.
Patch to change location of HDF4 headers

Download all attachments as: .zip

Change History (2)

by thor, 10 years ago

Attachment: patch-hdf4header added

Patch to change location of HDF4 headers

comment:1 by Even Rouault, 5 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.

Note: See TracTickets for help on using tickets.