Package Details: ncl 6.4.0-2

Git Clone URL: (read-only)
Package Base: ncl
Description: Ncar Command Language, is an interpreted language designed specifically for scientific data analysis and visualization
Upstream URL:
Licenses: custom:NCL Source Code License
Provides: ncl
Submitter: XavierCLL
Maintainer: XavierCLL
Last Packager: XavierCLL
Votes: 13
Popularity: 0.001796
First Submitted: 2010-09-24 16:46
Last Updated: 2018-01-31 02:20

Pinned Comments

XavierCLL commented on 2017-08-27 03:23

Is necessary before install or update ncl package, reinstall/rebuild these packages: g2clib, triangle, udunits, hdf4-nonetcdf, hdf-eos (2 and 5)

Latest Comments

XavierCLL commented on 2017-11-21 19:24

Hi @graziano, currently there's not "or" implementation in PKGBUILD for put these options in depends, there are other options like environment variable but is not good idea for options depends, the current option is edit the PKGBUILD before compile it, but I think that the better is choose the best depend package by default. What do you think about that, I only tested with lesstif, with openmotif compile and run fine? do you think that openmotif is better over lesstif?

graziano commented on 2017-11-21 15:29

Can we have an option to have lesstiff or openmotif? Both packages provide same interface and ncl compiles and works just fine also with openmotif.

acegallagher commented on 2017-11-01 22:28

Thanks for keeping this package up-to-date. It's super helpful.

XavierCLL commented on 2017-08-27 03:23

Is necessary before install or update ncl package, reinstall/rebuild these packages: g2clib, triangle, udunits, hdf4-nonetcdf, hdf-eos (2 and 5)

XavierCLL commented on 2017-08-27 03:19

Yes @sehnem, fixed, thanks for tell me the error

sehnem commented on 2017-08-27 02:19

Hi, the links from fedora are broken, apparently.


XavierCLL commented on 2016-05-28 15:41

Hi @werewolf,
I don't know if ncl can build in arm architecture, and I can't test on this. If you have some patches I can add it in pkgbuild

werewolf commented on 2016-05-27 18:03

Hi Xavier,
can you provide for ARM architecture. my computer is chromebook. I installed archlinxarm on it. I tried to compile and install NCL,but it's failed.
Thank you!

Enoid commented on 2015-11-14 11:14

Hi Xavier,
Sorry for not answering your questions in August. It worked at the time, so I just wanted to thank you for your hard work.

sundar_ima commented on 2015-10-15 16:33

You are correct. The link was down at the time of initial install. Tested again today and all went well. Thank you for taking pain to maintain this complex package.

XavierCLL commented on 2015-10-14 16:04

Hi Sundar, the link of ncl is correct, maybe the server of is in maintenance, try again in some minutes.

sundar_ima commented on 2015-10-14 15:47

Thank you Xavier. Well now all the dependency packages are installed with out an error. But the 'ncarg' package is not being downloaded. Right now I am installing it but struck while downloading. Here is the log of last few lines:-

