Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Need help with CPAN gone awry

by jlk (Hermit)
on Sep 15, 2007 at 15:20 UTC ( [id://639176]=note: print w/replies, xml ) Need Help??


in reply to Re: Need help with CPAN gone awry
in thread Need help with CPAN gone awry

Thank you very much shmem, I really appreciate your replying. I will definitely look into setting up to install modules the way you mentioned as it is always good to have another way to install them.

Unfortunately, the module "CGI" is not part of the RPM's. They seem to have the other CGI modules and whatnot, but not that one. Do you have any idea what the issue could be with the way my machine is presently configured to install modules? I would love to get that method working again, as well. Thanks! Jeff

"Every time Linux boots, a penguin gets its wings"

Replies are listed 'Best First'.
Re^3: Need help with CPAN gone awry
by shmem (Chancellor) on Sep 15, 2007 at 16:01 UTC
    it is always good to have another way to install them.

    More than being "another way", it is always good to install packages in a OS compliant way. And that's RPM and yum on Fedora.

    Unfortunately, the module "CGI" is not part of the RPM's.

    It isn't, because it's in perl core:

    qwurx [shmem] ~ > cat /etc/redhat-release Fedora release 7 (Moonshine) qwurx [shmem] ~ > perl -MCGI -le 'print $INC{"CGI.pm"}' /usr/lib/perl5/5.8.8/CGI.pm qwurx [shmem] ~ > rpm -qf /usr/lib/perl5/5.8.8/CGI.pm perl-5.8.8-23.fc7

    No need to install CGI.

    update: while you're at it, do a

    rpm -q perl-Compress-Zlib

    If it isn't there, do a yum install perl-Compress-Zlib :-)

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

      Sorry it took so long to get back on your suggestions. I did the "rpm" you suggested and it came back with:

      perl-Compress-Zlib-1.42-1.fc6

      and went back to the command prompt. Also, I tried the yum command also and it kicked back with the message, "Nothing to do", which tells me it is installed.

      I am really bewildered as to why this does not want to work. Any suggestions that anyone has as to why this isn't working and how to get it to work is greatly appreciated as I am stumped.

      Regards, Jeff

      "Every time Linux boots, a penguin gets its wings"

        Are you up to date wrt your Fedora packages? Do a yum update.

        I have the same version of perl-Compress-Zlib and no problems whatsoever. Just between reading your note and writing this reply, I did a

        cpanflute2 --buildall --test --email "shmem <shmem@cpan.org>" \ /home/shmem/MINICPAN/authors/id/A/AN/ANDK/Bundle-CPAN-1.856.tar.gz ... ... # lotsa noise... ... Wrote: ./perl-Bundle-CPAN-1.856-8.src.rpm Wrote: ./perl-Bundle-CPAN-1.856-8.noarch.rpm ...

        Then, a rpm -ivh perl-Bundle-CPAN-1.856-8.noarch.rpm and all done (I have a minicpan repository locally in /home/shmem/MINICPAN).

        What is your perl package version? I have perl-5.8.8-23.fc7.

        --shmem

        _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                      /\_¯/(q    /
        ----------------------------  \__(m.====·.(_("always off the crowd"))."·
        ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-25 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found