Comments (2)
I've not seen this problem before, despite the large number of successful tests run on Linux by the cpan-testers - other distros apparently ensure that mpfr_get_version() and MPFR_VERSION_STRING match.
I'm actually thinking that someone forgot to edit the MPFR_VERSION_STRING entry in mpfr.h.
Would you be able to check with them as to whether that's the case ?
I'm a bit loathe to remove the suffix from the test for two reasons:
- I think mpfr_get_version() and MPFR_VERSION_STRING should match exactly;
- we would then fail to detect a discrepancy between 3.1.3-p5 and (say) 3.1.3-p6.
Perhaps the second point doesn't really apply ... perhaps 3.1.3-p5 headers are guaranteed to be compatible with the 3.1.3-p6 library ... I don't know.
If they insist on distributing mpfr packages where header and library can disagree on the version string, then I guess I'll have to do as you suggest - but only for those machines that might have installed the ArchLinux distros.
On Windows, Ubuntu and Debian, I build Math::MPFR against svn trunk, where both Rmpfr_get_version() and MPFR_VERSION_STRING() report "3.2.0-dev".
Cheers,
Rob
from math-mpfr.
It was my mistake. I apologize for it. Somehow, I had an old mpfr.h
file in /usr/local/include/
which took precedence over /usr/include/mpfr.h
. By removing it, Math::MPFR
passes all the tests.
Thank you for your patience.
from math-mpfr.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from math-mpfr.