Giter Club home page Giter Club logo

Comments (2)

sisyphus avatar sisyphus commented on July 20, 2024

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:

  1. I think mpfr_get_version() and MPFR_VERSION_STRING should match exactly;
  2. 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.

trizen avatar trizen commented on July 20, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.