[ncl-install] Fedora 10

Orion Poplawski orion at cora.nwra.com
Tue May 19 09:46:28 MDT 2009


On 05/19/2009 07:48 AM, Mary Haley wrote:
>
> I have no familiarity with the NCL/RPM package, but it looks
> like NCARG_ROORT and/or NCARG_LIB are not being set correctly.
>
> First, NCARG_ROOT root should be set to the parent directory of where
> NCL/NCAR Graphics was installed. For example, if the
> software was installed to /usr/local/lib, /usr/local/include,
> and /usr/local/bin, then NCARG_ROOT should be set to /usr/local.

Binaries are in /usr/bin, so NCARG_ROOT=/usr

> Second, NCARG_LIB should *not* be set, unless the NCL/NCAR Graphics
> libraries were installed to some location other than $NCARG_ROOT/lib.

Libraries (lib*.a) are in /usr/lib/ncarg or /usr/lib64/ncarg, hence 
NCARG_LIB=/usr/lib/ncarg (or /usr/lib64/ncarg).

> If this is the case, then instead of setting NCARG_LIB to
> /usr/share/ncarg, set NCARG_NCARG to this directory, and don't set
> NCARG_LIB:
>
> NCARG_ROOT=/usr
> NCARG_NCARG=/usr/share/ncarg

Thanks.  Forgot to do this when I moved the data files to /usr/share/ncarg.

I think I can reproduce the segfault.  Looks like the fontcap files 
generated during the build have their endian-ness reversed from the 
fontcap files in the Linux i686 binary package.  Any idea what would be 
causing that?

# od -a /usr/share/ncarg/fontcaps/font1 | head
0000000 nul nul nul  sp nul nul nul   ~ nul nul nul esc nul nul nul nul
0000020 nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul

# od -a /data/sw1/pkg/ncl_ncarg-5.1.0/lib/ncarg/fontcaps/font1 |  head
0000000  sp nul nul nul   ~ nul nul nul esc nul nul nul nul nul nul nul
0000020 nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the ncl-install mailing list