Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > on windows 7 / cygwin / perl / cpan - cannot install Math::Prime::XS

Reply
Thread Tools

on windows 7 / cygwin / perl / cpan - cannot install Math::Prime::XS

 
 
SVCitian
Guest
Posts: n/a
 
      11-19-2010
I am unable to install the module: Math:rime::XS

...
Error: no compiler detected to compile 'lib/Math/Prime/XS.c'.
Aborting
SCHUBIGER/Math-Prime-XS-0.22.tar.gz
....

Full Details below...

How to make it work... I have gcc and other compilers for sure..

Please help.


User@UserDell ~
$ cpan

cpan shell -- CPAN exploration and modules installation (v1.9402)
Enter 'h' for help.

cpan[1]> install Math:rime::XS
CPAN: Storable loaded ok (v2.20)
Going to read '/home/User/.cpan/Metadata'
Database was generated on Fri, 19 Nov 2010 07:42:44 GMT
Running install for module 'Math:rime::XS'
CPAN: YAML loaded ok (v0.71)
Running make for S/SC/SCHUBIGER/Math-Prime-XS-0.22.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.02)
Checksum for /home/User/.cpan/sources/authors/id/S/SC/SCHUBIGER/Math-
Prime-XS-0.
22.tar.gz ok
Scanning cache /home/User/.cpan/build for sizes
.................................................. ...........................DONE

CPAN: Archive::Tar loaded ok (v1.52)
Math-Prime-XS-0.22
Math-Prime-XS-0.22/META.yml
Math-Prime-XS-0.22/Makefile.PL
Math-Prime-XS-0.22/Build.PL
Math-Prime-XS-0.22/ppport.h
Math-Prime-XS-0.22/INSTALL
Math-Prime-XS-0.22/XS.xs
Math-Prime-XS-0.22/Changes
Math-Prime-XS-0.22/README
Math-Prime-XS-0.22/MANIFEST
Math-Prime-XS-0.22/lib
Math-Prime-XS-0.22/lib/Math
Math-Prime-XS-0.22/lib/Math/Prime
Math-Prime-XS-0.22/lib/Math/Prime/XS.pm
Math-Prime-XS-0.22/t
Math-Prime-XS-0.22/t/pod.t
Math-Prime-XS-0.22/t/00-load.t
Math-Prime-XS-0.22/t/pod-coverage.t
Math-Prime-XS-0.22/t/functions.t
CPAN: File::Temp loaded ok (v0.22)
CPAN: Module::Build loaded ok (v0.3613)

CPAN.pm: Going to build S/SC/SCHUBIGER/Math-Prime-XS-0.22.tar.gz

cygwin warning:
MS-DOS style path detected: \Users\User
Preferred POSIX equivalent is: /cygdrive/c/Users/User
CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/usin...sing-pathnames
Warning: ExtUtils::CBuilder not installed or no compiler detected
Proceeding with configuration, but compilation may fail during Build

Checking prerequisites...
requires:
! Params::Validate is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the
versions
cpan[2]>

