Talk:Twin primes: Difference between revisions
m
no edit summary
(→Brun's Theorem Exention?: I can't spell "extention" apparenty...) |
mNo edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 5:
== Brun's Theorem Extention? ==
Even though the task currently isn't testing the conjecture, it prompted me to read about the it on the Wikipedia.
<br><br>
I see that that Viggo Brun proved that the sum of the
<br>
Testing this lead to the discovery of the division bug in the early Pentium chips by Thomas Nicely (according the Wikipedia page on Brun's Theorem).
<br><br>
It would be simple to add calculating the sum of the
NB: 5 is the only prime in two twin pairs.
<br><br>
--[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 14:53, 27 July 2020 (UTC)
<br><br>
== Primesieve is broken for Perl and Raku ==
Primesieve is broken for Perl and Raku
No Rosetta Code Tasks for Perl or Raku can be executed because I can't install the module.
If this is based on the GitHub Primesieve package, I can't build that one either.
I don't know how to report broken Perl Modules to CPAN
Primesieve.h can't be found.
Excerpt from my attempt to install Primesieve using cpanm (same error using cpan)...
Primesieve.xs:9:10: fatal error: 'primesieve.h' file not found
<nowiki>#</nowiki>include <primesieve.h>
<nowiki> ^~~~~~~~~~~~~~</nowiki>
1 error generated.
make: *** [Primesieve.o] Error 1
-> FAIL Installing Primesieve failed. [[User:Retired Build Engineer|Retired Build Engineer]] ([[User talk:Retired Build Engineer|talk]]) 03:47, 11 December 2023 (UTC)
: Primesieve is not broken for Raku. I literally, just yesterday, did a fresh install of Linux Mint, built from source and installed Raku and (among many other modules,) Math::Primesieve, so it was working as of yesterday. Did you follow the [https://raku.land/github:CurtTilmes/Math::Primesieve Math::Primesieve Readme] directions and install the primesieve development package first? It contains the various header files needed for the module to function. <code>sudo apt install libprimesieve-dev</code> for Debian based distributions. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 22:58, 11 December 2023 (UTC)
:: concurring here: Perl's xs file in the package wants the C compiler's primesieve package installed first, since that is where compiling C for the Perl package gets that missing header file. You might also want to see if you can find a precompiled CPAN package for your OS. --[[User:Wherrera|Wherrera]] ([[User talk:Wherrera|talk]]) 02:04, 12 December 2023 (UTC)
|