<div dir="ltr"><div>Ken, it looks like MacPorts already has a primesieve port, created by The Other Ken several months ago. <b>port install primesieve</b>. Does that work for you? Does it install as expected into <b>/opt/local</b>?</div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 10, 2024 at 4:54 PM Kenneth Wolcott <<a href="mailto:kennethwolcott@gmail.com">kennethwolcott@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi All;<br>
<br>
I can build the Primesieve library by hand, but by default the<br>
library is installed in /usr/local.<br>
<br>
The MacPorts Manual/FAQ strongly discourages placing include files<br>
and libraries in /usr/local.<br>
<br>
I really would like to use Primesieve (Library) from MacPorts if<br>
somebody would be so kind as to create that port.<br>
<br>
My knowledge of cmake is insufficient to try to modify the<br>
Primesieve source myself; and even if I did, where would I write the<br>
include and and library files? It would be best to place them in<br>
/opt/local, but then that really should be done by a Macports<br>
installation.<br>
<br>
It would also be very nice if the Perl and Raku (others as well<br>
would be icing on the cake!) bindings of the Primesieve Library were<br>
also created as MacPorts ports.<br>
<br>
Meanwhile I am trying to learn how to create an Ada binding for the<br>
Primesieve Library.<br>
<br>
<a href="https://github.com/kimwalisch/primesieve" rel="noreferrer" target="_blank">https://github.com/kimwalisch/primesieve</a><br>
<br>
Thanks,<br>
Ken Wolcott<br>
<br>
On Mon, May 27, 2024 at 7:20 AM Ken Cunningham<br>
<<a href="mailto:ken.cunningham.webuse@gmail.com" target="_blank">ken.cunningham.webuse@gmail.com</a>> wrote:<br>
><br>
> Hi Ken,<br>
><br>
> I’ve updated the port here, just waiting for the CI system to validate on arm, etc before pushing:<br>
><br>
> <a href="https://github.com/macports/macports-ports/pull/24159" rel="noreferrer" target="_blank">https://github.com/macports/macports-ports/pull/24159</a><br>
><br>
> 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.<br>
><br>
> 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.<br>
><br>
> Ken<br>
</blockquote></div></div>