Any chance of getting Omid's patch included? Build fails without it...
Search Criteria
Package Details: frobby 0.9.0-2
Git Clone URL: | https://aur.archlinux.org/frobby.git (read-only) |
---|---|
Package Base: | frobby |
Description: | Computations With Monomial Ideals |
Upstream URL: | http://www.broune.com/frobby/ |
Licenses: | |
Submitter: | remyoudompheng |
Maintainer: | jneem |
Last Packager: | jneem |
Votes: | 2 |
Popularity: | 0.000001 |
First Submitted: | 2009-04-09 13:26 |
Last Updated: | 2015-06-23 14:31 |
Sources (3)
Latest Comments
Anonymous comment on 2013-08-02 02:18
jneem commented on 2013-04-23 05:44
Omid commented on 2013-01-25 09:46
Please add the following for new gmp compatibility (borrowed from gentoo ebuild)
diff -U 3 -dHrN frobby_v0.9.0.orig/src/StatisticsStrategy.cpp frobby_v0.9.0/src/StatisticsStrategy.cpp
--- frobby_v0.9.0.orig/src/StatisticsStrategy.cpp 2013-01-15 22:40:13.186967442 +0100
+++ frobby_v0.9.0/src/StatisticsStrategy.cpp 2013-01-15 22:40:33.267100780 +0100
@@ -140,7 +140,7 @@
if (_nodeCount == 0)
return 0.0;
else {
- mpz_class q = mpq_class(_subGenSum) / _nodeCount;
+ mpq_class q = mpq_class(_subGenSum) / _nodeCount;
return q.get_d();
}
}
Omid commented on 2013-01-25 09:02
I have this problem in installing frobby:
src/StatisticsStrategy.cpp:143:43: error: conversion from ‘__gmp_expr<__mpq_struct [1], __gmp_binary_expr<__gmp_expr<__mpq_struct [1], __mpq_struct [1]>, __gmp_expr<__mpz_struct [1], __mpz_struct [1]>, __gmp_binary_divides> >’ to non-scalar type ‘mpz_class {aka __gmp_expr<__mpz_struct [1], __mpz_struct [1]>}’ requested
make: *** [bin/release/StatisticsStrategy.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
as Omid shows, until it is updated upstream, just manually download the tarball and change the one letter inside the StatisticsStrategy.cpp. It will then build properly!