Hello Maciej,
I believe neither me or Fredrik are responsible for any FLINT releases
on any package managers, and therefore it is my opinion that we should
avoid to make any such recommendations as we do not know if it has been
installed correctly.
However, I believe that Edgar Costa has sent some patches for Homebrew,
but I'm unsure whether he is the package maintainer there or if he has
just sent some patches there.
Regardless, would you be able to send a git-commit, either on Github or
via mail?
Best,
Albin
On 5/22/24 10:38 AM, Maciej Radziejewski wrote:
> Hello Albin,
>
> Thank you for your prompt reply! Indeed, adding -lmpfr -lgmp solved the
> problems. In addition I needed to enter
>
> export MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion)
>
> to avoid warnings that dylib (/usr/local/lib/libflint.dylib) was built
> for newer macOS version (12.0) than being linked (11.0). This may be a
> Homebrew-specific thing. I will report it there.
>
> It is great to have such easy access to the zeros of Riemann zeta. Thanks!
>
> I would suggest *two changes to the doc page*
>
https://flintlib.org/doc/building.html
>
> *First*, the sentence " You may also have to pass the flags -lmpfr and
> -lgmp to the compiler" could be changed to:
>
> /For more advanced programs you may have to pass the flags/
> /[code snippet]/
> /-lmpfr -lgmp/
> /[/code snippet]/
> /to the compiler./
>
> Reason: these flags are actually not needed to compile test.c, and they
> should be made more visible. *Second*, I would start the "Quick start"
> with a note like this (I did not test MSYS2):
>
> /Many Linux flavours include package managers where Flint is ready to be
> installed automatically with all its dependencies. Package names and
> available Flint versions vary, so you need to search the packages list
> of your distribution. If you take that route, you will be missing the
> examples folder, but you can extract it from the full Flint download
> available here. For Mac check out MacPorts or Homebrew, and for Windows
> MSYS2. Then see [#linking-and-running-code] below. If you wish to have
> more control, you can install Flint manually, as described here. /
>
https://groups.google.com/d/msgid/flint-devel/f573b3ad-9b4f-4a1b-8f9b-55b3a636619cn%40googlegroups.com <
https://groups.google.com/d/msgid/flint-devel/f573b3ad-9b4f-4a1b-8f9b-55b3a636619cn%40googlegroups.com> <
https://groups.google.com/d/msgid/flint-devel/f573b3ad-9b4f-4a1b-8f9b-55b3a636619cn%40googlegroups.com?utm_medium=email&utm_source=footer <
https://groups.google.com/d/msgid/flint-devel/f573b3ad-9b4f-4a1b-8f9b-55b3a636619cn%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
> --
>
> ---
> You received this message because you are subscribed to the Google
> Groups "flint-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
flint-devel...@googlegroups.com
> <mailto:
flint-devel...@googlegroups.com>.
> To view this discussion on the web, visit
>
https://groups.google.com/d/msgid/flint-devel/99aa230e-93fb-4533-b90d-57704cb2ebf1n%40googlegroups.com <
https://groups.google.com/d/msgid/flint-devel/99aa230e-93fb-4533-b90d-57704cb2ebf1n%40googlegroups.com?utm_medium=email&utm_source=footer>.