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,

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

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

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

Re: Idiomatic process for handling needed external language modules for which there is no port

2023-12-16 Thread Bill Cole
On 2023-12-15 at 23:57:47 UTC-0500 (Fri, 15 Dec 2023 20:57:47 -0800) Kenneth Wolcott is rumored to have said: Idiomatic process for handling needed external language modules for which there is no port Hi; I'm trying to understand how to logically handle external modules for a language

Re: Idiomatic process for handling needed external language modules for which there is no port

2023-12-16 Thread Joshua Root
How do you do package management on MacPorts for languages which might need modules which MacPorts doesn't have? This problem exists for many languages supported by MacPorts; ie: Perl, Python, Raku, Julia, etc The answer is different for each language. For Python, standard procedure is to