==> Making package: ncl 6.3.0-2 (Wed 14 Oct 21:07:25 IST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading ncl_ncarg-6.3.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:07:29 --:--:-- 0^C

XavierCLL commented on 2015-10-13 22:41

Hi sundar_ima,
You are right, some packages not was updated after the migrate aur3 to aur4, then I adopted the hdf4-nonetcdf package and update it for supply dependencies for ncl
Try again

sundar_ima commented on 2015-10-13 15:00

Could not build. Throws following error.

error: target not found: hdf4-nonetcdf

XavierCLL commented on 2015-08-18 01:01

Hi @Enoid, fixed! thanks. Try again.

Enoid commented on 2015-08-17 21:04

==> Validating source files with md5sums...
ncl_ncarg-6.3.0.tar.gz ... Passed ... Passed
ncl.patch ... Passed
includes.patch ... Passed
ncl-libs.patch ... Passed
Site.local ... FAILED ... Passed
hluresfile ... Passed
ncl.install ... Passed
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build ncl.

I had to use this workaround
packer -G ncl
cd ncl
makepkg -g >> PKGBUILD
sudo pacman -U ncl-6.3.0-2-x86_64.pkg.tar.xz

Enoid commented on 2015-08-17 20:34

Hi Xavier,

The package fails the md5sum test :
==> Validating source files with md5sums...
ncl_ncarg-6.3.0.tar.gz ... Passed ... Passed
ncl.patch ... Passed
includes.patch ... Passed
ncl-libs.patch ... Passed
Site.local ... FAILED ... Passed
hluresfile ... Passed
ncl.install ... Passed
==> ERROR: One or more files did not pass the validity check
==> ERROR: Makepkg was unable to build ncl.

I had to use this workaround

XavierCLL commented on 2015-06-18 17:40

Thanks Julian, I tested and build/work fine.

Update dependencie from openmotif to lesstif

julian.carpenter commented on 2015-06-02 07:57

hey epsilom,
could we switch from openmotif to lesstif as dependency ?
both are providing the same tools but openmotif is not
used by any other software than ncl while lesstif is needed
for some programms. and of course they are in conflict.
i already built my ncl with lesstif instead of openmotif
and all went fine...there should be no problem at all.

thanks !

XavierCLL commented on 2015-03-19 06:20

updated to v6.3.0, please test.

julian.carpenter commented on 2014-09-12 10:06

the update fixed the problem ... thx !

julian.carpenter commented on 2014-08-13 10:26

thanks for the binary ...
e-mail with attached log file is in your mailbox

XavierCLL commented on 2014-08-11 04:42

Hi @iroha

Is strange, please send me the logs again, while use this:

julian.carpenter commented on 2014-08-10 10:41


after the update the ncl executable is missing again ! :/

XavierCLL commented on 2014-08-09 17:10

Fix build without Vis5d+ (now this is not necessary as dependency)

XavierCLL commented on 2014-03-03 23:38


for some people who have problem with ncl executable and while search the problem, here is the binary packages for x86_64:

julian.carpenter commented on 2014-03-02 20:01

i can confirm the missing 'ncl' executable on my machine.
i've recompiled in a log file but there's not much to it:

Makefile:699: recipe for target 'ncl' failed
make[4]: *** [ncl] Error 1

i've send you the log file!

XavierCLL commented on 2014-01-20 13:38

Hi @archuser2
if the build no provide the executable /usr/bin/ncl is because the compilation phase has errors. For me, the packages compile good, please donwload the files and compile manually the PKGBUILD but first edit the PKGBUILD change line:

make Build
make Build >> log 2>&1

search the log file in the source and send my the log file.

archuser2 commented on 2014-01-20 06:15

My recent (x86_64) builds of this package do not provide /usr/bin/ncl or place any "ncl" executable in the system path. Is this expected behaviour? How should one call ncl scripts without these?

nico666 commented on 2013-09-12 23:10

It works!

Thanks a lot

XavierCLL commented on 2013-09-12 20:00

yes, sorry, the file is corrupt, please try again.

nico666 commented on 2013-09-12 18:26

Thank you epsilon for the quick response.
Unfortunately, I don't know whether I am doing something wrong or the tar.gz file is corrupted:

ncl_ncarg-6.1.2/ni/src/examples/data/cdf/contour.cdf: truncated gzip input
bsdtar: Error exit delayed from previous errors.
==> ERROR: Failed to extract ncl_ncarg-6.1.2.tar.g

XavierCLL commented on 2013-09-12 17:42

thanks @nico666, fixed.

nico666 commented on 2013-09-12 14:31

Failure while downloading ncl_ncarg-6.1.2.tar.gz

Seems like the source is not working.

Thank you for maintaining this.

XavierCLL commented on 2013-01-29 21:13

6.1.0-4 (again):
- fix
- fixies depends and optdepends, (recommend to install ncl-highres)

XavierCLL commented on 2013-01-26 21:07

thanks, added for the next revision.

denn commented on 2013-01-26 19:58

Another small issue is that idt tool requires libxaw to build. Probably makes sense to add libxaw to package dependencies.

XavierCLL commented on 2013-01-26 06:34

Thanks @denn, 6.1.0-4:
- fix udunits name
- fix for ncl use udunits of system
- others little fixes

denn commented on 2013-01-25 09:28

It seems that udunits2 was renamed to udunits in AUR.

XavierCLL commented on 2012-11-27 19:30

-fix dependencies list
-adjust some build options for 6.1.0

XavierCLL commented on 2012-06-05 00:19

Hi @lijpbasin thanks, in the coming days I will update this package

lijpbasin commented on 2012-05-31 04:06

The patch file

diff -Naur ncl_ncarg-6.1.0-beta.orig/common/src/fontcap/yMakefile ncl_ncarg-6.1.0-beta/common/src/fontcap/yMakefile
--- ncl_ncarg-6.1.0-beta.orig/common/src/fontcap/yMakefile 2012-05-29 03:35:49.000000000 +0800
+++ ncl_ncarg-6.1.0-beta/common/src/fontcap/yMakefile 2012-05-31 10:44:43.004246702 +0800
@@ -43,7 +43,7 @@
# Rule for processing fontcaps

+.fc: $(FONTC)
@echo " Processing fontcap $@"
@$(FONTC) $< $@

diff -Naur ncl_ncarg-6.1.0-beta.orig/config/LINUX ncl_ncarg-6.1.0-beta/config/LINUX
--- ncl_ncarg-6.1.0-beta.orig/config/LINUX 2012-05-29 03:35:50.000000000 +0800
+++ ncl_ncarg-6.1.0-beta/config/LINUX 2012-05-31 10:51:14.667560316 +0800
@@ -22,7 +22,7 @@
#define FCompiler gfortran
#define CtoFLibraries -lgfortran -lm
#define CcOptions -ansi -fPIC
-#define FcOptions -fPIC -fno-second-underscore
+#define FcOptions -fPIC -fno-second-underscore -fno-range-check
#define XToolLibrary -lXt -lSM -lICE
#define BuildShared NO
#define XLibrary -lX11 -lXext
diff -Naur ncl_ncarg-6.1.0-beta.orig/ncarg2d/src/libncarg/ezmap/mapngb.c ncl_ncarg-6.1.0-beta/ncarg2d/src/libncarg/ezmap/mapngb.c
--- ncl_ncarg-6.1.0-beta.orig/ncarg2d/src/libncarg/ezmap/mapngb.c 2012-05-29 03:34:48.000000000 +0800
+++ ncl_ncarg-6.1.0-beta/ncarg2d/src/libncarg/ezmap/mapngb.c 2012-05-31 10:44:43.004246702 +0800
@@ -1,6 +1,7 @@
* C routines needed to read a PNG file.
+#define int_p_NULL (int*)NULL

#include <math.h>
#include <ncarg/c.h>
diff -Naur ncl_ncarg-6.1.0-beta.orig/ncarview/src/lib/libncarg_ras/hdf.c ncl_ncarg-6.1.0-beta/ncarview/src/lib/libncarg_ras/hdf.c
--- ncl_ncarg-6.1.0-beta.orig/ncarview/src/lib/libncarg_ras/hdf.c 2012-05-29 03:36:41.000000000 +0800
+++ ncl_ncarg-6.1.0-beta/ncarview/src/lib/libncarg_ras/hdf.c 2012-05-31 10:44:43.004246702 +0800
@@ -51,9 +51,9 @@
#include <fcntl.h>
#include <string.h>
#include <ncarg/c.h>
-#include <hdf/hdf.h>
-#include <hdf/df.h>
-#include <hdf/dfgr.h>
+#include <hdf.h>
+#include <df.h>
+#include <dfgr.h>
#include "ncarg_ras.h"
#include "hdfP.h"
#include "options.h"
diff -Naur ncl_ncarg-6.1.0-beta.orig/ni/src/ncl/FileSupport.c ncl_ncarg-6.1.0-beta/ni/src/ncl/FileSupport.c
--- ncl_ncarg-6.1.0-beta.orig/ni/src/ncl/FileSupport.c 2012-05-29 03:35:57.000000000 +0800
+++ ncl_ncarg-6.1.0-beta/ni/src/ncl/FileSupport.c 2012-05-31 10:47:30.557571599 +0800
@@ -38,7 +38,7 @@

#ifdef BuildHDF4
-#include <hdf/mfhdf.h>
+#include <mfhdf.h>

#ifdef BuildHDFEOS5
diff -Naur ncl_ncarg-6.1.0-beta.orig/ni/src/ncl/NclHDF.c ncl_ncarg-6.1.0-beta/ni/src/ncl/NclHDF.c
--- ncl_ncarg-6.1.0-beta.orig/ni/src/ncl/NclHDF.c 2012-05-29 03:35:57.000000000 +0800
+++ ncl_ncarg-6.1.0-beta/ni/src/ncl/NclHDF.c 2012-05-31 10:47:22.090905359 +0800
@@ -29,7 +29,7 @@
#include "defs.h"
-#include <hdf/mfhdf.h>
+#include <mfhdf.h>
#include "NclData.h"
#include "NclFileInterfaces.h"
#include <math.h>
diff -Naur ncl_ncarg-6.1.0-beta.orig/ni/src/ncl/NclHDFEOS.c ncl_ncarg-6.1.0-beta/ni/src/ncl/NclHDFEOS.c
--- ncl_ncarg-6.1.0-beta.orig/ni/src/ncl/NclHDFEOS.c 2012-05-29 03:35:57.000000000 +0800
+++ ncl_ncarg-6.1.0-beta/ni/src/ncl/NclHDFEOS.c 2012-05-31 10:47:08.507572709 +0800
@@ -28,7 +28,7 @@
#include "defs.h"
-#include <hdf/mfhdf.h>
+#include <mfhdf.h>
#include "NclDataDefs.h"
#include "NclFileInterfaces.h"
#include "NclData.h"
diff -Naur ncl_ncarg-6.1.0-beta.orig/ni/src/ncl/yMakefile ncl_ncarg-6.1.0-beta/ni/src/ncl/yMakefile
--- ncl_ncarg-6.1.0-beta.orig/ni/src/ncl/yMakefile 2012-05-29 03:35:57.000000000 +0800
+++ ncl_ncarg-6.1.0-beta/ni/src/ncl/yMakefile 2012-05-31 10:44:19.547581216 +0800
@@ -162,7 +162,7 @@
#elif defined(Darwin)
DODS_LIBS = -lnc-dap -ldap -ldapclient -lcurl -lxml2 -lpthread -lssl
#elif defined(linux)
-DODS_LIBS = -lnc-dap -ldap -ldapclient -lcurl -lrx -lxml2 -lpthread -lidn -ldl
+DODS_LIBS = -lcurl -lpthread
DODS_LIBS = -lnc-dap -ldap -ldapclient -lcurl -lrx -lxml2 -lpthread -lssl

lijpbasin commented on 2012-05-31 04:05

Hi, ncl-6.1.0-beta is released, I guess the package would not update until there is no '-beta' in the release name, but I do compiled it using the source code here with some additional modifications to make it pass.
Hope this would be of help to the next version of the package

Here's the changes:
Added -fno-range-check to gfortran compile flags (reflected in the patch file)
Adjusted some line numbers in the patch file, where the mfhdf.h was
Add openmotif to the makedepends as there were Xm/Xm.h ... warnings in make logs (don't know if the compilation to be incomplete without openmotif)
I also tried to add gcc include path in Site.local, but strangely all 'x86_64-unknown-linux-gnu' turned into '1-unknown-1-gnu' when make is done, haven't solved it, but it's not crucial

XavierCLL commented on 2012-05-15 19:32

Hi @lijpbasin, this is right, but you can do too overwrite variable thus: export NCARG_USRRESFILE=~/.hluresfile
and save this line, if you want, in ~/.basrc

lijpbasin commented on 2012-05-15 13:52

Add something like
to your shell's rc file to use the ~/.hluresfile which can be modified more easily

lijpbasin commented on 2012-05-15 13:50

Add something like
to your shell's rc file if edit the user resource file is needed

XavierCLL commented on 2011-08-22 05:17

Hi guys,

I make a repository of my packages, this is easier than compile :)

Server =

XavierCLL commented on 2011-05-23 04:54

add 'g2clib' 'gdal' to makedepends for compile complete

XavierCLL commented on 2010-11-18 17:27

fix for support cairo and png and some changes in hdf-eos 2 y 5.

now you can png export (i.e wks = gsn_open_wks(png,"plt_Precip") )

dsadcsadsadacasd commented on 2010-11-14 10:10

Really usefull, thanks!

XavierCLL commented on 2010-10-18 23:48

fix compile, dependencies and install, now work fine!!