Creating new 'MYMETA.yml' with configuration results
Creating new 'Build' script for 'Math-Prime-XS' version '0.22'
---- Unsatisfied dependencies detected during ----
---- SCHUBIGER/Math-Prime-XS-0.22.tar.gz ----
Params::Validate [requires]
Running Build test
Delayed until after prerequisites
Running Build install
Delayed until after prerequisites
Running install for module 'Params::Validate'
Running make for D/DR/DROLSKY/Params-Validate-0.95.tar.gz
Checksum for /home/User/.cpan/sources/authors/id/D/DR/DROLSKY/Params-
Validate-0.
95.tar.gz ok
Params-Validate-0.95
Params-Validate-0.95/META.yml
Params-Validate-0.95/Changes
Params-Validate-0.95/README
Params-Validate-0.95/TODO
Params-Validate-0.95/MANIFEST
Params-Validate-0.95/SIGNATURE
Params-Validate-0.95/LICENSE
Params-Validate-0.95/Build.PL
Params-Validate-0.95/t
Params-Validate-0.95/t/13-taint.t
Params-Validate-0.95/t/09-regex.t
Params-Validate-0.95/t/14-no_validate.t
Params-Validate-0.95/t/03-attribute.t
Params-Validate-0.95/t/18-depends.t
Params-Validate-0.95/t/06-options.t
Params-Validate-0.95/t/04-defaults.t
Params-Validate-0.95/t/25-undef-regex.t
Params-Validate-0.95/t/23-readonly.t
Params-Validate-0.95/t/27-string-as-type.t
Params-Validate-0.95/t/08-noop_with.t
Params-Validate-0.95/t/05-noop_default.t
Params-Validate-0.95/t/pod.t
Params-Validate-0.95/t/21-can.t
Params-Validate-0.95/t/30-hashref-alteration.t
Params-Validate-0.95/t/22-overload-can-bug.t
Params-Validate-0.95/t/15-case.t
Params-Validate-0.95/t/01-validate.t
Params-Validate-0.95/t/10-noop_regex.t
Params-Validate-0.95/t/17-callbacks.t
Params-Validate-0.95/t/19-untaint.t
Params-Validate-0.95/t/29-taint-mode.t
Params-Validate-0.95/t/28-readonly-return.t
Params-Validate-0.95/t/02-noop.t
Params-Validate-0.95/t/pod-coverage.t
Params-Validate-0.95/t/07-with.t
Params-Validate-0.95/t/24-tied.t
Params-Validate-0.95/t/11-cb.t
Params-Validate-0.95/t/16-normalize.t
Params-Validate-0.95/t/12-noop_cb.t
Params-Validate-0.95/t/26-isa.t
Params-Validate-0.95/t/kwalitee.t
Params-Validate-0.95/t/lib
Params-Validate-0.95/t/lib/PVTests.pm
Params-Validate-0.95/t/lib/PVTests
Params-Validate-0.95/t/lib/PVTests/Regex.pm
Params-Validate-0.95/t/lib/PVTests/With.pm
Params-Validate-0.95/t/lib/PVTests/Standard.pm
Params-Validate-0.95/t/lib/PVTests/Callbacks.pm
Params-Validate-0.95/t/lib/PVTests/Defaults.pm
Params-Validate-0.95/benchmarks
Params-Validate-0.95/benchmarks/basic
Params-Validate-0.95/c
Params-Validate-0.95/c/ppport.h
Params-Validate-0.95/lib
Params-Validate-0.95/lib/Params
Params-Validate-0.95/lib/Params/ValidateXS.pm
Params-Validate-0.95/lib/Params/Validate.pm
Params-Validate-0.95/lib/Params/Validate.xs
Params-Validate-0.95/lib/Params/ValidatePP.pm
Params-Validate-0.95/lib/Attribute
Params-Validate-0.95/lib/Attribute/Params
Params-Validate-0.95/lib/Attribute/Params/Validate.pm
CPAN: Time::HiRes loaded ok (v1.9719)

CPAN.pm: Going to build D/DR/DROLSKY/Params-Validate-0.95.tar.gz

Warning: ExtUtils::CBuilder not installed or no compiler detected
Proceeding with configuration, but compilation may fail during Build

Creating new 'MYMETA.yml' with configuration results
Creating new 'Build' script for 'Params-Validate' version '0.95'
Building Params-Validate
Error: no compiler detected to compile 'lib/Params/Validate.c'.
Aborting
DROLSKY/Params-Validate-0.95.tar.gz
./Build -- NOT OK
Running Build test
Can't test without successful make
Running Build install
Make had returned bad status, install seems impossible
Running Build for S/SC/SCHUBIGER/Math-Prime-XS-0.22.tar.gz
Has already been unwrapped into directory /home/User/.cpan/build/
Math-Prime-XS
-0.22-IX4aZj

CPAN.pm: Going to build S/SC/SCHUBIGER/Math-Prime-XS-0.22.tar.gz

Warning: Prerequisite 'Params::Validate => 0' for 'SCHUBIGER/Math-
Prime-XS-0.22.
tar.gz' failed when processing 'DROLSKY/Params-Validate-0.95.tar.gz'
with 'make
=> NO'. Continuing, but chances to succeed are limited.
Building Math-Prime-XS
Error: no compiler detected to compile 'lib/Math/Prime/XS.c'.
Aborting
SCHUBIGER/Math-Prime-XS-0.22.tar.gz
./Build -- NOT OK
Running Build test
Can't test without successful make
Running Build install
Make had returned bad status, install seems impossible
Failed during this command:
DROLSKY/Params-Validate-0.95.tar.gz : make NO
SCHUBIGER/Math-Prime-XS-0.22.tar.gz : make NO

cpan[2]>
 
Reply With Quote
 
 
 
 
sisyphus
Guest
Posts: n/a
 
      11-20-2010
On Nov 20, 3:22*am, SVCitian <emailsrvr-gro...@yahoo.com> wrote:
> I am unable to install the module: Math:rime::XS


[snip]

> Warning: ExtUtils::CBuilder not installed or no compiler detected


Could it be that the *real* reason it won't build is that
ExtUtils::CBuilder is missing ?

Cheers,
Rob
 
Reply With Quote
 
 
 
 
SVCitian
Guest
Posts: n/a
 
      11-22-2010
