Package Details: gwyddion 2.61-1

Git Clone URL: (read-only, click to copy)
Package Base: gwyddion
Description: A data visualization and processing tool for scanning probe miscroscopy (SPM, i.e. AFM, STM, MFM, SNOM/NSOM, ...) and profilometry, useful also for general image and 2D data analysis
Upstream URL:
Licenses: GPL
Submitter: sirocco
Maintainer: sirocco
Last Packager: sirocco
Votes: 27
Popularity: 0.159889
First Submitted: 2008-11-30 12:29 (UTC)
Last Updated: 2022-05-08 06:25 (UTC)

Dependencies (18)

Required by (1)

Sources (1)

Latest Comments

mmg commented on 2022-06-18 19:00 (UTC)

@cge That was the issue in my case. Thank you.

cge commented on 2022-04-12 04:26 (UTC) (edited on 2022-05-08 16:19 (UTC) by cge)

The problem with Gwyddion::dump.3pm is likely that while Gwyddion checks for pod2man, if it isn't available, it seems that it tries to use it anyway. pod2man is in /usr/bin/core_perl, so if that isn't in your path, it will cause this error.

I should clarify here that this can be a problem even if the perl package is installed, if /usr/bin/core_perl isn't in the path.

Tio commented on 2022-02-02 12:11 (UTC) (edited on 2022-02-02 12:11 (UTC) by Tio)

Yes a lot of space in tmpfs.

sirocco commented on 2022-01-30 11:15 (UTC)

free space in tmpfs

Tio commented on 2022-01-30 10:50 (UTC)

Do you mean the free space on my machine? It is plenty of.

sirocco commented on 2022-01-30 06:06 (UTC)


It would be nice to check the free space.

Tio commented on 2022-01-29 12:41 (UTC)

I get this error:

