Re: New Port Request: Primesieve from https://github.com/kimwalisch/primesieve

2024-05-27 Thread Ken Cunningham
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

Re: New Port Request: Primesieve from https://github.com/kimwalisch/primesieve

2024-05-25 Thread Kenneth Wolcott
Hi, me again :-) I removed my local installation of Primesieve from /usr/local since I'm now using the Primesieve from MacPorts. Now the Perl Primsieve module fails to work because it expects the Primesieve library to be there. I could never get the Raku Primesieve module to install, keeps compl

Re: New Port Request: Primesieve from https://github.com/kimwalisch/primesieve

2024-05-25 Thread Kenneth Wolcott
Wow! Someone did the PrimeSieve port already! I missed that! WOW! On Sat, May 25, 2024 at 12:28 PM Kenneth Wolcott wrote: > > Hi All; > > Revisiting an old thread. > > I'm able to compile Primesieve. > > However, it automatically installs to /usr/local (good place by default). > > Later,

Re: New Port Request: Primesieve from https://github.com/kimwalisch/primesieve

2024-05-25 Thread Kenneth Wolcott
Hi All; Revisiting an old thread. I'm able to compile Primesieve. However, it automatically installs to /usr/local (good place by default). Later, MacPorts complains about includes and libraries located in /usr/local... So I was looking at the distribution to see how to convince the Pri

Re: New Port Request: Primesieve from https://github.com/kimwalisch/primesieve

2023-12-20 Thread Kenneth Wolcott
Hi Ken C; Thank you for the hint. I have gcc13 for Ada installed and I think that the gcc got picked up (it has C as well, not pure Ada, so that Ada can link up with C). Sometimes I think it would be great to have three (or more!) different Macs so that I can customize things without conflic

Re: New Port Request: Primesieve from https://github.com/kimwalisch/primesieve

2023-12-16 Thread Ken Cunningham
I think you have done something like this at some point: sudo port select gcc mp-gcc13 and so things are finding your gcc13 installation when you probably don't really want them to. You want things to find clang instead, so do this: sudo port select gcc none Ken On 2023-12-16, at 8:10 PM, K

Re: New Port Request: Primesieve from https://github.com/kimwalisch/primesieve

2023-12-16 Thread Kenneth Wolcott
Hi Ken C; I was able to install the Perl Primesieve module finally. Now working on the Raku Primesieve module install process. Thanks, Ken W. On Sat, Dec 16, 2023 at 8:03 PM Kenneth Wolcott wrote: > > Hi Ken C; > > I thought I had precisely followed the build instructions > previously. I

Re: New Port Request: Primesieve from https://github.com/kimwalisch/primesieve

2023-12-16 Thread Kenneth Wolcott
Hi Ken C; I thought I had precisely followed the build instructions previously. I must have built from the wrong directory and as a result the linkage error(s) occurred.. Seems to work fine with your instructions. I feel really stupid :-( Thanks... Ken W. port installed | grep cmake c

Re: New Port Request: Primesieve from https://github.com/kimwalisch/primesieve

2023-12-16 Thread Kenneth Wolcott
Hi Ken C.; Thanks, but I could not get it to compile on my machine (M1, Sonoma 14.2). I think I got a link error, don't recall right now. Another time I got an assert failure at the link stage. Ken W. On Sat, Dec 16, 2023 at 7:37 PM Ken Cunningham wrote: > > Someone can make a port for this,

Re: New Port Request: Primesieve from https://github.com/kimwalisch/primesieve

2023-12-16 Thread Ken Cunningham
Someone can make a port for this, but here you are for a quickie, to show you how this is done: % sudo port install cmake % git clone --depth=1 https://github.com/kimwalisch/primesieve % cd primesieve % mkdir build % cd build % cmake .. % make % ./primesieve 100 --count --print 2 3 5 7 11 13

New Port Request: Primesieve from https://github.com/kimwalisch/primesieve

2023-12-15 Thread Kenneth Wolcott
ants Perl 5.36 or newer, and some of the MacPorts ports that I have require Perl 5.34, so I can't get the Perl modules to install into 5.36. So I tried to build my own Perl 5.38 and install modules there, which mostly works... Oh, I'm quite frustrated; hard to tell, no? Thanks, Ke