On Fri, 26 Aug 2005, Anil Kumar, Malyala wrote: > I have issued the command "sudo perl -MCPAN -e shell", but giving > error So then issued "perl -MCPAN -e shell" > > Still it is executing... How much time does it take > The last statement showing is > Issuing "C:\WINDOWS\system32\ftp.EXE -n" > Local directory now C:\perl\.cpan\sources. > GOT C:\perl\.cpan\sources\MIRRORED.BY > You have an empty C:\perl\.cpan\sources\MIRRORED.BY, > I'm trying to fetch one > Issuing "C:\WINDOWS\system32\ftp.EXE -n" > Local directory now C:\perl\.cpan\sources. > GOT C:\perl\.cpan\sources\MIRRORED.BY > You have an empty C:\perl\.cpan\sources\MIRRORED.BY, > I'm trying to fetch one > Issuing "C:\WINDOWS\system32\ftp.EXE -n" > Local directory now C:\perl\.cpan\sources. > > > Can [yo]u help me out ?
[Yo]u didn't mention that you're on Windows, that changes things. On *nix systems (Linux, Unix, OSX, Solaris, Irix, BSD, etc), you have a proper shell environment and can generally count on these things more or less just working. But you're on Windows. Sorry about that. It may be that your network firewall is blocking FTP access, in which case you'll have to figure out a way to enable passive FTP. On *NIX, you can generally do this by setting FTP_PASSIVE=1 in your environment, but I don't program on Windows and I don't know how it's done on that side. The bigger problem though is that you may or may not need a compiler. If the module has a C component, you'll need one; if you have Visual Studio you might have one, or if you install GCC (hint: Cygwin.com) you can just pretend you're on *nix and do things the traditional way. If you get stuck on this though, your best bet may be to find a PPM package of the module you're looking for. I can't help you there, as I haven't touched PPM in years at this point, but it's generally pretty easy to read the documentation and get things installed that way. Alternatively, you could just specify what you're trying to do and just forego the module in the first place. I haven't used the one you're asking for before, but just from the title, it sounds like it might not be hard to just come up with your own version with a little work. Again, good luck, and this time, please send any replies to the LIST, not to me directly. I read the list and will get the copy there. If it goes to me, I just bounce it to the list anyway and reply to that. Thanks. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>