Package Details: ncl 6.6.2-1

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
Provides: ncl
Submitter: XavierCLL
Maintainer: XavierCLL
Last Packager: XavierCLL
Votes: 16
Popularity: 0.000061
First Submitted: 2010-09-24 16:46
Last Updated: 2019-06-03 21:15

Required by (4)

Sources (11)

Pinned Comments

XavierCLL commented on 2017-08-27 03:23

Is necessary before install or update the ncl package, reinstall/rebuild these packages: g2clib, triangle, udunits, hdf4 (>=4.2.14-4). If everything went well in the build, it generates the binary /usr/bin/ncl. For fresh install run 'source /etc/profile' or relogin.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Polly commented on 2021-03-02 09:23

The fedora resources have moved from branches "master" to "main". The URLs in the PKGBUILD need to be adapted accordingly. The versions and checksums of the patches stay the same.

queenmedley commented on 2019-10-28 15:21

During compiling, there are many warning or error message related to some header file missing, stddef.h, limits.h, stdarg.h.
It's solved by adding options to "#define IncSearch" in "Site.local"

"-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"

queenmedley commented on 2019-10-28 15:01

I tested like that
1. go to ....../src/ncl-6.6.2/ni/src/lib/nfp
2. Add option "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" to CFLAGS in Makefile.
3. do "make"
=> I could find the libnfp.a.

Problem is that when makepkg, there is not Makefile in /src/ncl-6.6.2/ni/src/lib/nfp.
I tried the sed command under ".config/ymkmf" in PKGBUILD,

"sed '/^CFLAGS/ s/$/ "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"/' ni/src/lib/nfp/Makefile"

but it failed.

"sed: can't read ni/src/lib/nfp/Makefile: No such file or director"

I think Makefile is made during compiling..
I don't know how to fix PKGBUILD. I am not good at coding.
Any idea?

XavierCLL commented on 2019-10-28 04:39

Hi guys, I will inspect the problem, (while) if someone wants to be a co-maintainer to help find these problems pl tell me

bakamotokatas commented on 2019-10-23 21:30

My compilation also doesn't generate ncl file. I am getting same error, as queenmedley mentioned.

queenmedley commented on 2019-10-23 05:12

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

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.

XavierCLL commented on 2018-11-05 18:29

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

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

XavierCLL commented on 2018-10-25 02:10

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.