Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^6: CPAN failing to install PAR::Package

by Keiichi (Initiate)
on Jun 17, 2014 at 21:04 UTC ( #1090208=note: print w/replies, xml ) Need Help??

in reply to Re^5: CPAN failing to install PAR::Package
in thread CPAN failing to install PAR::Package

Here you go... Thanks again for your time and effort in helping me with this :).
D:\>perl -V Summary of my perl5 (revision 5 version 18 subversion 2) configuration +: Platform: osname=MSWin32, osvers=6.2, archname=MSWin32-x64-multi-thread uname='Win32 strawberry-perl #1 Tue Apr 15 14:36:23 2014 +x64' 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=define, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL +_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_P +ERLIO -fno- strict-aliasing -mms-bitfields', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='4.7.3', gccosandvers='' intsize=4, longsize=4, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +2 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='lo +ng long', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"D:\strawberry\perl\lib\CORE" -L"D:\straw +berry\c\lib"' libpth=D:\strawberry\c\lib D:\strawberry\c\x86_64-w64-mingw32\lib +D:\strawberry\c\lib\gcc\x86_64-w64-mingw32\4.7.3 libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 +-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -l +mpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdl +g32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_3 +2 -lmpr -lw inmm -lversion -lodbc32 -lodbccp32 -lcomctl32 libc=, so=dll, useshrplib=true, libperl=libperl518.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"D:\strawberry\perl\lib\CORE +" -L"D:\strawberry\c\lib"' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_SAWAM +PERSAND USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF Built under MSWin32 Compiled at Apr 15 2014 14:45:10 %ENV: PERL_JSON_BACKEND="JSON::XS" PERL_MM_OPT="INSTALL_BASE=C:\Users\U0159691\perl5" PERL_YAML_BACKEND="YAML" @INC: D:/strawberry/perl/site/lib D:/strawberry/perl/vendor/lib D:/strawberry/perl/lib .
D:\>perl -MData::Dumper -e "print Dumper \%ENV" $VAR1 = { 'PERL_YAML_BACKEND' => 'YAML', 'CATALINA_HOME' => 'C:\\Program Files\\Apache Software Found +ation\\Tomcat 7.0', 'PROGRAMFILES' => 'C:\\Program Files', 'PROGRAMFILES(X86)' => 'C:\\Program Files (x86)', 'BPADIR' => 'C:\\Program Files (x86)\\Microsoft Team Foundat +ion Server 2010 Power Tools\\Best Practices Analyzer\\', 'COMSPEC' => 'C:\\Windows\\system32\\cmd.exe', 'PROGRAMDATA' => 'C:\\ProgramData', 'PATHEXT' => '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.W +SH;.MSC', 'COMMONPROGRAMW6432' => 'C:\\Program Files\\Common Files', 'USERDNSDOMAIN' => 'TEN.THOMSONREUTERS.COM', 'PROCESSOR_IDENTIFIER' => 'Intel64 Family 6 Model 42 Steppin +g 7, GenuineIntel', 'SITECODE' => '167', 'WINDIR' => 'C:\\Windows', 'PROMPT' => '$P$G', 'PROCESSOR_ARCHITECTURE' => 'AMD64', 'LOCALAPPDATA' => 'C:\\Users\\U0159691\\AppData\\Local', 'ROXIOCENTRAL' => 'C:\\Program Files (x86)\\Common Files\\Ro +xio Shared\\10.0\\Roxio Central36\\', 'PATH' => 'C:\\Windows\\system32;C:\\Windows;C:\\Windows\\Sy +stem32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Pro +gram Files (x86)\\Common Files\\Roxio Shared\\DLLShared\\;C:\\Program Files (x86) +\\Common Files\\Roxio Shared\\10.0\\DLLShared\\;C:\\Program Files\\Em +Editor;C:\\ Program Files (x86)\\Microsoft Team Foundation Server 2010 Power Tools +\\Best Practices Analyzer\\;C:\\Program Files\\Microsoft SQL Server\\ +110\\Tools\ \Binn\\;C:\\Program Files\\Microsoft SQL Server\\100\\DTS\\Binn\\;C:\\ +Program Files (x86)\\Microsoft SQL Server\\100\\Tools\\Binn\\VSShell\ +\Common7\\I DE\\;C:\\Program Files (x86)\\Microsoft SQL Server\\100\\Tools\\Binn\\ +;C:\\Program Files\\Microsoft SQL Server\\100\\Tools\\Binn\\;C:\\Prog +ram Files ( x86)\\Microsoft SQL Server\\100\\DTS\\Binn\\;C:\\Program Files (x86)\\ +QuickTime\\QTSystem\\;D:\\strawberry\\c\\bin;D:\\strawberry\\perl\\si +te\\bin;D:\ \strawberry\\perl\\bin;C:\\Users\\U0159691\\perl5\\bin', 'TERM' => 'dumb', 'LOGONSERVER' => '\\\\C111GGZTGDCG3', 'HOMESHARE' => '\\\\homedir\\U0159691', 'PROCESSOR_REVISION' => '2a07', 'APPDATA' => 'C:\\Users\\U0159691\\AppData\\Roaming', 'COMPUTERNAME' => 'U0159691-TPL-A', 'SESSIONNAME' => 'Console', 'PROCESSOR_LEVEL' => '6', 'HOMEPATH' => '\\', 'ALLUSERSPROFILE' => 'C:\\ProgramData', 'REGION' => 'AMERS', 'COMMONPROGRAMFILES(X86)' => 'C:\\Program Files (x86)\\Commo +n Files', 'USERDOMAIN' => 'TEN', 'PUBLIC' => 'C:\\Users\\Public', 'PERL_JSON_BACKEND' => 'JSON::XS', 'TMP' => 'C:\\Users\\U0159691\\AppData\\Local\\Temp', 'HOMEDRIVE' => 'I:', 'ASL.LOG' => 'Destination=file', 'SYSTYPE' => 'Laptop', 'SYSTEMDRIVE' => 'C:', 'TEMP' => 'C:\\Users\\U0159691\\AppData\\Local\\Temp', 'PROGRAMW6432' => 'C:\\Program Files', 'VS110COMNTOOLS' => 'C:\\Program Files (x86)\\Microsoft Visu +al Studio 11.0\\Common7\\Tools\\', 'PSMODULEPATH' => 'C:\\Windows\\system32\\WindowsPowerShell\ +\v1.0\\Modules\\', 'EMPLOYEEID' => '0159691', 'PERL_MM_OPT' => 'INSTALL_BASE=C:\\Users\\U0159691\\perl5', 'SYSTEMROOT' => 'C:\\Windows', 'TLRCOMPUTER' => 'U0159691-W7A', 'NUMBER_OF_PROCESSORS' => '8', 'USERNAME' => 'U0159691', 'FP_NO_HOST_CHECK' => 'NO', 'UATDATA' => 'C:\\Windows\\SysWOW64\\CCM\\UATData\\D9F8C395- +CAB8-491d-B8AC-179A1FE1BE77', 'COMMONPROGRAMFILES' => 'C:\\Program Files\\Common Files', 'OS' => 'Windows_NT', 'USERPROFILE' => 'C:\\Users\\U0159691' };

Replies are listed 'Best First'.
Re^7: CPAN failing to install PAR::Package
by Anonymous Monk on Jun 17, 2014 at 21:54 UTC

    Looks like we found the problem:

    'PERL_MM_OPT' => 'INSTALL_BASE=C:\\Users\\U0159691\\perl5',
    1. right-click "My Computer" and select "Properties"
    2. find the "Advanced" system settings (tab along the top or option at the left)
    3. click "Environment Variables"
    4. find the PERL_MM_OPT variable and delete it
    5. reboot since hey it's Windows
    6. try the installation via cpan or cpanm again

    If you can't find it, it's likely being set in some custom config / startup file somewhere, which might be a little harder to track down unless you know where it is.

    As a side note, you could remove C:\Users\U0159691\perl5\bin from your PATH while you're at it.

      Fantastic! It worked.

      Thanks again for your help.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1090208]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-09-19 12:34 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (220 votes). Check out past polls.