MathMap Fails To Build On Ubuntu 17.10

57 views
Skip to first unread message

Tas Mania

unread,
Nov 11, 2017, 4:17:31 AM11/11/17
to MathMap
At the moment MathMap is not able to build on Ubuntu 17.10. (latest)
An error message recorded by Arch Linux is almost identical to the error I'm getting on Ubuntu 17.10
https://bugs.archlinux.org/task/54585

The problem could be caused by gcc7. Ubuntu 17.04 uses gcc6.
MathMap currently builds OK on Ubuntu 17.04 and Gimp 2.9.7.


Error.
In file included from builtins/../compiler.h:34:0,
                 from builtins/../mathmap.h:37,
                 from builtins/libnoise.cpp:25:
builtins/../drawable.h:108:21: error: flexible array member ‘_image_t::<unnamed union>::<unnamed struct>::args’ not at end of ‘struct _input_drawable_t’
      userval_t args[];
                     ^

Francisco Couzo

unread,
Nov 14, 2017, 9:29:25 AM11/14/17
to MathMap
Try using the latest upstream version, the fix for that bug was fixed in this pull request I made.

Tas Mania

unread,
Nov 14, 2017, 8:03:27 PM11/14/17
to MathMap
Excellent Francisco. Your fix solves the problem and it should carry on to Ubuntu 18 long term support when it is released
next year.
I find I must use different MathMap packages for Ubuntu 17.10 and Ubuntu 17.04. Thats life :)

Tas Mania

unread,
Nov 30, 2017, 6:00:18 AM11/30/17
to MathMap
Another issue with Ubuntu 17.10.
The MathMap 'Composer' tab crashes MathMap.

Error:
(mathmap:2424): Gdk-CRITICAL **: IA__gdk_cairo_create: assertion 'GDK_IS_DRAWABLE (drawable)' failed
/usr/lib/gimp/2.0/plug-ins/mathmap: fatal error: Segmentation fault

Otherwise MathMap is working on Ubuntu 17.10

Tas Mania

unread,
Dec 30, 2017, 4:22:45 AM12/30/17
to MathMap
The solution to Composer crashing MathMap is:
sudo  ln -s /usr/lib/x86_64-linux-gnu/libgsl.so.23 /usr/lib/x86_64-linux-gnu/libgsl.so.19

MathMap is looking libgsl1X and libgsl2X is installed.
Looking for a better solution.


Reply all
Reply to author
Forward
Message has been deleted
0 new messages