Package Details: magics++ 4.14.1-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: 4
Popularity: 0.000000
First Submitted: 2016-03-28 17:02 (UTC)
Last Updated: 2023-07-21 20:13 (UTC)

Latest Comments

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

ram commented on 2019-01-04 08:09 (UTC)

happy new year!

I tried a fresh install and had to install python2-jinja to survive the cmake step. might be worth adding to the dependencies

cheers!

bderembl commented on 2018-07-12 14:27 (UTC)

I was able to compile it with python 3 as mentioned here https://confluence.ecmwf.int/display/MAGP/Magics

Also, I added python-jinja as another dependency

OdinEidolon commented on 2018-03-11 10:12 (UTC)

I get this error When building:

Scanning dependencies of target magics_params
[  1%] Generating params/Akima474MethodAttributes.h, params/Akima474MethodAttributes.cc
Traceback (most recent call last):
  File "/tmp/yaourt-tmp-adriano/aur-magics++/src/Magics-3.0.0-Source/src/../tools/xml2cc.py", line 2, in <module>
    import jinja2
ImportError: No module named jinja2
make[2]: *** [src/CMakeFiles/magics_params.dir/build.make:582: src/params/Akima474MethodAttributes.h] Error 1
make[1]: *** [CMakeFiles/Makefile2:1274: src/CMakeFiles/magics_params.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
==> ERROR: A failure occurred in build().

However the /tmp/yaourt-tmp-adriano/aur-magics++/src/Magics-3.0.0-Source/src/../tools/xml2cc.py seems fine, I can load jinja2 without problems.

Installing python2-jinja fixes it.

ram commented on 2017-10-04 11:36 (UTC)

Hi! I could not build the package unless I included an additional header to src/Magics-2.34.1-Source/src/boost/range/detail/range_return.hpp #include <boost/next_prior.hpp> otherwise boost::next and boost::prior are not definded gcc 7.2 / boost 1.65.1-1

OvelixMax commented on 2017-06-11 01:38 (UTC)

@graziano, thank you for the answer... I reinstall eccodes before try to update magics++, but a new error appear now. [ 99%] Linking CXX executable ../../bin/metgramx CMakeFiles/metgramx.dir/metgramx.cc.o: En la función `TempFile::TempFile()': /tmp/yaourt-tmp-ovel/aur-magics++/src/Magics-2.33.0-Source/apps/metgram/metgramx.cc:70: aviso: the use of `tmpnam' is dangerous, better use `mkstemp' ../../lib/libMagPlus.so: referencia a `NcVar::get(unsigned char*, long const*) const' sin definir collect2: error: ld devolvió el estado de salida 1 make[2]: *** [apps/metgram/CMakeFiles/metgramx.dir/build.make:129: bin/metgramx] Error 1 make[1]: *** [CMakeFiles/Makefile2:2204: apps/metgram/CMakeFiles/metgramx.dir/all] Error 2 make: *** [Makefile:163: all] Error 2 ==> ERROR: Se produjo un fallo en build(). Cancelando… ==> ERROR: Makepkg no ha podido compilar magics++. ==> ¿Reiniciar la compilación de magics++? [s/N]

graziano commented on 2017-06-10 06:44 (UTC)

@OvelixMax, you need to recompile libeccodes because on your system gfortran has been upgraded.

OvelixMax commented on 2017-06-09 18:27 (UTC)

I have problem to compile the last version. This is at the end of the compilation: [ 99%] Generating _Magics.so running build_ext [ 99%] Built target build_swig_wrapper [ 99%] Linking CXX executable ../../bin/metgramx CMakeFiles/metgramx.dir/metgramx.cc.o: En la función `TempFile::TempFile()': /tmp/yaourt-tmp-ovel/aur-magics++/src/Magics-2.33.0-Source/apps/metgram/metgramx.cc:70: aviso: the use of `tmpnam' is dangerous, better use `mkstemp' /usr/bin/ld: warning: libgfortran.so.3, needed by /usr/lib/libeccodes_f90.so, not found (try using -rpath or -rpath-link) /usr/lib/libeccodes_f90.so: referencia a `_gfortran_internal_unpack@GFORTRAN_1.0' sin definir /usr/lib/libeccodes_f90.so: referencia a `_gfortran_internal_pack@GFORTRAN_1.0' sin definir /usr/lib/libeccodes_f90.so: referencia a `_gfortran_os_error@GFORTRAN_1.0' sin definir ../../lib/libMagPlus.so: referencia a `NcVar::get(unsigned char*, long const*) const' sin definir /usr/lib/libeccodes_f90.so: referencia a `_gfortran_concat_string@GFORTRAN_1.0' sin definir collect2: error: ld devolvió el estado de salida 1 make[2]: *** [apps/metgram/CMakeFiles/metgramx.dir/build.make:129: bin/metgramx] Error 1 make[1]: *** [CMakeFiles/Makefile2:2204: apps/metgram/CMakeFiles/metgramx.dir/all] Error 2 make: *** [Makefile:163: all] Error 2 ==> ERROR: Se produjo un fallo en build(). Cancelando… ==> ERROR: Makepkg no ha podido compilar magics++. ==> ¿Reiniciar la compilación de magics++? [s/N] I don't have libgfortran.so.3, I have libgfortran.so.4 that came from gcc-libs-multilib (7.1.1-3).

graziano commented on 2017-01-18 21:04 (UTC)

freetype2 error... Check this: https://www.ostechnix.com/fix-harfbuzz-infinality-issue-arch-linux/

tmaldo23 commented on 2017-01-18 17:31 (UTC)

I am having this error, [ 99%] Linking CXX executable ../../bin/metgramx CMakeFiles/metgramx.dir/metgramx.cc.o: In function `TempFile::TempFile()': /home/tito/sources/magics++/src/Magics-2.30.0-Source/apps/metgram/metgramx.cc:70: warning: the use of `tmpnam' is dangerous, better use `mkstemp' /usr/lib/libharfbuzz.so.0: undefined reference to `FT_Get_Var_Blend_Coordinates' collect2: error: ld returned 1 exit status make[2]: *** [apps/metgram/CMakeFiles/metgramx.dir/build.make:127: bin/metgramx] Error 1 make[1]: *** [CMakeFiles/Makefile2:2204: apps/metgram/CMakeFiles/metgramx.dir/all] Error 2 make: *** [Makefile:161: all] Error 2

kubrick commented on 2016-04-10 11:59 (UTC) (edited on 2016-04-10 12:12 (UTC) by kubrick)

The pkgbuild file needs: depends=('grib_api' 'boost' 'perl-xml-parser') to build and run and src/drivers/CairoDriver.cc lines 542 & 543 need to be patched (replace "." with ")" )