Package Details: ncl 6.6.2-5

Git Clone URL: https://aur.archlinux.org/ncl.git (read-only, click to copy)
Package Base: ncl
Description: Ncar Command Language, is an interpreted language designed specifically for scientific data analysis and visualization
Upstream URL: http://www.ncl.ucar.edu
Licenses: Apache-2.0
Provides: ncl
Submitter: Xavier
Maintainer: None
Last Packager: micwoj92
Votes: 17
Popularity: 0.000000
First Submitted: 2010-09-24 16:46 (UTC)
Last Updated: 2026-01-31 07:01 (UTC)

Pinned Comments

Xavier commented on 2017-08-27 03:23 (UTC) (edited on 2021-06-04 01:22 (UTC) by Xavier)

If everything went well in the build, it generates the binary /usr/bin/ncl, else rebuild (not use repositories) these packages: g2clib, triangle, udunits, hdf4 (>=4.2.14-4), and try again. For fresh install run 'source /etc/profile' or relogin.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

queenmedley commented on 2019-10-23 05:12 (UTC) (edited on 2019-10-23 06:57 (UTC) by queenmedley)

Compiling ncl does not generate "ncl" file. I found a error message related to nfp and proj.


cc -O2 -std=c99 -fPIC -fno-strict-aliasing -fopenmp -lnetcdf -O -I../../ncl -I../../../.././include -I/usr/include -I/usr/include/cairo -I/usr/include/curl -I/usr/include/X11 -I/usr/include/libpng14 -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -I/usr/include/udunits2 -I/usr/include/gdal -I/usr/include/rx -I/usr/include/Xm -I/opt/hdf4/include "-I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include" "-I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed" -DBuildUdunits -DBuildGDAL -DBuildEEMD -D_ISOC99_SOURCE -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -D_FORTIFY_SOURCE=2 -c -o TransformCoordinate.o TransformCoordinate.c
In file included from TransformCoordinate.c:2: /usr/include/proj_api.h:37:2: error:
#error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
37 | #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
| ^~~~~
make[5]: *** [<builtin>: TransformCoordinate.o] Error 1
make[5]: Leaving directory '/home/ryzen1/library/ncl/ncl/src/ncl-6.6.2/ni/src/lib/nfp'

gcc -O2 -std=c99 -fPIC -fno-strict-aliasing -fopenmp -lnetcdf -O -I../../.././include -I/usr/include -I/usr/include/cairo -I/usr/include/curl -I/usr/include/X11 -I/usr/include/libpng14 -I/usr/include/freetype2/freetype -I/usr/include/freetype2 -I/usr/include/udunits2 -I/usr/include/gdal -I/usr/include/rx -I/usr/include/Xm -I/opt/hdf4/include "-I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include" "-I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed" -DLinux -DMAJOR=5 -DBuildHDF4 -DBuildHDF5 -DBuildGRIB2 -D__64BIT__ -DBuildGDAL -DUSE_NETCDF4_FEATURES -D_ISOC99_SOURCE -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -D_FORTIFY_SOURCE=2 -c -o Ncl.o Ncl.c
make[4]: *** No rule to make target '../../.././ni/src/lib/nfp/libnfp.a', needed by 'ncl'. Stop.


ego commented on 2019-06-17 18:15 (UTC)

As lesstif is meanwhily practically unmaintained (see http://lesstif.sourceforge.net) and its use is discouraged, this package should switch to openmotif as a dependency instead of lesstif.

Xavier commented on 2018-11-05 18:29 (UTC) (edited on 2018-11-05 20:25 (UTC) by Xavier)

Hi guys!, sorry for the delay for the update, but the last version required several changes for fixes the build, please test it. It required the last version of hdf4 (4.2.14-4) updated today with some changes requires for ncl.

acegallagher commented on 2018-10-31 13:31 (UTC)

NCL 6.5.0 is now the most recent version of NCL. If I get a chance I'll try to update the package build to help out.

Also, I'm trying to get people to support each other and NCL in a Freenode IRC channel #ncl

Xavier commented on 2018-10-25 02:10 (UTC)

Hi @OverlixMax, after building the packages if there is not ncl executable is due to any problem in the build, I need some days to have a little free time for update the package and fixes the problems.

OvelixMax commented on 2018-10-24 21:22 (UTC)

I follow the @Maduvi suggestions, and do this steps: 1) I reinstalled hdf4, just checking that szlib is in the /usr/lib directory thanks to libaec package 2) I renamed the files /opt/hdf4/bin/ncdump y /opt/hdf4/bin/ncgen 3) Reinstalled hdf-eos-common 4) Reinstalled hdf-eos2 editing the PKGBUILD to use the /opt/hdf4/bin/h4cc 5) Reinstalled hdf-eos5 with the /usr/bin/h5cc (from community/hdf5) 6) Install ncl changing the dependency of hdf4-nonetcdf to hdf4.

Everything goes OK, but... at the end, there is no ncl executable. All other executable from the ncl package are there (ncl_filedump, ncl_convert2nc, etc...)

What I'm missing?

Maduvi commented on 2018-09-12 18:00 (UTC)

Due to updates in HDF libraries I ran into some trouble getting this to work. When reinstalling/rebuilding hdf4 remember enabling szlib, disabling netcdf and renaming the ncdump and ncgen binaries it creates (like hdf4-nonetcdf's PKGBUILD used to do). Then reinstall hdf-eos-common. Then hdf-eos2 using installed h4cc. I also used h4cc to compile hdf-eos5 because could not get it to work with h5cc for some reason. Then to compile ncl add options -lsz -ltirpc to definition of HDFlib in Site.local file. This changes the MD5SUM of this file. Also changed hdf4-nonetcdf for hdf4 as a dependency in PKGBUILD.

Xavier commented on 2018-05-24 14:22 (UTC)

Thanks for the report @OdinEidolon, fixed.

OdinEidolon commented on 2018-05-24 12:02 (UTC) (edited on 2018-05-24 12:02 (UTC) by OdinEidolon)

The file link is broken:

Download di ncl_ncarg-6.4.0.tar.gz in corso...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
==> ERRORE: Impossibile scaricare https://www.earthsystemgrid.org/download/fileDownload.html?logicalFileId=86b9bec2-fa01-11e6-a976-00c0f03d5b7c

Maybe one could use this? https://www.earthsystemgrid.org/dataset/ncl.640.src/file/ncl_ncarg-6.4.0.tar.gz