Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 106581
Status: new
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: m.w.j.west [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: cpanp on cygwin [MSG] re: $APPDATA $PERL5_CPANPLUS_HOME: I can not fix
Date: Fri, 21 Aug 2015 10:20:42 -0400
To: bug-CPANPLUS [...] rt.cpan.org
From: Mike West <m.w.j.west [...] gmail.com>
Thanks for your fantastic support for perl. I am trying to use CPANPLUS. I get these annoying messages on starting up cpanp on cygwin MSWin, and was wondering what to change? I tried the suggestions, am stumped. I did check the CPANPLUS:FAQ ;) "[MSG] 'APPDATA' env var is set and not on MSWin32, please use 'PERL5_CPANPLUS_HOME' instead to change .cpanplus location [MSG] 'APPDATA' env var is set and not on MSWin32, please use 'PERL5_CPANPLUS_HOME' instead to change .cpanplus location" Here is further information that may help. Thanks very much for any help. Maybe this is only a bug for those who do not understand the [MSG]. CPANPLUS-0.9154 westmj@acer-mike ~ $ uname -a CYGWIN_NT-6.3 acer-mike 2.2.1(0.289/5/3) 2015-08-20 11:42 x86_64 Cygwin westmj@acer-mike ~ $ echo $APPDATA C:\Users\westmj\AppData\Roaming westmj@acer-mike ~ $ echo $PERL5_CPANPLUS_HOME westmj@acer-mike ~ $ export PERL5_CPANPLUS_HOME=/home/westmj westmj@acer-mike ~ $ echo $PERL5_CPANPLUS_HOME /home/westmj westmj@acer-mike ~ $ ls -la total 4344 drwx---r-x+ 1 westmj westmj 0 Aug 20 18:36 . drwx---rwt+ 1 westmj westmj 0 Aug 6 08:55 .. -rw------- 1 westmj westmj 6549 Aug 21 08:53 .bash_history -rwx---r-x 1 westmj westmj 1494 Aug 6 08:54 .bash_profile -rwx---r-x 1 westmj westmj 6453 Aug 6 11:01 .bashrc drwx---r-x+ 1 westmj westmj 0 Aug 20 18:07 .cpan drwx---r-x+ 1 westmj westmj 0 Aug 20 19:04 .cpanplus drwx---r-x+ 1 westmj westmj 0 Aug 20 09:31 .cpanreporter drwx---r-x+ 1 westmj westmj 0 Aug 20 09:30 .cpantesters -rwx---r-x 1 westmj westmj 1919 Aug 6 08:54 .inputrc -rwx---r-x 1 westmj westmj 110 Aug 13 08:07 .minicpanrc -rwx---r-x 1 westmj westmj 107 Aug 13 08:07 .minicpanrc~ -rw----r-- 1 westmj westmj 14 Aug 10 18:02 .minttyrc -rwx---r-x 1 westmj westmj 1236 Aug 6 08:54 .profile drwx---r-x+ 1 westmj westmj 0 Aug 20 18:36 AppData -rwx---r-x 1 westmj westmj 6054 Aug 6 08:55 bashrc_original -rw----r-- 1 westmj westmj 0 Aug 13 16:57 error.txt -rw------- 1 westmj westmj 1854 Aug 6 11:53 metabase_id.json -rw----r-- 1 westmj westmj 934067 Aug 11 15:19 minicpan01.txt -rw----r-- 1 westmj westmj 262 Aug 11 15:23 minicpan02.txt -rw------- 1 westmj westmj 2746987 Aug 11 17:12 nohup.out drwx---r-x+ 1 westmj westmj 0 Aug 20 17:55 perl5 drwx---r-x+ 1 westmj westmj 0 Aug 13 08:17 public_html -rw----r-- 1 westmj westmj 494055 Aug 7 23:45 run_minicpan.txt -rw----r-- 1 westmj westmj 134452 Aug 20 10:12 smoker01.txt -rw----r-- 1 westmj westmj 58991 Aug 12 19:03 smoker02.txt westmj@acer-mike ~ $ ls -la .cpanplus/* -rw----r-- 1 westmj westmj 235550 Aug 20 18:59 .cpanplus/01mailrc.txt.gz -rw----r-- 1 westmj westmj 1720927 Aug 20 19:02 .cpanplus/02packages.details.txt.gz -rw----r-- 1 westmj westmj 445764 Aug 20 18:59 .cpanplus/02packages.details.txt.gz-4572 -rw----r-- 1 westmj westmj 81 Aug 21 08:41 .cpanplus/history -rw----r-- 1 westmj westmj 42522565 Aug 20 19:02 .cpanplus/sourcefiles.s2.53.c0.9154.stored .cpanplus/5.22.0: total 4 drwx---r-x+ 1 westmj westmj 0 Aug 20 19:02 . drwx---r-x+ 1 westmj westmj 0 Aug 20 19:04 .. drwx---r-x+ 1 westmj westmj 0 Aug 20 19:02 build .cpanplus/authors: total 4 drwx---r-x+ 1 westmj westmj 0 Aug 20 19:02 . drwx---r-x+ 1 westmj westmj 0 Aug 20 19:04 .. drwx---r-x+ 1 westmj westmj 0 Aug 20 19:02 id .cpanplus/install-logs: total 8 drwx---r-x+ 1 westmj westmj 0 Aug 20 19:04 . drwx---r-x+ 1 westmj westmj 0 Aug 20 19:04 .. -rw----r-- 1 westmj westmj 3544 Aug 20 19:04 Task-CPANPLUS-Metabase-0.08-1440111849.log .cpanplus/lib: total 4 drwx---r-x+ 1 westmj westmj 0 Aug 20 18:28 . drwx---r-x+ 1 westmj westmj 0 Aug 20 19:04 .. drwx---r-x+ 1 westmj westmj 0 Aug 20 18:28 CPANPLUS westmj@acer-mike ~ *$ cpanp* *[MSG] 'APPDATA' env var is set and not on MSWin32, please use 'PERL5_CPANPLUS_HOME' instead to change .cpanplus location* *[MSG] 'APPDATA' env var is set and not on MSWin32, please use 'PERL5_CPANPLUS_HOME' instead to change .cpanplus location* CPANPLUS::Shell::Default -- CPAN exploration and module installation (v0.9154) *** Please report bugs to <bug-cpanplus@rt.cpan.org>. *** Using CPANPLUS::Backend v0.9154. ReadLine support enabled. *** Type 'p' now to show start up log Did you know... You can turn off these tips using 's conf show_startup_tip 0' CPAN Terminal> p [MSG] [Fri Aug 21 09:47:20 2015] 'APPDATA' env var is set and not on MSWin32, please use 'PERL5_CPANPLUS_HOME' instead to change .cpanplus location [MSG] [Fri Aug 21 09:47:20 2015] 'APPDATA' env var is set and not on MSWin32, please use 'PERL5_CPANPLUS_HOME' instead to change .cpanplus location [MSG] [Fri Aug 21 09:47:22 2015] Found config 'CPANPLUS::Config::User' [MSG] [Fri Aug 21 09:47:22 2015] Loading config 'CPANPLUS::Config::User' [MSG] [Fri Aug 21 09:47:22 2015] Loaded 'CPANPLUS::Config::User' (/home/westmj/.cpanplus/lib/CPANPLUS/Config/User.pm) [MSG] [Fri Aug 21 09:47:22 2015] Found config 'CPANPLUS::Config::HomeEnv' [MSG] [Fri Aug 21 09:47:22 2015] Loading config 'CPANPLUS::Config::HomeEnv' [MSG] [Fri Aug 21 09:47:22 2015] Loaded 'CPANPLUS::Config::HomeEnv' (/home/westmj/perl5/lib/perl5/CPANPLUS/Config/HomeEnv.pm) (END) CPAN Terminal> q Exiting CPANPLUS shell westmj@acer-mike ~ $ perl -V Summary of my perl5 (revision 5 version 22 subversion 0) configuration: Platform: osname=cygwin, osvers=2.0.4(0.28753), archname=cygwin-thread-multi uname='cygwin_nt-6.3 cygwin 2.0.4(0.28753) 2015-06-09 12:22 x86_64 cygwin ' config_args='-d -e -Dprefix=/usr -Dmksymlinks -Darchname=x86_64-cygwin-threads -Dlibperl=cygperl5_22.dll -Dcc=gcc -Dld=g++ -Accflags=-ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/build=/usr/src/debug/perl-5.22.0-1 -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/src/perl-5.22.0=/usr/src/debug/perl-5.22.0-1 -fwrapv' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/build=/usr/src/debug/perl-5.22.0-1 -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/src/perl-5.22.0=/usr/src/debug/perl-5.22.0-1 -fwrapv -fno-strict-aliasing -fstack-protector-strong -D_FORTIFY_SOURCE=2', optimize='-O3', cppflags='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/build=/usr/src/debug/perl-5.22.0-1 -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/src/perl-5.22.0=/usr/src/debug/perl-5.22.0-1 -fwrapv -fno-strict-aliasing -fstack-protector-strong' ccversion='', gccversion='4.9.3', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags =' -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector-strong -L/usr/local/lib' libpth=/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/include-fixed /usr/lib /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../lib/../include/w32api /usr/local/lib /lib libs=-lpthread -ldb -ldl -lcrypt perllibs=-lpthread -ldl -lcrypt libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=cygperl5_22.dll gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -L/usr/local/lib -fstack-protector-strong' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under cygwin Compiled at Jul 12 2015 18:24:40 %ENV: PERL5LIB="/home/westmj/perl5/lib/perl5" PERL5_CPANPLUS_HOME="/home/westmj" PERL_LOCAL_LIB_ROOT="/home/westmj/perl5" PERL_MB_OPT="--install_base "/home/westmj/perl5"" PERL_MM_OPT="INSTALL_BASE=/home/westmj/perl5" @INC: /home/westmj/perl5/lib/perl5/cygwin-thread-multi /home/westmj/perl5/lib/perl5 /usr/lib/perl5/site_perl/5.22/x86_64-cygwin-threads /usr/lib/perl5/site_perl/5.22 /usr/lib/perl5/vendor_perl/5.22/x86_64-cygwin-threads /usr/lib/perl5/vendor_perl/5.22 /usr/lib/perl5/5.22/x86_64-cygwin-threads /usr/lib/perl5/5.22 . westmj@acer-mike ~ $

Message body is not shown because it is too large.