Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 311237

Summary: sci-libs/hdf-4.2_p4: /usr/include/mfhdf.h:27:20: error: netcdf.h: No such file or directory with USE="netcdf"
Product: Gentoo Linux Reporter: Kacper Kowalik (Xarthisius) (RETIRED) <xarthisius>
Component: New packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 311231    
Attachments: fixing headers

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!