Package Details: ncl 6.6.2-2

Git Clone URL: (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:
Licenses: Apache
Provides: ncl
Submitter: Xavier
Maintainer: Xavier
Last Packager: Xavier
Votes: 17
Popularity: 0.000000
First Submitted: 2010-09-24 16:46 (UTC)
Last Updated: 2021-06-04 01:16 (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

1 2 3 4 5 6 7 Next › Last »

Xavier commented on 2021-06-04 01:21 (UTC)

Sorry for the delay with this package, I updated the links and made some build fixes but I couldn't test it 100% so I'm not sure if this builds fine (you know that if exists /usr/bin/ncl). I don't have much time to check it, any help/patches are welcome.

ram commented on 2021-06-03 10:11 (UTC)

build breaks with

curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading
:: Unable to build ncl - makepkg exited with code: 1

Polly commented on 2021-03-02 09:23 (UTC)

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 (UTC) (edited on 2019-10-28 15:27 (UTC) by queenmedley)

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 (UTC) (edited on 2019-10-28 15:16 (UTC) by queenmedley)

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?

Xavier commented on 2019-10-28 04:39 (UTC)

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 (UTC)

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

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.