make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/var/tmp/pamac-build-tio/gwyddion/pkg/gwyddion/usr/share/icons/hicolor/48x48/apps'
 /usr/bin/install -c -m 644 gwyddion.png '/var/tmp/pamac-build-tio/gwyddion/pkg/gwyddion/usr/share/icons/hicolor/48x48/apps'
 /usr/bin/mkdir -p '/var/tmp/pamac-build-tio/gwyddion/pkg/gwyddion/usr/share/gwyddion/pixmaps'
 /usr/bin/install -c -m 644 gwy_3d_base-24.png gwy_arithmetic-24.png gwy_binning-24.png gwy_bold-20.png gwy_cantilever-24.png gwy_color_range-24.png gwy_color_range_adaptive-24.png gwy_color_range_auto-24.png gwy_color_range_fixed-24.png gwy_color_range_full-24.png gwy_convolution-24.png gwy_convolve-24.png gwy_correct_affine-24.png gwy_correlation_mask-24.png gwy_correlation_length-24.png gwy_crop-24.png gwy_cross_profile-24.png gwy_curvature-24.png gwy_cwt-24.png gwy_data_measure-24.png gwy_deconvolve-24.png gwy_disconnected-24.png gwy_distance-24.png gwy_distance_transform-24.png gwy_distribution_angle-24.png gwy_distribution_slope-24.png gwy_dwt-24.png gwy_edge-24.png gwy_enforce_distribution-24.png gwy_entropy-24.png gwy_extend-24.png gwy_extract_path-24.png gwy_facet_analysis-24.png gwy_facet_measure-24.png gwy_facet_level-24.png gwy_favourite-24.png gwy_fft-24.png gwy_fft_2d-24.png gwy_fft_filter_1d-24.png gwy_fft_filter_2d-24.png '/var/tmp/pamac-build-tio/gwyddion/pkg/gwyddion/usr/share/gwyddion/pixmaps'
 /usr/bin/install -c -m 644 gwy_filter-24.png gwy_find_peaks-24.png gwy_fit_shape-24.png gwy_fix_zero-24.png gwy_flip_diagonally-24.png gwy_flip_horizontally-24.png gwy_flip_vertically-24.png gwy_fractal-24.png gwy_fractal_measure-24.png gwy_fractal_correction-24.png gwy_frequency_split-24.png gwy_gl_material-16.png gwy_gradient_horizontal-24.png gwy_gradient_vertical-24.png gwy_grain_correlation-24.png gwy_grain_exscribed_circle-24.png gwy_grain_inscribed_circle-24.png gwy_grains-24.png gwy_grains_edge-24.png gwy_grains_edge_remove-24.png gwy_grains_graph-24.png gwy_grains_measure-24.png gwy_grains_otsu-24.png gwy_grains_remove-24.png gwy_grains_statistics-24.png gwy_grains_water-24.png gwy_graph-24.png gwy_graph_align-24.png gwy_graph_cut-24.png gwy_graph_dos-24.png gwy_graph_export_ascii-24.png gwy_graph_export_png-24.png gwy_graph_export_vector-24.png gwy_graph_fd-24.png gwy_graph_filter-24.png gwy_graph_function-24.png gwy_graph_halfgauss-24.png gwy_graph_level-24.png gwy_graph_measure-24.png gwy_graph_palette-24.png '/var/tmp/pamac-build-tio/gwyddion/pkg/gwyddion/usr/share/gwyddion/pixmaps'
 /usr/bin/install -c -m 644 gwy_graph_pointer-24.png gwy_graph_ruler-24.png gwy_graph_statistics-24.png gwy_graph_terrace_measure-24.png gwy_graph_vertical-24.png gwy_graph_zoom_fit-24.png gwy_graph_zoom_in-24.png gwy_graph_zoom_out-24.png gwy_hough-24.png gwy_immerse-24.png gwy_iso_roughness-24.png gwy_image_relation-24.png gwy_italic-20.png gwy_less-24.png gwy_level-24.png gwy_level_flatten_base-24.png gwy_level_median-24.png gwy_level_triangle-24.png gwy_light_rotate-24.png gwy_limit_range-24.png gwy_line_level-24.png gwy_load_debug-20.png gwy_load_info-20.png gwy_load_warning-20.png gwy_local_slope-24.png gwy_logscale_horizontal-24.png gwy_logscale_vertical-24.png gwy_mark_outliers-24.png gwy_mark_scars-24.png gwy_mark_with-24.png gwy_mask-16.png gwy_mask-24.png gwy_mask_add-24.png gwy_mask_circle-24.png gwy_mask_circle_exclusive-24.png gwy_mask_circle_inclusive-24.png gwy_mask_distribute-24.png gwy_mask_editor-24.png gwy_mask_exclude-24.png gwy_mask_exclude_circle-24.png '/var/tmp/pamac-build-tio/gwyddion/pkg/gwyddion/usr/share/gwyddion/pixmaps'
 /usr/bin/install -c -m 644 gwy_mask_extract-24.png gwy_mask_fill_draw-24.png gwy_mask_fill_erase-24.png gwy_mask_grow-24.png gwy_mask_intersect-24.png gwy_mask_invert-24.png gwy_mask_line-24.png gwy_mask_morph-24.png gwy_mask_paint_draw-24.png gwy_mask_paint_erase-24.png gwy_mask_rect_exclusive-24.png gwy_mask_rect_inclusive-24.png gwy_mask_remove-24.png gwy_mask_set-24.png gwy_mask_shift-24.png gwy_mask_shrink-24.png gwy_mask_subtract-24.png gwy_mask_thin-24.png gwy_measure_lattice-24.png gwy_merge-24.png gwy_mfm_convert_to_force-24.png gwy_mfm_current_line-24.png gwy_mfm_field_find_shift-24.png gwy_mfm_field_shift-24.png gwy_mfm_parallel-24.png gwy_mfm_perpendicular-24.png gwy_more-24.png gwy_mutual_crop-24.png gwy_neural_apply-24.png gwy_neural_train-24.png gwy_next-24.png gwy_null_offsets-24.png gwy_palettes-16.png gwy_palettes-24.png gwy_path_level-24.png gwy_pointer_measure-24.png gwy_poly_distort-24.png gwy_polynom-24.png gwy_polynom_level-24.png gwy_previous-24.png '/var/tmp/pamac-build-tio/gwyddion/pkg/gwyddion/usr/share/gwyddion/pixmaps'
 /usr/bin/install -c -m 644 gwy_profile-24.png gwy_profile_multiple-24.png gwy_psdf_log_phi-24.png gwy_pygwy-24.png gwy_rasterize-24.png gwy_radial_profile-24.png gwy_rank_filter-24.png gwy_remove_under_mask-24.png gwy_revolve_arc-24.png gwy_revolve_sphere-24.png gwy_rotate_180-24.png gwy_rotate_3d-24.png gwy_rotate-24.png gwy_rotate_90_ccw-24.png gwy_rotate_90_cw-24.png gwy_scale-24.png gwy_scale_horizontally-24.png gwy_scale_vertically-24.png gwy_scars-24.png gwy_scientific_number_format-18.png gwy_selections-24.png gwy_shader-24.png gwy_spectrum-24.png gwy_spot_remove-24.png gwy_square_samples-24.png gwy_stat_quantities-24.png gwy_stitch-24.png gwy_straighten_path-24.png gwy_subscript-20.png gwy_superscript-20.png gwy_synthetic_anneal-24.png gwy_synthetic_ballistic_deposition-24.png gwy_synthetic_brownian_motion-24.png gwy_synthetic_columnar-24.png gwy_synthetic_diffusion-24.png gwy_synthetic_discs-24.png gwy_synthetic_domains-24.png gwy_synthetic_fibres-24.png gwy_synthetic_lattice-24.png gwy_synthetic_line_noise-24.png '/var/tmp/pamac-build-tio/gwyddion/pkg/gwyddion/usr/share/gwyddion/pixmaps'
 /usr/bin/install -c -m 644 gwy_synthetic_noise-24.png gwy_synthetic_objects-24.png gwy_synthetic_particles-24.png gwy_synthetic_pattern-24.png gwy_synthetic_phases-24.png gwy_synthetic_pileup-24.png gwy_synthetic_spectral-24.png gwy_synthetic_turing_pattern-24.png gwy_synthetic_waves-24.png gwy_terrace_measure-24.png gwy_tilt-24.png gwy_tip_dilation-24.png gwy_tip_erosion-24.png gwy_tip_estimation-24.png gwy_tip_indent_analyze-24.png gwy_tip_lateral_force-24.png gwy_tip_map-24.png gwy_tip_model-24.png gwy_tip_pid-24.png gwy_unrotate-24.png gwy_value_invert-24.png gwy_volume-24.png gwy_volume_arithmetic-24.png gwy_volume_calibrate-24.png gwy_volume_dimensions-24.png gwy_volume_fd-24.png gwy_volume_invert-24.png gwy_volume_kmeans-24.png gwy_volume_kmedians-24.png gwy_volume_line_stats-24.png gwy_volume_plane_stats-24.png gwy_volume_slice-24.png gwy_volume_swap_axes-24.png gwy_volumize-24.png gwy_volumize_layers-24.png gwy_wrap_value-24.png gwy_xy_denoise-24.png gwy_xyzize-24.png gwy_zero_maximum-24.png gwy_zero_mean-24.png '/var/tmp/pamac-build-tio/gwyddion/pkg/gwyddion/usr/share/gwyddion/pixmaps'
 /usr/bin/install -c -m 644 gwy_zoom_1_1-24.png gwy_zoom_fit-24.png gwy_zoom_in-24.png gwy_zoom_out-24.png cd_line.png cd_rline.png cd_rstep.png cd_step.png circle_down.png circle_up.png gwy_drift-24.png gwy_favourite-24.png gwy_gl_material-16.png gwy_gwyddion-32.png gwy_gwyddion-60.png gwy_psdf_log_phi-24.png gwy_psdf_section-24.png gwyddion.ico splash.png '/var/tmp/pamac-build-tio/gwyddion/pkg/gwyddion/usr/share/gwyddion/pixmaps'
