At 10:07 AM -0600 1/3/00, Jefferson R. Lowrey wrote: >I wanted to Get Some Work Done this weekend. Much to my chagrin, I >realized that my home MacPerl folder was a basic MacPerl install, without >cpan-mac or Bundle::CPAN (and without several of the modules that I wanted >to Get Some Work Done With). You really Should Not Have Done This. *Don't* assume the Bundles=20 will work under MacPerl, because in general they won't. The=20 instructions that CPAN.pm gives you when there's an upgrade available=20 are for Unix users. > >So I downloaded cpan-mac.latest, and tried to get up to speed. I ran into >several problems. I'm currently trying to duplicate them here at work. > >What I'm running into right now is: ># Could not gzopen :.cpan:sources:authors:id:PMQS:Compress-Zlib-1.07.tar.g= z. >File 'Jeff-HD:Jeff:MacPerl =9F:site_perl:CPAN.pm'; Line 4207 This will do you no good at all unless you can build XS. In any=20 event, there are problems with Compress-Zlib-1.07. I recommend=20 sticking with 1.05 or below. > ># Could not gzopen :.cpan:sources:authors:id:GBARR:Bundle-libnet-1.00.tar.= gz. >File 'Jeff-HD:Jeff:MacPerl =9F:site_perl:CPAN.pm'; Line 4207 > ># Could not gzopen :.cpan:sources:authors:id:GBARR:libnet-1.0607.tar.gz. >File 'Jeff-HD:Jeff:MacPerl =9F:site_perl:CPAN.pm'; Line 4207 > >I've done an installme install of the files that were left in my .cpan, an= d >they worked fine. At home, I was getting errors along the lines of "Cannot >chdir to .cpan:folder:folder:module as it is not a folder" when dropping >the .tar.gz file on installme (after unpacking). Dropping the unpacked >folder finished the installation. > >At this point, having installed the above modules, I get: ># No such signal: SIGPIPE. >File 'Jeff-HD:Jeff:MacPerl =9F:site_perl:Net:Cmd.pm'; Line 169 ># No such signal: SIGPIPE. >File 'Jeff-HD:Jeff:MacPerl =9F:site_perl:Net:Cmd.pm'; Line 167 >a bunch of times and then These you can ignore. All they're telling you, correctly, is that=20 there's no SIGPIPE in MacPerl. Comment it out if you want. > ># Could not gzopen :.cpan:sources:authors:id:KJALB:TermReadKey-2.14.tar.gz= . >File 'Jeff-HD:Jeff:MacPerl =9F:site_perl:CPAN.pm'; Line 4207 > >So I install that. After yet again launching cpan-shell and >install Bundle::CPAN >I get a whole bunch of No Such Signals and > ># Could not open >:.cpan:build:ILYAZ000:Makefile.PL >File 'Jeff-HD:Jeff:MacPerl =9F:site_perl:CPAN.pm'; Line 4054 > >So, now I drop the .tar.gz for Term-ReadLine and get ># Can't chdir Jeff-HD:Jeff:MacPerl >=9F:scripts:.cpan:sources:authors:id:ILYAZ:modules:Term-ReadLine-Perl-0.99= 0: >No such file or directory > >Which is exactly the error I was getting at home. As at home, if I drop >the unpacked folder on installme, no problems. > >And now for the *real* problem. After all these installs, when I relaunch >cpan-shell to try and finish installing Bundle::CPAN 1.51 I get: >cpan shell -- CPAN exploration and modules installation (v1.50) >ReadLine support enabled > ># Can't ioctl TIOCGETP: Operation not supported on socket >Consider installing Term::ReadKey from CPAN site nearby >=09at http://www.perl.com/CPAN >Or use >=09perl -MCPAN -e shell >to reach CPAN. Falling back to 'stty'. >=09If you do not want to see this warning, set PERL_READLINE_NOWARN >in your environment. >cpan> # Use of uninitialized value. >File 'Jeff-HD:Jeff:MacPerl =9F:site_perl:Term:ReadLine:readline.pm'; Line = 973 ># Use of uninitialized value. >File 'Jeff-HD:Jeff:MacPerl =9F:site_perl:Term:ReadLine:readline.pm'; Line = 973 ># Use of uninitialized value. >File 'Jeff-HD:Jeff:MacPerl =9F:site_perl:Term:ReadLine:readline.pm'; Line = 973 ># Use of uninitialized value. >File 'Jeff-HD:Jeff:MacPerl =9F:site_perl:Term:ReadLine:readline.pm'; Line = 973 > >And boy do I get a lot of the use of unitialized values. With associated >beeping. I don't have the patience to sit through them to see if they eve= r >stop. > >Anyone want to confirm or deny this? Any help? Drag your site_perl folder to the trash. Reinstall *only* cpan-mac.=20 Whatever you need is in there. Do *not* attempt to install=20 Bundle::CPAN. You can, if you want, upgrade CPAN.pm itself to 1.51=20 ("install CPAN"). > >-Jeff Lowrey -- Paul Schinder schinder@pobox.com =3D=3D=3D=3D Want to unsubscribe from this list? =3D=3D=3D=3D Send mail with body "unsubscribe" to macperl-modules-request@m= acperl.org