Package Details: magics++ 4.15.4-1

Git Clone URL: https://aur.archlinux.org/magics++.git (read-only, click to copy)
Package Base: magics++
Description: Magics is the latest generation of the ECMWF's Meteorological plotting software MAGICS.
Upstream URL: https://confluence.ecmwf.int/display/MAGP
Licenses: Apache
Submitter: graziano
Maintainer: capitalaslash
Last Packager: capitalaslash
Votes: 5
Popularity: 0.020124
First Submitted: 2016-03-28 17:02 (UTC)
Last Updated: 2024-06-09 22:41 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

gchamon commented on 2021-06-25 09:03 (UTC)

@capitalaslash done

capitalaslash commented on 2021-06-25 08:05 (UTC)

@gchamon ok I can take it.

gchamon commented on 2021-06-24 19:14 (UTC) (edited on 2021-06-24 19:42 (UTC) by gchamon)

in the meantime, added contribution from @capitalaslash, sorry for the long wait

gchamon commented on 2021-06-24 18:16 (UTC)

@capitalaslash I could pass ownership to you. You could do a better job then I maintaining this package.

klobas commented on 2021-06-24 17:56 (UTC) (edited on 2021-06-24 18:01 (UTC) by klobas)

Magics-4.6.0-Source/src/common/Transformation.cc
Magics-4.6.0-Source/src/visualisers/SimplePolylineVisualiser.cc

are missing headers and kick the error:

"numeric_limits' is not a member of 'std'"

Please add

#include <limits>

to these files so magics++ will build.

capitalaslash commented on 2021-05-28 10:55 (UTC)

Please have a look at

https://github.com/capitalaslash/archlinux-magics

I updated to the latest version, with improvements to the build logic, dependencies and a gcc 11 patch. Let me know how we can integrate it here

mblaschek commented on 2021-05-03 14:32 (UTC)

I could not build 4.5.3 with proj 8.0 as reported here, but updating to 4.6.0 worked.

adjusting PKGBUILD

pkgver=4.6.0
md5sums=('570d9888fc794b7c72c0a09fc9210dc3')

ChristophM commented on 2021-03-17 19:47 (UTC)

I confirm that 4.5.3 works. The following changes to PKGBUILD solved the problem for me:

--- old/PKGBUILD
+++ new/PKGBUILD
@@ -3,7 +3,7 @@

 pkgname=magics++
 Pkgname=Magics
-pkgver=4.3.0
+pkgver=4.5.3
 _attnum=3473464
 pkgrel=2
 pkgdesc="Magics is the latest generation of the ECMWF's Meteorological plotting software MAGICS."
@@ -14,7 +14,7 @@
 optdepends=('libaec' 'odb_api')
 makedepends=('perl-xml-parser' 'gcc-fortran' 'swig' 'python2-numpy' 'cmake' 'boost' 'emos' 'python-jinja')
 source=(http://software.ecmwf.int/wiki/download/attachments/${_attnum}/${Pkgname}-${pkgver}-Source.tar.gz)
-md5sums=('e5b1f222fe8a8766a7cfdd59ce7b3820')
+md5sums=('31e91178eaf6d18a348a740426409746')

 build() {
   cd "$srcdir/${Pkgname}-${pkgver}-Source"
@@ -33,7 +33,6 @@
     -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=production \
     -DCMAKE_INSTALL_DATADIR=/usr/share \
     -DENABLE_METVIEW=1 -DENABLE_QT5=1 -DPYTHON_EXECUTABLE=/usr/bin/python3 ..
-      sed -i magics.pc-pkg-config-build.cmake -e '/REPLACE/s/++/\\\\+\\\\+/'
   make || return 1
 }

crataegus commented on 2021-03-09 08:55 (UTC)

I got the same error as @mpejcoch on 2020-05-15 but was successfully able to build and install version 4.5.3 downloaded here[1] and following their instructions here[2]. I hope this helps someone.

[1] https://confluence.ecmwf.int/display/MAGP/Releases [2] https://confluence.ecmwf.int/display/MAGP/Installation+Guide

mpejcoch commented on 2020-05-15 15:39 (UTC)

Unfortunately even the 4.3.3 version won't build.

collect2: error: ld returned 1 exit status
make[2]: *** [test/CMakeFiles/bufr_fortran.dir/build.make:122: test/bufr_fortran] Error 1
make[1]: *** [CMakeFiles/Makefile2:1974: test/CMakeFiles/bufr_fortran.dir/all] Error 2
[100%] Linking CXX executable ../../bin/magmlx
[100%] Linking CXX executable ../../bin/magjsonx
/usr/bin/ld: ../../lib/libMagPlus.so: undefined reference to `proj_errno_string'
/usr/bin/ld: ../../lib/libMagPlus.so: undefined reference to `proj_errno_reset'
/usr/bin/ld: ../../lib/libMagPlus.so: undefined reference to `proj_destroy'
/usr/bin/ld: ../../lib/libMagPlus.so: undefined reference to `proj_trans'
/usr/bin/ld: ../../lib/libMagPlus.so: undefined reference to `proj_normalize_for_visualization'
/usr/bin/ld: ../../lib/libMagPlus.so: undefined reference to `proj_errno'
/usr/bin/ld: ../../lib/libMagPlus.so: undefined reference to `proj_create_crs_to_crs'
/usr/bin/ld: ../../lib/libMagPlus.so: undefined reference to `proj_context_create'
collect2: error: ld returned 1 exit status
make[2]: *** [apps/MagMLInterpretor/CMakeFiles/magmlx.dir/build.make:121: bin/magmlx] Error 1
make[1]: *** [CMakeFiles/Makefile2:1891: apps/MagMLInterpretor/CMakeFiles/magmlx.dir/all] Error 2
/usr/bin/ld: ../../lib/libMagPlus.so: undefined reference to `proj_errno_string'
/usr/bin/ld: ../../lib/libMagPlus.so: undefined reference to `proj_errno_reset'
/usr/bin/ld: ../../lib/libMagPlus.so: undefined reference to `proj_destroy'
/usr/bin/ld: ../../lib/libMagPlus.so: undefined reference to `proj_trans'
/usr/bin/ld: ../../lib/libMagPlus.so: undefined reference to `proj_normalize_for_visualization'
/usr/bin/ld: ../../lib/libMagPlus.so: undefined reference to `proj_errno'
/usr/bin/ld: ../../lib/libMagPlus.so: undefined reference to `proj_create_crs_to_crs'
/usr/bin/ld: ../../lib/libMagPlus.so: undefined reference to `proj_context_create'