make[3]: Leaving directory '/var/tmp/pamac-build-tio/gwyddion/src/gwyddion-2.60/pixmaps'
make[2]: Leaving directory '/var/tmp/pamac-build-tio/gwyddion/src/gwyddion-2.60/pixmaps'
make[1]: Leaving directory '/var/tmp/pamac-build-tio/gwyddion/src/gwyddion-2.60/pixmaps'
Making install in perl
make[1]: Entering directory '/var/tmp/pamac-build-tio/gwyddion/src/gwyddion-2.60/perl'
make[2]: Entering directory '/var/tmp/pamac-build-tio/gwyddion/src/gwyddion-2.60/perl'
make[2]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p /var/tmp/pamac-build-tio/gwyddion/pkg/gwyddion/usr/share/man/man3
for i in Gwyddion::dump.3pm; do \
    /usr/bin/install -c -m 644 $i /var/tmp/pamac-build-tio/gwyddion/pkg/gwyddion/usr/share/man/man3; \
/usr/bin/install: cannot stat 'Gwyddion::dump.3pm': No such file or directory
make[2]: *** [Makefile:657: install-data-local] Error 1
make[2]: Leaving directory '/var/tmp/pamac-build-tio/gwyddion/src/gwyddion-2.60/perl'
make[1]: *** [Makefile:535: install-am] Error 2
make[1]: Leaving directory '/var/tmp/pamac-build-tio/gwyddion/src/gwyddion-2.60/perl'
make: *** [Makefile:623: install-recursive] Error 1
==> ERROR: A failure occurred in package().

