Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

PPM: Cant find any packages that provides MinGW ?!

by AlexTape (Monk)
on Sep 09, 2013 at 13:51 UTC ( [id://1053014]=perlquestion: print w/replies, xml ) Need Help??

AlexTape has asked for the wisdom of the Perl Monks concerning the following question:

omniscient monks,

i´m exhausted by installing cpan/ppm support for activestate perl 5.16.1 on a windows machine..
C:\>perl -v This is perl 5, version 16, subversion 1 (v5.16.1) built for MSWin32-x +86-multi-t hread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2012, Larry Wall Binary build 1601 [296175] provided by ActiveState http://www.ActiveSt +ate.com Built Aug 30 2012 20:08:55 Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge. C:\>perl -V Summary of my perl5 (revision 5 version 16 subversion 1) configuration +: Platform: osname=MSWin32, osvers=5.2, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=und +ef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D +_CONSOLE - DNO_STRICT -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT +_CONTEXT - DPERL_IMPLICIT_SYS -DUSE_PERLIO -D_USE_32BIT_TIME_T', optimize='-MD -Zi -DNDEBUG -O1', cppflags='-DWIN32' ccversion='12.00.8168', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64 +', lseeksi ze=8 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -l +ibpath:"C: \Perl516\Perl\lib\CORE" -machine:x86' libpth=\lib libs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib +comdlg32.l ib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid. +lib ws2_32 .lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib comctl32.l +ib msvcrt. lib perllibs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.l +ib comdlg 32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib u +uid.lib ws 2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib comctl +32.lib msv crt.lib libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl516.lib gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt: +ref,icf - libpath:"C:\Perl516\Perl\lib\CORE" -machine:x86' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PL_OP_SLAB +_ALLOC USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF USE_SITECUSTOMIZE Locally applied patches: ActivePerl Build 1601 [296175] Built under MSWin32 Compiled at Aug 30 2012 20:08:55 %ENV: PERL_HOME="C:\Perl516\Perl" @INC: C:/Perl516/Perl/site/lib C:/Perl516/Perl/lib . C:\>cpan It looks like you don't have a C compiler and make utility installed. + Trying to install dmake and the MinGW gcc compiler using the Perl Package Man +ager. This may take a a few minutes... ppm.bat install failed: Can't find any package that provides MinGW It looks like the installation of dmake and MinGW has failed. You wil +l not be able to run Makefile commands or compile C extension code. Please +check your internet connection and your proxy settings! cpan shell -- CPAN exploration and modules installation (v2.00) Enter 'h' for help. cpan> ←[31mCaught SIGINT, trying to continue←[0m ←[32mLockfile removed.←[0m Terminate batch job (Y/N)? y C:\>ppm install MinGW ppm install failed: Can't find any package that provides MinGW C:\>
so.. what i dont mind of?!
it looks like ppm is not able to fetch the repository.. but i dont know how to fix that?!
kindly, perlig

edit: proxy is already set
edit: it´s not only about MinGW - ppm is not able to install -ANY- package..

$perlig =~ s/pec/cep/g if 'errors expected';

Replies are listed 'Best First'.
Re: PPM: Cant find any packages that provides MinGW ?!
by Random_Walk (Prior) on Sep 09, 2013 at 13:56 UTC

    Are you behind a proxy? If so try setting the http_proxy environment variable. and test ppm is happy with your settings.

    Cheers,
    R.

    Pereant, qui ante nos nostra dixerunt!
      yes, i set HTTP_proxy in cmd env, but wont work.. cpan is able to i/foo/ but ppm is still in the dark ~
      $perlig =~ s/pec/cep/g if 'errors expected';

        As MinGW is not really a Perl package but a compiler you might want to try to install it manually from http://www.mingw.org/

        i set HTTP_proxy on the PATH env, but wont work

        So, you have damaged $ENV{'PATH'}, but $ENV{'HTTP_proxy'} is still missing, and things don't work as expected. Perhaps you should read and understand Random_Walk's posting.

        Alexander

        --
        Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Re: PPM: Cant find any packages that provides MinGW ?! (verbosity debugging tracing logging)
by Anonymous Monk on Sep 09, 2013 at 21:19 UTC
      awesome! thank you! :)
      $perlig =~ s/pec/cep/g if 'errors expected';
Re: PPM: Cant find any packages that provides MinGW ?!
by gri6507 (Deacon) on Sep 09, 2013 at 18:03 UTC
    i´m exhausted by installing cpan/ppm support for activestate perl 5.16.1 on a windows machine..

    I know this is not a direct answer to your question, but for what it's worth, I have had only limited luck with finiding the desired ppm's for ActiveState Perl on Windows. Instead, I use Strawberry Perl which seems to have no problems at all using the CPAN module to install and compile everything I throw at it.

Re: PPM: Cant find any packages that provides MinGW ?!
by syphilis (Archbishop) on Sep 09, 2013 at 23:10 UTC
    Hi,

    No problem here in downloading from ActiveState's 5.16 repo:
    C:\sisyphusion>ppm install Math::FFT Downloading ActiveState Package Repository packlist...done Updating ActiveState Package Repository database...done Downloading Math-FFT-1.28...done Unpacking Math-FFT-1.28...done Generating HTML for Math-FFT-1.28...done Updating files in site area...done 6 files installed C:\sisyphusion>ppm repo list id pkgs  name  1 14693 ActiveState Package Repository (1 enabled repository)
    This would further indicate that your problem is a configuration/connection issue (as has already been suggested).
    Run ppm help for documentation regarding commands you can run that might help you work out what has gone wrong.

    Cheers,
    Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1053014]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-28 14:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found