Re: NCL building on CentOS 5.5, fontc and graphc not found

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Mar 10 2011 - 09:23:53 MST

Dmitry,

The "graphc" and "fontc" programs are in the ./common/src/graphcap and ./common/src/fontcap directories.

If you look at your "make-output" file and search for:

Making ./common/src/graphcap
Making ./common/src/fontcap

you will see where these programs are being compiled. In particular, look for "-o graphc " or "-o fontc " to see if there are any errors immediately following this step.

You are building an older version of NCL (5.1.1). You might have better luck if you try to build the V5.2.1 or 6.0.0-beta source code.

--Mary

On Mar 10, 2011, at 2:24 AM, Dmitry Vinokurov wrote:

> Hi!
>
> I'm trying to build NCL on CentOS 5.5 x86_64 with gcc 4.4 using SRPM from EPEL repo. When I build it with gcc 4.1 - everything is fine, I get RPM packages. But when I try to build with gcc 4.4 - I get errors:
> ----
> ...
> /bin/sh: ../../.././common/src/graphcap/graphc: No such file or directory
> ...
> /bin/sh: ../../.././common/src/graphcap/fontc: No such file or directory
> ...
> ----
> and similar (missing only 'fontc' and 'graphc'). At first time 'ncl' file was missing too, but I fixed it - problem was in messed up 4.1 and 4.4 compilers for C and fortran. Now as far as I see from build log, only gcc44 and gfortran44 are used, so I don't know what's the matter. Another problem - I can't figure out from log, where 'fontc' and 'graphc' are built.
>
> Also I get many errors (I think it is connected with missing 'graphc' and 'fontc') like these (missing many files in 'fontcaps' and 'graphcaps' dirs):
> ----
> /bin/chmod: cannot access `/var/tmp/ncl-5.1.1-3.c5-root-user/usr/share/ncarg/fontcaps/font1': No such file or directory
> /bin/chmod: cannot access `/var/tmp/ncl-5.1.1-3.c5-root-user/usr/share/ncarg/graphcaps/adm5': No such file or directory
> ---
>
> Could anybody suggest, how to fix this errors or how to localize source of the errors?
>
> --
> Best regards,
> Dmitry Vinokurov
> +7 905 862 17 11
> skype: d.a.vinokurov
> <df6.626@gmail.com>
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Thu Mar 10 09:24:00 2011

This archive was generated by hypermail 2.1.8 : Thu Mar 10 2011 - 21:49:15 MST