sirocco commented on 2021-05-20 07:51 (UTC) (edited on 2021-05-20 07:52 (UTC) by sirocco)

Temporary workaround: Disabled openexr with a patch.

(I didn't find option of /.configure for this.)

sirocco commented on 2021-05-20 02:19 (UTC) (edited on 2021-05-20 02:20 (UTC) by sirocco)

I tried adding openexr to makedepends. Problem still exists.

Apparently incompatibility with the version 3 of openexr. There is openexr2 in the AUR, but it conflicts with the openexr 3 from [extra]. I do not know what to do.

philo commented on 2021-05-19 19:06 (UTC)

Kwazar380 commented on 2021-05-19 15:03 (UTC)

When I try to install the package by downloading snapshot, unpacking it and doing "makepkg -sri" I get the errors: In function ‘void exr_write_image(GwyDataField*, gchar*, const gchar*, const gchar*, GwyBitDepth, gdouble)’: error: variable ‘Imf_3_0::Header header’ has initializer but incomplete type
  712 |     Imf::Header header(xres, yres);
      |                        ^~~~ error: ‘INCREASING_Y’ is not a member of ‘Imf’
  713 |     header.lineOrder() = Imf::INCREASING_Y;
      |                               ^~~~~~~~~~~~ In function ‘const DoubleAttribute* exr_get_double_attr(const Imf_3_0::InputFile&, const gchar*)’: error: invalid use of incomplete type ‘const class Imf_3_0::Header’
  853 |         = infile.header().findTypedAttribute<Imf::DoubleAttribute>(name);
      |           ~~~~~~~~~~~~~^~
In file included from /usr/include/OpenEXR/ImfChannelList.h:17,
/usr/include/OpenEXR/ImfForward.h:31:23: note: forward declaration of ‘class Imf_3_0::Header’
   31 | class IMF_EXPORT_TYPE Header;
      |                       ^~~~~~ error: expected primary-expression before ‘>’ token
  853 |         = infile.header().findTypedAttribute<Imf::DoubleAttribute>(name);
      |                                                                  ^ In function ‘const StringAttribute* exr_get_string_attr(const Imf_3_0::InputFile&, const gchar*)’: error: invalid use of incomplete type ‘const class Imf_3_0::Header’
  866 |         = infile.header().findTypedAttribute<Imf::StringAttribute>(name);
      |           ~~~~~~~~~~~~~^~

  914 |     Imath::Box2i dw = infile.header().dataWindow();
      |                       ~~~~~~~~~~~~~^~
In file included from /usr/include/OpenEXR/ImfChannelList.h:17,
/usr/include/OpenEXR/ImfForward.h:31:23: note: forward declaration of ‘class Imf_3_0::Header’
   31 | class IMF_EXPORT_TYPE Header;
      |                       ^~~~~~ error: invalid use of incomplete type ‘const class Imf_3_0::Header’
  932 |     const Imf::ChannelList &channels = infile.header().channels();
      |                                        ~~~~~~~~~~~~~^~
In file included from /usr/include/OpenEXR/ImfChannelList.h:17,
/usr/include/OpenEXR/ImfForward.h:31:23: note: forward declaration of ‘class Imf_3_0::Header’
   31 | class IMF_EXPORT_TYPE Header;
      |                       ^~~~~~ error: invalid use of incomplete type ‘const class Imf_3_0::Header’
  932 |     const Imf::ChannelList &channels = infile.header().channels();
      |                                        ~~~~~~~~~~~~~^~
In file included from /usr/include/OpenEXR/ImfChannelList.h:17,
/usr/include/OpenEXR/ImfForward.h:31:23: note: forward declaration of ‘class Imf_3_0::Header’
   31 | class IMF_EXPORT_TYPE Header;
      |                       ^~~~~~

I couldn't find the solution in the web.

James-T commented on 2021-03-19 11:38 (UTC)

As the package appears to have been updated yesterday, please update the release number so that yay etc. are able to recognize it.

SibrenVasse commented on 2021-03-18 12:43 (UTC)

libunique was dropped from the official repos.

James-T commented on 2020-10-12 15:40 (UTC)

Attempting to build on Manjaro gives the errors below

/usr/bin/mkdir -p '/home/james/.cache/yay/gwyddion/pkg/gwyddion/usr/lib/gwyddion/perl/Gwyddion'
/usr/bin/install: cannot stat 'Gwyddion::dump.3pm': No such file or directory
make[2]: *** [Makefile:655: install-data-local] Error 1
make[2]: *** Waiting for unfinished jobs....
 /usr/bin/install -c -m 644 Gwyddion/ '/home/james/.cache/yay/gwyddion/pkg/gwyddion/usr/lib/gwyddion/perl/Gwyddion'

Adding --without-perl sidesteps the problem.

sirocco commented on 2019-07-28 04:08 (UTC)

Added a patch to fix a compilation error with GCC 9. I did not change the pkgrel, as the package builded earlier works.

CoFeB commented on 2019-07-27 14:02 (UTC)

Update: It works using the latest nightly build version

CoFeB commented on 2019-07-27 11:33 (UTC)

Hi there,

I try to install Gwyddion via the AUR but get the following error, see below. Anyone out there with a good idea what's wrong? Thanks for the help!

gwyexpr.c: In function ‘gwy_expr_stack_interpret_vectors’: gwyexpr.c:446:43: error: ‘call_table’ not specified in enclosing ‘parallel’ 446 | call_table[code->type].function(&sp); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ gwyexpr.c:429:9: error: enclosing ‘parallel’ 429 | #pragma omp parallel if(gwy_threads_are_enabled()) default(none) \ | ^~~ make[3]: [Makefile:720: gwyexpr.lo] Error 1 make[3]: Leaving directory '/tmp/yaourt-tmp-myname/aur-gwyddion/src/gwyddion-2.53/libgwyddion' make[2]: [Makefile:595: all] Error 2 make[2]: Leaving directory '/tmp/yaourt-tmp-myname/aur-gwyddion/src/gwyddion-2.53/libgwyddion' make[1]: [Makefile:610: all-recursive] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-myname/aur-gwyddion/src/gwyddion-2.53' make: [Makefile:519: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build gwyddion.

sebfry commented on 2017-07-26 11:38 (UTC)

gconf is also needed as makedepends

marcin commented on 2017-05-19 07:20 (UTC)

Works well on current Monero. Thanks.

linux-ka commented on 2014-09-26 09:22 (UTC)

Could you please add the current patch to v2.38 it might be irrelevant in v2.39

cebner commented on 2014-08-10 17:12 (UTC)

No problem installing with --without-perl added to configure. Still don't get why it doesn't work with perl. Maybe I'm missing some dependencies? Anyway, thanks for the help!

sirocco commented on 2014-08-10 14:04 (UTC)

The package is built without problems for me. Try to add --without-perl to configure.

cebner commented on 2014-08-05 18:15 (UTC)

Ok, thanks for the info. Here the English version of the output: for i in Gwyddion::dump.3pm; do \ /usr/bin/install -c -m 644 $i /tmp/yaourt-tmp/aur-gwyddion/pkg/gwyddion/usr/share/man/man3; \ done /usr/bin/install: cannot stat ‘Gwyddion::dump.3pm’: No such file or directory Makefile:620: recipe for target 'install-data-local' failed make[2]: *** [install-data-local] Error 1 make[2]: Leaving directory '/tmp/yaourt-tmp/aur-gwyddion/src/gwyddion-2.37/perl' Makefile:501: recipe for target 'install-am' failed make[1]: *** [install-am] Error 2 make[1]: Leaving directory '/tmp/yaourt-tmp/aur-gwyddion/src/gwyddion-2.37/perl' Makefile:592: recipe for target 'install-recursive' failed make: *** [install-recursive] Error 1

sirocco commented on 2014-08-05 13:45 (UTC)

Please run LANG=C yaourt -S gwyddion to get error on English

cebner commented on 2014-08-05 08:20 (UTC)

Build error: /usr/bin/mkdir -p /tmp/yaourt-tmp/aur-gwyddion/pkg/gwyddion/usr/share/man/man3 for i in Gwyddion::dump.3pm; do \ /usr/bin/install -c -m 644 $i /tmp/yaourt-tmp/aur-gwyddion/pkg/gwyddion/usr/share/man/man3; \ done /usr/bin/install: der Aufruf von stat für „Gwyddion::dump.3pm“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden Makefile:620: recipe for target 'install-data-local' failed

nemezis007 commented on 2013-08-20 15:06 (UTC)

It looks like there is a bulild issue due to perl problems: POD document had syntax errors at /usr/bin/core_perl/pod2man line 71. any idea how to solve it?

linux-ka commented on 2013-03-14 08:12 (UTC)

There is a new version. Please, could you update your PKGBUILD ?

ertua commented on 2013-02-10 23:22 (UTC)

gconf is another dependency

sirocco commented on 2012-05-02 12:39 (UTC)

Version 2.27 changelog: ... Compatibility with GLib 2.32 was corrected.

commented on 2012-05-02 11:50 (UTC)

More generally if you encounter this error « error: "Only <glib.h> can be included directly."» on any package, then you can solved it as follow: find . -name "*.h" -exec sed -ir 's/#include <glib[\/\-][^\.]*\.h>/#include <glib.h>/' '{}' \; if this not work, try to add the *.c as well: find . -name "*.[hc]" -exec sed -ir 's/#include <glib[\/\-][^\.]*\.h>/#include <glib.h>/' '{}' \;

commented on 2012-05-02 11:42 (UTC)

Not working. In case of the following error: In file included from ../libgwyddion/gwyversion.h:24:0, from ../libgwyddion/gwyddion.h:43, from gwyddion.c:22: /usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly." Add to your PKGBUILD the following between the ./configure and the make command: # glibc fixes sed -ir 's/#include <glib[\/\-][^\.]*\.h>/#include <glib.h>/' lib{gwyddion/gwy{{ddionenums,md5,expr,version}.h,serializable.c},process/gwyprocessenums.h,draw/gwydrawenums.h,gwydgets/gwy{dgetenums,stock}.h,gwymodule/gwymoduleenums.h} app/{{glmaterial,gradient}-editor,settings,gwymoduleutils-file}.h modules/file/{err,gwytiff}.h

commented on 2012-02-10 15:12 (UTC)

Not working due to a bug with zlib. Please fix the PKGBUILD as follow: Add those 2 lines before "#python2 fix" # Fix zlib sed -i '40 i#include <zlib.h>' modules/file/pixmap.c