Package Details: ncview 2.1.11-1

Git Clone URL: https://aur.archlinux.org/ncview.git (read-only, click to copy)
Package Base: ncview
Description: A visual browser for netCDF format files
Upstream URL: https://cirrus.ucsd.edu/ncview/
Licenses: GPL3
Submitter: graziano
Maintainer: dawie
Last Packager: dawie
Votes: 17
Popularity: 0.007552
First Submitted: 2006-11-23 14:33 (UTC)
Last Updated: 2025-01-24 10:45 (UTC)

Latest Comments

1 2 3 Next › Last »

mo0zi commented on 2025-09-14 14:47 (UTC)

Hi

yay -S ncview
...
==> Making package: ncview 2.1.11-1 (Sun 14 Sep 2025 04:45:55 PM CEST)
...
interface/x_interface.c: In function ‘x_initialize’:
interface/x_interface.c:643:9: error: too many arguments to function ‘check_app_res’; expected 0, have 1
  643 |         check_app_res( &app_data );
      |         ^~~~~~~~~~~~~  ~~~~~~~~~
interface/x_interface.c:614:19: note: declared here
  614 |         void      check_app_res();
      |                   ^~~~~~~~~~~~~
interface/x_interface.c: At top level:
interface/x_interface.c:2920:6: error: conflicting types for ‘check_app_res’; have ‘void(struct <anonymous> *)’
 2920 | void check_app_res( AppDataPtr ad )
      |      ^~~~~~~~~~~~~
interface/x_interface.c:614:19: note: previous declaration of ‘check_app_res’ with type ‘void(void)’
  614 |         void      check_app_res();
      |                   ^~~~~~~~~~~~~
interface/x_interface.c:3470:6: error: conflicting types for ‘expose_ccontour’; have ‘void(struct _WidgetRec *, void *, XExposeEvent *, Boolean *)’ {aka ‘void(struct _WidgetRec *, void *, XExposeEvent *, char *)’}
 3470 | void expose_ccontour( Widget w, XtPointer client_data, XExposeEvent *event, Boolean *continue_to_dispatch )
      |      ^~~~~~~~~~~~~~~
interface/x_interface.c:439:9: note: previous declaration of ‘expose_ccontour’ with type ‘void(void)’
  439 | void    expose_ccontour();
      |         ^~~~~~~~~~~~~~~
interface/x_interface.c:3484:6: error: conflicting types for ‘expose_colorbar’; have ‘void(struct _WidgetRec *, void *, XExposeEvent *, Boolean *)’ {aka ‘void(struct _WidgetRec *, void *, XExposeEvent *, char *)’}
 3484 | void expose_colorbar( Widget w, XtPointer client_data, XExposeEvent *event, Boolean *continue_to_dispatch )
      |      ^~~~~~~~~~~~~~~
interface/x_interface.c:440:9: note: previous declaration of ‘expose_colorbar’ with type ‘void(void)’
  440 | void    expose_colorbar();
      |         ^~~~~~~~~~~~~~~

Thanks a lot for help

lmingari commented on 2025-02-24 18:10 (UTC)

I was finally able to solve it by setting:

Ncview*font: fixed

in /usr/share/X11/app-defaults/Ncview. The font can be any of those listed by the xlsfonts command.

frepa commented on 2025-02-24 10:50 (UTC)

I got the same font error as Living. I have the package xorg-fonts-misc. What worked for me was editing /usr/share/X11/app-defaults/Ncview, and changing the line Ncview*font: -*-lucida-bold-r-*-*-14-*-*-*-*-*-*-* to Ncview*font: -*-*-bold-r-*-*-14-*-*-*-*-*-*-* I don't know which font it picks up, but it's usable.

lmingari commented on 2025-02-20 09:49 (UTC) (edited on 2025-02-20 09:52 (UTC) by lmingari)

After a recent update it no longer works. Tested in wayland+hyprland. This update required two new dependencies

  • xorg-fonts-alias-misc
  • xorg-fonts-misc

And ncview aborts with message:

Error: Aborting: no font found

dbuhl8 commented on 2025-01-31 21:05 (UTC)

I've been using ncview for a while successfully, today after updating I could no longer use it. I checked my pacman logs and saw only a few packages update (gstreamer, gst-plugin-base-libs, gst-plugin-bad-libs, gst-plugin-bad, gst-plugin-base, gst-plugin-good). I tried running ncview from a cluster (via X11 forwarding) and it also didn't work.

The error I'm getting is the exact message that Living's post shows. I already have xorg-fonts-misc installed. I'm using wayland/hyrpland. I found a similar post (https://forum.endeavouros.com/t/ncview-missing-fonts-in-wayland/63258) which seems to be unanswered.

huziy commented on 2021-11-22 13:32 (UTC)

I installed and ran ncview (2.1.8-1) ok, and got the warning about FontStruct, but the interface was in some weird language... Installing xorg-fonts-misc fixed my problem as well, although I still get the warning, the interface fonts are ok now. Thanks @OdinEidolon for sharing your fix.

japhir commented on 2021-02-23 16:02 (UTC)

It fails to build for me!

./configure: 5874: Bad substitution
==> ERROR: A failure occurred in build().
    Aborting...
:: Packages failed to build: ncview-2.1.8-1

OdinEidolon commented on 2020-06-11 08:08 (UTC) (edited on 2020-06-11 08:10 (UTC) by OdinEidolon)

Installing xorg-fonts-misc fixes the fonts problem reported by user Living, please add as dependency.

PS: thank you GG for the package ;)

OdinEidolon commented on 2019-02-07 14:18 (UTC)

Getting: ncview: error while loading shared libraries: libpnetcdf.so.2: cannot open shared object file: No such file or directory Linking libpnetcdf.so.3 to .2 works, but it's not really a neat solution.

Living commented on 2018-10-19 10:45 (UTC) (edited on 2018-10-19 10:46 (UTC) by Living)

Compilation and installation work smoothly. When I try ncview my_file.nc, I get the following error. Are there any further font packages that ncview needs?

Warning: Cannot convert string "-*-helvetica-*-r-*-*-14-*-*-*-*-*-*-*" to type FontStruct
Warning: Unable to load any usable ISO8859 font
Warning: Unable to load any usable ISO8859 font
Error: Aborting: no font found