Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311237 - sci-libs/hdf-4.2_p4: /usr/include/mfhdf.h:27:20: error: netcdf.h: No such file or directory with USE="netcdf"
Summary: sci-libs/hdf-4.2_p4: /usr/include/mfhdf.h:27:20: error: netcdf.h: No such fil...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 311231
  Show dependency tree
 
Reported: 2010-03-24 21:36 UTC by Kacper Kowalik (Xarthisius) (RETIRED)
Modified: 2010-03-26 15:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fixing headers (hdf-4.2_p4.diff,598 bytes, patch)
2010-03-24 21:37 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-03-24 21:36:34 UTC
USE="netcdf" in sci-libs/hdf is used to avoid conficts with sci-libs/netcdf.

In the process 'netcdf.h' is renamed to 'netcdf-hdf.h' 
However no corresponding changes are made to files that actually include this header, i.e. /usr/include/mfhdf.h and /usr/include/local_nc.h

As result you get:
/usr/include/mfhdf.h:27:20: error: netcdf.h: No such file or directory
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-03-24 21:37:50 UTC
Created attachment 225155 [details, diff]
fixing headers
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2010-03-26 15:43:34 UTC
Fixed in CVS. Thanks!