|Subject:||Color wrapper causes 'perlbrew install' to always fail.|
|Date:||Sat, 10 Apr 2010 14:29:25 -0700 (PDT)|
|To:||bug-App-perlbrew [...] rt.cpan.org|
|From:||David Yingling <deeelwy [...] yahoo.com>|
Color wrapper is a awesome utility that adds color to the supported utilities you run using terminal escape codes. Its website is, and you can read about it at Anyway you install color wrapper by messing with your $PATH just like perlbrew does. You add a line to your .bashrc such as export PATH="/usr/local/lib/cw:$PATH" The bug is that when you run perlbrew install 'whatever version of perl' the install *always* fails at exactly the same place. Attached is my perlbrew build.log, which details the exact weird failures for each attempted install. Note: the weird ESC:\\ whatever characters are the escape characters that color wrapper inserts into stdout to turn on color. If you want to see what build.log looks like with color on view it with the 'most' pager, which includes escape terminal color support. I have no idea how to fix this, and I don't really have the time to investigate it, but I may as well report it. I did find a workaround, which is to disable color wrapper, whenever you want to run perlbrew install by removing its directory from your $PATH. Please look into this bug and thanks for perlbrew as it makes managing different perl versions very easy. Also perl -V and uname -a are pasted below. Thanks, Dave. perl -V This is perl, v5.10.1 (*) built for x86_64-linux Copyright 1987-2009, Larry Wall 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 kit. 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 , the Perl Home Page. [dly@betty] ***   *** [~] $ /usr/local/bin/perl -V Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=linux, osvers=22.214.171.124-aacraid, archname=x86_64-linux uname='linux betty 126.96.36.199-aacraid #2 smp mon sep 28 01:40:26 edt 2009 x86_64 intel(r) core(tm)2 duo cpu e8400 @ 3.00ghz genuineintel gnulinux ' config_args='-de' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.3.3', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64 libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.9.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.9' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO Built under linux Compiled at Oct 5 2009 00:52:42 @INC: /usr/local/lib/perl5/5.10.1/x86_64-linux /usr/local/lib/perl5/5.10.1 /usr/local/lib/perl5/site_perl/5.10.1/x86_64-linux /usr/local/lib/perl5/site_perl/5.10.1 . uname -a Linux betty 188.8.131.52-aacraid #3 SMP Tue Dec 8 23:31:28 EST 2009 x86_64 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz GenuineIntel GNU/Linux
Message body not shown because it is not plain text.