Opened 7 years ago

Closed 6 years ago

#56006 closed defect (worksforme)

wgrib2 @2.0.7: fatal error: 'grib2.h' file not found

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: wgrib2

Description

wgrib2 fails to build, at least on the 10.13 buildbot worker:

https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/20955/steps/install-port/logs/stdio

/usr/bin/clang -c -DGFORTRAN -I/opt/local/include/gctpc -I/opt/local/lib/libaec/include -DJAS_VERSION_MAJOR=2 -I/opt/local/include -Os -arch x86_64  GDT.c
GDT.c:10:10: fatal error: 'grib2.h' file not found
#include "grib2.h"
         ^~~~~~~~~
1 error generated.

Change History (1)

comment:1 Changed 6 years ago by tenomoto (Takeshi Enomoto)

Resolution: worksforme
Status: newclosed

The builds succeed on Sierra and High Sierra without previous installation of wgrib i.e. no grib2.h in $prefix/local/include.

Note: See TracTickets for help on using tickets.