Error in installation of latte_int [Sage 8.4, MacOS 10.14.5, Xcode 10.2.1]

55 views
Skip to first unread message

Marco Castronovo

unread,
Jun 26, 2019, 2:19:18 PM6/26/19
to sage-devel
Dear all,

I tried to install LattE on Sage using "sage -i latte_int", and it stopped while installing the package latte_int-1.7.3. The error I get is:

[latte_int-1.7.3] buildPolytopes/BuildPolytope.cpp:728:20: error: ordered comparison between pointer and zero ('__mpz_struct *' and 'int')

[latte_int-1.7.3]         assert(currentLCM > 0);

[latte_int-1.7.3]                ~~~~~~~~~~ ^ ~

[latte_int-1.7.3] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'

[latte_int-1.7.3]     (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)

[latte_int-1.7.3]                         ^

[latte_int-1.7.3] 1 error generated.


Please find attached a more detailed log. I'm using SageMath 8.4 (release date 2018-10-17), CPU 1.6 GHz Inter Core i5MacOS Mojave 10.14.5 with Xcode 10.2.1.

Best regards,
Marco Castronovo


latte_int-1.7.3.log

Matthias Koeppe

unread,
Jun 26, 2019, 7:19:18 PM6/26/19
to sage-devel
This is fixed in more recent versions of Sage, which include LattE 1.7.5. https://trac.sagemath.org/ticket/26190

Marco Castronovo

unread,
Jun 27, 2019, 11:50:41 AM6/27/19
to sage-devel
Thank you! I upgraded to Sage 8.6, relaunched "sage -i latte_int" and it correctly installed latte_int-1.7.5.

Marco
Reply all
Reply to author
Forward
0 new messages