[MacPorts] #57728: ncarg: CvtStringGenArrayToCmap unable to find rgb error

MacPorts noreply at macports.org
Thu Dec 6 02:20:17 UTC 2018


#57728: ncarg: CvtStringGenArrayToCmap unable to find rgb error
-----------------------------+----------------------
  Reporter:  lvankampenhout  |      Owner:  tenomoto
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  ncarg           |
-----------------------------+----------------------

Comment (by Dave-Allured):

 Here is another workaround, besides Conda.  Remarkably, you can manually
 compile and run `rgb.c` in standalone mode, and this will now generate
 correct versions of the two database files.  You can then replace the two
 bad files in your Macports install directory.

 Alternatively, you could bring in good versions of `rgb.dir` and `rgb.pag`
 from some other installed version of NCARG/NCL.  It appears that these
 binary files are identical in both Mac and Linux 64-bit installs.

 Bad versions from my recent local build identify like this:

 {{{
 > ls -go rgb*
 -rw-r--r--  1    4096 Nov 26 22:44 rgb.dir
 -rw-r--r--  1   26624 Nov 26 22:44 rgb.pag

 > md5 rgb*
 MD5 (rgb.dir) = aa0c7a1422062833952bbfba2afd38bc
 MD5 (rgb.pag) = 3da80327b34549c1ea22d5f6e83b3f41
 }}}

 Good versions identify like this:

 {{{
 > ls -go rgb*
 -rw-r--r--  1    4096 Dec  5 18:08 rgb.dir
 -rw-r--r--  1   16384 Dec  5 18:08 rgb.pag

 > md5 rgb*
 MD5 (rgb.dir) = 547694cc1d9a22fdff2f019c3cfdd796
 MD5 (rgb.pag) = bee91a15479082c09da4368f090792c1
 }}}

 The program `rgb.c` is only in the source distro, and not installed.  It
 must be linked with an NCARG internal library, libncarg_c.  Let me know if
 anyone wants stand-alone compile instructions, or working copies of the
 two database files.

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


More information about the macports-tickets mailing list