Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Exploring Inline::C (Generating primes)

by davido (Archbishop)
on Oct 25, 2011 at 16:28 UTC ( #933652=note: print w/ replies, xml ) Need Help??


in reply to Re: Exploring Inline::C (Generating primes)
in thread Exploring Inline::C (Generating primes)

Well that's strange. I've tested on the following Perls:

  • Windows Vista Home Premium 64 bit / Strawberry Perl version 5.12.3
  • Ubuntu Linux 32 bit version 11.10 / System Perl version 5.12.4
  • Ubuntu Linux 32 bit version 11.10 / Perlbrew-managed Perl version 5.14.2

Is it possible that your Inline::C is installed using a different compiler from the one used to compile Perl? That can make a difference. When I installed using cpan Inline::C, I was prompted for which compiler to use, but the default had already detected the compiler used to compile Perl, so I just accepted the default.

Test::More is used by just about every module you install, so I would be more inclined to put the blame on Inline::C than on Test::More.


Dave


Comment on Re^2: Exploring Inline::C (Generating primes)
Download Code
Replies are listed 'Best First'.
Re^3: Exploring Inline::C (Generating primes)
by wazoox (Prior) on Oct 26, 2011 at 21:08 UTC
    Is it possible that your Inline::C is installed using a different compiler from the one used to compile Perl?

    No, I've compiled 5.14 myself on this same machine, so the same compiler was used to build the whole setup. But that maybe indeed the problem : maybe I'm running the original system perl? I'll double check and retry.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://933652]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2015-07-29 03:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls