Franco,
I have figured it out. It is a perl script that is from CPC which
produces the description file for grib2 data.
I just copy it to /usr/local/bin/
and it works.
Thanks
Tao
/Users/tzhang/Disk/CPC> g2ctl pgb.202111.2_5 > aaa.ctl
/Users/tzhang/Disk/CPC> which g2ctl
Sorry, I’m not familiar with that.
port contents wgrib2
will show what have been installed by wgrib2
Ciao
Franco
> On 18 May 2022, at 18:53, Tao Zhang wrote:
>
> Hi Franco,
>
> wgrib2 has been installed. I have also re-activate libunwind-headers
> following your comments.
> gribmap
Hi Franco,
wgrib2 has been installed. I have also re-activate libunwind-headers
following your comments.
gribmap is available, but I can not find "g2ctl" command,
see below and https://www.cpc.ncep.noaa.gov/products/wesley/g2ctl.html
Should I install "g2ctl" as well?
Thanks
Tao
Try
sudo port activate libunwind-headers
Ciao
Franco
> On 18 May 2022, at 17:31, Tao Zhang wrote:
>
> Hi,
>
> When I install wgrib2 into my Macbook pro (10.14.6), I get the following
> error.
> Does anyone have the same issue? What causes this issue?
> How to fix this it?
>
>
Franco,
Thanks for your quick response. It seems that it is a common issue. I
have used the following command
to deactivate libunwind-headers. "gcc10" is building now.
My question is how to reactivate libunwind-headers?
Thanks
Tao
/Users/tzhang> sudo port -f deactivate
When I saw this error I just followed the instructions given in the error
message and did
sudo port -f deactivate libunwind-headers
and retried the installation, and it worked. I think I reactivated
libunwind-headers after installing gcc10
Ciao
Franco
> On 18 May 2022, at 17:31, Tao Zhang
Hi,
When I install wgrib2 into my Macbook pro (10.14.6), I get the
following error.
Does anyone have the same issue? What causes this issue?
How to fix this it?
Thanks
Tao
---> Attempting to fetch gcc10-10.2.0_4.darwin_18.x86_64.tbz2 from