On Nov 20, 3:16*pm, sisyphus <sisyphus...@gmail.com> wrote:
> On Nov 20, 3:22*am,SVCitian<emailsrvr-gro...@yahoo.com> wrote:
>
> > I am unable to install the module: Math:rime::XS

>
> [snip]
>
> > Warning: ExtUtils::CBuilder not installed or no compiler detected

>
> Could it be that the *real* reason it won't build is that
> ExtUtils::CBuilder is missing ?
>
> Cheers,
> Rob


I did try to install that separately.. and restarted cygwin.

ExtUtils::CBuilder installed without any errors.. But, then again when
I tried to install the Math:rime::XS... the messages comes back
again.

Please help.
 
Reply With Quote
 
SVCitian
Guest
Posts: n/a
 
      11-22-2010
On Nov 22, 5:51*pm, SVCitian <emailsrvr-gro...@yahoo.com> wrote:
> On Nov 20, 3:16*pm, sisyphus <sisyphus...@gmail.com> wrote:
>
> > On Nov 20, 3:22*am,SVCitian<emailsrvr-gro...@yahoo.com> wrote:

>
> > > I am unable to install the module: Math:rime::XS

>
> > [snip]

>
> > > Warning: ExtUtils::CBuilder not installed or no compiler detected

>
> > Could it be that the *real* reason it won't build is that
> > ExtUtils::CBuilder is missing ?

>
> > Cheers,
> > Rob

>
> I did try to install that separately.. and restarted cygwin.
>
> ExtUtils::CBuilder installed without any errors.. But, then again when
> I tried to install the Math:rime::XS... the messages comes back
> again.
>
> Please help.


Today when I got back home... this is what I have to prove that
ExtUtils::CBuilder is there..

Please see below..

And, I tried to install Math:rime::XS again.. again the same issue
about ExtUtils::CBuilder and the other messages first posted.



$ cpan

cpan shell -- CPAN exploration and modules installation (v1.9402)
Enter 'h' for help.

cpan[1]> install ExtUtils::CBuilder
CPAN: Storable loaded ok (v2.20)
Going to read '/home/User/.cpan/Metadata'
Database was generated on Fri, 19 Nov 2010 07:42:44 GMT
CPAN: LWP::UserAgent loaded ok (v5.835)
CPAN: Time::HiRes loaded ok (v1.9719)
Fetching with LWP:
ftp://mirrors.issp.co.th/cpan/authors/01mailrc.txt.gz
CPAN: YAML loaded ok (v0.71)
Going to read '/home/User/.cpan/sources/authors/01mailrc.txt.gz'
CPAN: Compress::Zlib loaded ok (v2.02)
.................................................. ............................DONE

Fetching with LWP:
ftp://mirrors.issp.co.th/cpan/module...details.txt.gz
Going to read '/home/User/.cpan/sources/modules/
02packages.details.txt.gz'
Database was generated on Mon, 22 Nov 2010 07:30:30 GMT
.................................................. ............................DONE

Fetching with LWP:
ftp://mirrors.issp.co.th/cpan/modules/03modlist.data.gz
Going to read '/home/User/.cpan/sources/modules/03modlist.data.gz'
.................................................. ............................DONE

Going to write /home/User/.cpan/Metadata
ExtUtils::CBuilder is up to date (0.2703).

cpan[2]>

 
Reply With Quote
 
Ilya Zakharevich
Guest
Posts: n/a
 
      11-23-2010
On 2010-11-22, SVCitian <emailsrvr-> wrote:
> Today when I got back home... this is what I have to prove that
> ExtUtils::CBuilder is there..


> ExtUtils::CBuilder is up to date (0.2703).


"That neighbor of mine? Definitely he is OK: I can see light in his window."

To see what is actually the problem, do

perl -MExtUtils::CBuilder -we0

(No output == it can be loaded. *Then* things may be tricky... But
most probably you will get some helpful message...)

Hope this helps,
Ilya
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ 2.6 What modules and extensions are available for Perl? What is CPAN? What does CPAN/src/... mean? PerlFAQ Server Perl Misc 0 03-07-2011 11:00 PM
FAQ 2.6 What modules and extensions are available for Perl? What is CPAN? What does CPAN/src/... mean? PerlFAQ Server Perl Misc 0 01-24-2011 11:00 PM
on windows 7 / cygwin / perl / cpan - cannot make cpan work SVCitian Perl Misc 1 10-22-2010 03:59 PM
Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails carl d. Perl Misc 1 05-10-2005 09:35 PM
install Bundle::CPAN in Cygwin failed sea Perl Misc 1 10-17-2004 11:56 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57