Public bug reported:
ncl was added to Ubuntu repository in 14.04. Previously to run ncl you need to
install the binary from the ncl website.
As can be seen in http://www.ncl.ucar.edu/Download/install.shtml . This program
use an explicit PATH $NCARG_ROOT for all its own files and example of scripts
to be used with ncl. Even running ncl own example (in ncl website) of testing
whether ncl is running properly 'ng4ex gsun01n -clean' will gives you error. In
binary installation there will be 3 folders inside $NCARG_ROOT, which is
$NCARG_ROOT/lib/ncarg $NCARG_ROOT/bin and $NCARG_ROOT/include/ncarg. Using
installation through apt-get, I determine the folders which will contain the
ncl files are /usr/share/ncarg /usr/bin and /usr/include/ncarg. You see here I
believe $NCARG_ROOT will be /usr, but the thing is there is no /usr/lib/ncarg
because it is actually /usr/share/ncarg. By making a soft link inside /usr/lib,
/usr/lib/ncarg -> /usr/share/ncarg, it fixes this bug. And when you run 'ng4ex
gsun01n -clean' now it will run properly. I hope this bug can be fixed for
Ubuntu 14.04 and future releases.
Ubuntu 14.04 LTS
ncl-ncarg:
Installed: 6.1.2-7
Candidate: 6.1.2-7
Version table:
*** 6.1.2-7 0
500 http://my.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
100 /var/lib/dpkg/status
Summary:
What I expect to happen: ncl can be used
What happened instead: ncl cannot be used
Why cannot be used: in Ubuntu 14.04, ncl tries to reach /usr/lib/ncarg which
does not exist and actually is at /usr/share/ncarg
Temporary fix: make a soft link of /usr/lib/ncarg -> /usr/share/ncarg .
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ncl-ncarg 6.1.2-7
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
Uname: Linux 3.13.0-29-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Jun 13 16:58:18 2014
InstallationDate: Installed on 2014-04-18 (56 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: ncl
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: ncl (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329691
Title:
This program uses explicit PATH
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ncl/+bug/1329691/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs