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!
Search Criteria
Package Details: frobby 0.9.0-2
Package Actions
| Package Base: | frobby |
|---|---|
| Description: | Computations With Monomial Ideals |
| Upstream URL: | http://www.broune.com/frobby/ |
| Category: | science |
| Licenses: | |
| Submitter: | remyoudompheng |
| Maintainer: | jneem |
| Last Packager: | jneem |
| Votes: | 0 |
| First Submitted: | 2009-04-09 13:26 |
| Last Updated: | 2014-10-01 13:42 |
Dependencies (1)
Required by (1)
Sources
- http://www.broune.com/frobby/frobby_v0.9.0.tar.gz
- missing-include.patch
- update-gmp.patch
Latest Comments
Anonymous comment
Comment by jneem
Any chance of getting Omid's patch included? Build fails without it...
Comment by Omid
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();
}
}
Comment by Omid
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...