Re: NCL on Cygwin: PCFFHL -- Invalid fontcap encoding encountered

From: Ruping Mo <rupingmo_at_nyahnyahspammersnyahnyah>
Date: Tue Jun 03 2014 - 22:54:11 MDT

Hi Mary,

I installed Cygwin using setup-x86.exe (32-bit installation). The Cygwin
DLL is 1.7.29.

The output from "ng4ex xy01n -W pdf -clean" is as below:
--------------------------------------------------------------------------------
</home/mor/test/xy01n> ng4ex xy01n -W pdf -clean

NCAR Graphics NCL Example <xy01n>

  Copying xy01n.ncl
  Copying xy01.res

Running NCL...
 Copyright (C) 1995-2014 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 6.2.0
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.

Finished running 'ncl < xy01n'...

    Example xy01n produced a cairo PDF file.
    PDF file is named xy01n.pdf.
-----------------------------------------------------------------------------------------

It tried but failed to open an X11 window, and it created a pdf file:
xy01n.pdf, which is empty and cannot be opened by Adube Reader.

The output from "ncargex agex01 -clean" is as below:
---------------------------------------------------------------------------
</home/mor/test/agex01> ncargex agex01 -clean

NCAR Graphics Fortran Example <agex01>

  Copying agex01.f

Compiling and linking...
gfortran -O -o agex01 agex01.f -L/home/mor/local/tools/ncl/lib -lncarg
-lncarg_gks -lncarg_c -lXpm -lX11 -lXext -lcairo -lfontconfig -lfreetype

Executing <agex01>...

Metafile file is named agex01.ncgm.

nameexe: Undefined variable.
------------------------------------------------------------------------------

It created three files: agex01.exe, agex01.f, and agex01.ncgm; nothing else.

"env | grep NCARG" reported:
------------------------------------------------------------------------
NCARG_COLORMAPS=/home/mor/local/tools/ncl/lib/ncarg/colormaps
NCARG_ROOT=/home/mor/local/tools/ncl
------------------------------------------------------------------------

"which ncl" reported:
-----------------------------------------------------------------
/home/mor/local/tools/ncl/bin/ncl
-----------------------------------------------------------------

"ncl -V" reported: 6.2.0

I have used NCL on Cygwin since 2009. This is the first time I couldn't get
it working.

Thank you for your help.

Ruping

On Tue, Jun 3, 2014 at 7:16 AM, Mary Haley <haley@ucar.edu> wrote:

> Ruping,
>
> I'm at a loss to say what is going on here. I've never seen this error
> before. If this were an issue with 32-bit versus 64-bit, you would likely
> see a different kind of error, like NCL just exiting suddenly with no
> errors or warnings.
>
> Which setup file did you run when you installed Cygwin? Did you get any
> other errors?
>
> What happens if you type:
>
> ng4ex xy01n -W pdf -clean
>
> and then
>
> ncargex agex01 -clean
>
> ?
>
> Finally, what does the following report:
>
> env | grep NCARG
> which ncl
> ncl -V
>
>
> --Mary
>
>
>
> On Jun 1, 2014, at 11:37 PM, Ruping Mo <rupingmo@gmail.com> wrote:
>
> > I installed the latest 32-bit Cygwin on my 64-bit new computer, and then
> downloaded the precompiled binary of NCL 6.2.0 for Cygwin. When I tried to
> run the basic test with "ng4ex gsun01n -clean", I got the following error
> message:
> > ...
> > PCFFHL -- Invalid fontcap encoding encountered.
> > ...
> >
> > The NCL 6.1.x doesn't has this problem.
> >
> > It seems like a problem associated with C or Fortran library. Could you
> tell me how to overcome it?
> >
> > Ruping Mo
> > _______________________________________________
> > ncl-talk mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jun 03 22:54:23 2014

This archive was generated by hypermail 2.1.8 : Sat Jun 07 2014 - 11:03:12 MDT