wgrib2 installation error
Tao Zhang
tao.zhang at colorado.edu
Wed May 18 17:35:23 UTC 2022
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
/usr/local/bin/g2ctl
On 5/18/22 11:16 AM, Franco Vaccari wrote:
> 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 <tao.zhang at colorado.edu> wrote:
>>
>> 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
>>
>>
>> MacBook-Pro:~ 40;which g2ctl
>> g2ctl: Command not found.
>> MacBook-Pro:~ 41;which wgrib2
>> /opt/local/bin/wgrib2
>>
>>
>> On 5/18/22 9:43 AM, Franco Vaccari wrote:
>>> Try
>>>
>>> sudo port activate libunwind-headers
>>>
>>> Ciao
>>>
>>> Franco
>>>
>>>> On 18 May 2022, at 17:31, Tao Zhang <tao.zhang at colorado.edu> 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?
>>>>
>>>> Thanks
>>>> Tao
>>>>
>>>>
>>>> ---> Attempting to fetch gcc10-10.2.0_4.darwin_18.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/gcc10
>>>> ---> Attempting to fetch gcc10-10.2.0_4.darwin_18.x86_64.tbz2 from https://mse.uk.packages.macports.org/gcc10
>>>> ---> Fetching distfiles for gcc10
>>>> ---> Attempting to fetch gcc-10.2.0.tar.xz from https://bigsearcher.com/mirrors/gcc/snapshots/10.2.0/
>>>> ---> Attempting to fetch gcc-10.2.0.tar.xz from https://distfiles.macports.org/gcc10
>>>> ---> Attempting to fetch gcc-10.2.0.tar.xz from https://mirrors.kernel.org/gnu/gcc/gcc-10.2.0/
>>>> ---> Attempting to fetch gcc-10.2.0.tar.xz from https://ywg.ca.distfiles.macports.org/mirror/macports/distfiles/gcc10
>>>> ---> Attempting to fetch gcc-10.2.0.tar.xz from http://mirrors.ibiblio.org/gnu/ftp/gnu/gcc/gcc-10.2.0
>>>> ---> Attempting to fetch gcc-10.2.0.tar.xz from https://mirror.its.dal.ca/gnu/gcc/gcc-10.2.0/
>>>> ---> Attempting to fetch gcc-10.2.0.tar.xz from ftp://gcc.gnu.org/pub/gcc/releases/gcc-10.2.0/
>>>> ---> Verifying checksums for gcc10
>>>> ---> Extracting gcc10
>>>> ---> Applying patches to gcc10
>>>> ---> Configuring gcc10
>>>> Error: gcc10 cannot be built while libunwind-headers is active.
>>>> Error: Please forcibly deactivate libunwind-headers, e.g. by running:
>>>> Error:
>>>> Error: sudo port -f deactivate libunwind-headers
>>>> Error:
>>>> Error: Then try again. You can reactivate libunwind-headers again later.
>>>> Error: Failed to configure gcc10: libunwind-headers is active
>>>> Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/main.log for details.
>>>> Error: Follow https://guide.macports.org/#project.tickets to report a bug.
>>>> Error: Processing of port wgrib2 failed
>>>>
>>>>
More information about the macports-users
mailing list