New Port Request: Primesieve from https://github.com/kimwalisch/primesieve
Kenneth Wolcott
kennethwolcott at gmail.com
Mon Nov 11 03:15:37 UTC 2024
Well, the Perl Primesieve module works.
I'm unable to install Raku Math::Primesieve as of yet. Looks like I
have to figure out how to tell zef (the Raku package manager) where
the Primesieve Library is.
It still would be nice to have all of the Primesieve Library bindings
available as MacPorts ports...
Thanks,
Ken Wolcott
On Sun, Nov 10, 2024 at 5:13 PM Kenneth Wolcott
<kennethwolcott at gmail.com> wrote:
>
> I think that the Perl Primesieve module is installed now (have not yet
> tested it), but Raku fails to find the Primesieve Library. Guess I
> should try to get help from "Raku Land". The module brief
> installation documentation assumes one is using Ubuntu (not MacOS).
>
> Thanks,
> Ken W.
>
> On Sun, Nov 10, 2024 at 5:03 PM Kenneth Wolcott
> <kennethwolcott at gmail.com> wrote:
> >
> > Well, it looks like it is the Primesieve library after all :-)
> >
> > Thanks!
> >
> > But I think I will not be able to install the Primesieve bindings
> > outside of MacPorts because I don't think it will know to look in
> > /opt/local and I don't know how to tell it to look there.
> >
> > I'll look again at the bindings...
> >
> > Thanks,
> > Ken Wolcott
> >
> > On Sun, Nov 10, 2024 at 4:56 PM Kenneth Wolcott
> > <kennethwolcott at gmail.com> wrote:
> > >
> > > Hi Dave;
> > >
> > > That's the binary, not the library :-)
> > >
> > > Thanks,
> > > Ken
> > >
> > > On Sun, Nov 10, 2024 at 4:44 PM Dave Allured - NOAA Affiliate via
> > > macports-users <macports-users at lists.macports.org> wrote:
> > > >
> > > > Ken, it looks like MacPorts already has a primesieve port, created by The Other Ken several months ago. port install primesieve. Does that work for you? Does it install as expected into /opt/local?
> > > >
> > > >
> > > > On Sun, Nov 10, 2024 at 4:54 PM Kenneth Wolcott <kennethwolcott at gmail.com> wrote:
> > > >>
> > > >> Hi All;
> > > >>
> > > >> I can build the Primesieve library by hand, but by default the
> > > >> library is installed in /usr/local.
> > > >>
> > > >> The MacPorts Manual/FAQ strongly discourages placing include files
> > > >> and libraries in /usr/local.
> > > >>
> > > >> I really would like to use Primesieve (Library) from MacPorts if
> > > >> somebody would be so kind as to create that port.
> > > >>
> > > >> My knowledge of cmake is insufficient to try to modify the
> > > >> Primesieve source myself; and even if I did, where would I write the
> > > >> include and and library files? It would be best to place them in
> > > >> /opt/local, but then that really should be done by a Macports
> > > >> installation.
> > > >>
> > > >> It would also be very nice if the Perl and Raku (others as well
> > > >> would be icing on the cake!) bindings of the Primesieve Library were
> > > >> also created as MacPorts ports.
> > > >>
> > > >> Meanwhile I am trying to learn how to create an Ada binding for the
> > > >> Primesieve Library.
> > > >>
> > > >> https://github.com/kimwalisch/primesieve
> > > >>
> > > >> Thanks,
> > > >> Ken Wolcott
> > > >>
> > > >> On Mon, May 27, 2024 at 7:20 AM Ken Cunningham
> > > >> <ken.cunningham.webuse at gmail.com> wrote:
> > > >> >
> > > >> > Hi Ken,
> > > >> >
> > > >> > I’ve updated the port here, just waiting for the CI system to validate on arm, etc before pushing:
> > > >> >
> > > >> > https://github.com/macports/macports-ports/pull/24159
> > > >> >
> > > >> > I don’t know how to use or test those bindings you are asking for, and I didn’t see anything in the cmake file about it. I didn’t look too hard, admittedly.
> > > >> >
> > > >> > If you help me by showing me what you are trying to do and how it fails, I / we can probably get it going for you. If I can’t, I’m sure someone can.
> > > >> >
> > > >> > Ken
More information about the macports-users
mailing list