[MacPorts] #68727: grads @2.2.1: error: too few arguments to function call, expected 3, have 2

MacPorts noreply at macports.org
Sun Nov 19 17:01:03 UTC 2023


#68727: grads @2.2.1: error: too few arguments to function call, expected 3, have 2
-----------------------+----------------------
  Reporter:  musaidpp  |      Owner:  tenomoto
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.1
Resolution:            |   Keywords:  sonoma
      Port:  grads     |
-----------------------+----------------------

Comment (by musaidpp):

 Thank you, Dave, for your response. Unfortunately, I couldn't find a
 solution at the ​https://github.com/j-m-adams/GrADS/issues/10 since
 MacPorts doesn't have a version other than hdf5 @1.14.3 (science). Despite
 installing HDF5 version 1.10 and specifying the path in ~/.zshrc, it seems
 that MacPorts isn't recognizing it. Any insights or suggestions to resolve
 this would be highly appreciated.

 I've tried several other approaches, but encountered errors at every step.
 When using brew install grads, the libraries were compatible with arm64
 but required for x86_64.

 While attempting to build from the source code at
 https://github.com/j-m-adams/GrADS/, I encountered the following error:

 gauser.c:8034:11: error: call to undeclared function 'history_list'; ISO
 C99 and later do not support implicit function declarations [-Wimplicit-
 function-declaration]
   his_cmd = history_list();
           ^
 gauser.c:8034:11: note: did you mean 'history_get'?

 I'm relatively new to macOS, and any help with installing GrADS on the
 Sonoma version would be greatly appreciated. GrADS would significantly
 simplify my tasks. Thanks in advance.

-- 
Ticket URL: <https://trac.macports.org/ticket/68727#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list