Loading ...
Sorry, an error occurred while loading the content.
 

Re: ERROR : Can't locate URI.pm in @INC ?

Expand Messages
  • Ruslan U. Zakirov
    ... locate URI.pm ? There is standalone module URI on CPAN. You have to install it. Good luck. Ruslan. ... -- Reporting bugs: http://perl.apache.org/bugs/ Mail
    Message 1 of 2 , Jan 5, 2004
      S D wrote:
      > I am trying to use the LWP module & the perl module
      > contains :
      > --------
      > .
      > .
      > use LWP::UserAgent;
      > .
      > .
      > --------
      >
      > This line throws error :
      >
      > Can't locate URI.pm in @INC (@INC contains:
      > /opt/ora9/product/9.2/Apache/perl/lib/5.00503/i686-linux
      > /opt/ora9/product/9.2/Apache/perl/lib/5.00503
      > /opt/ora9/product/9.2/Apache/perl/lib/site_perl/5.005/i686-linux
      > /opt/ora9/product/9.2/Apache/perl/lib/site_perl/5.005
      > /project/linux/902/APACHE/src/pdc_perl/bin/Linux/Opt/lib/5.00503/i686-linux
      > /project/linux/902/APACHE/src/pdc_perl/bin/Linux/Opt/lib/5.00503
      > /project/linux/902/APACHE/src/pdc_perl/bin/Linux/Opt/lib/site_perl/5.005/i686-linux
      > /project/linux/902/APACHE/src/pdc_perl/bin/Linux/Opt/lib/site_perl/5.005
      > . /opt/ora9/product/9.2/Apache/Apache/
      > /opt/ora9/product/9.2/Apache/Apache/lib/perl
      > /opt/ora9/product/9.2/Apache/perl/lib/5.00503
      > /opt/ora9/product/9.2/Apache/perl/lib/site_perl/5.005)
      > at (eval 14) line 3.
      > B
      > ---
      >
      > Now in the path shown above (below
      > /opt/ora9/product/9.2/Apache/perl/lib/5.00503
      > /opt/ora9/product/9.2/Apache/perl/lib/site_perl/5.005/i686-linux),
      > Apache/URI.pm is present. There is no other file
      > named URI in any other packages.
      locate URI.pm ?

      There is standalone module URI on CPAN. You have to install it.

      Good luck. Ruslan.
      >
      > Also, in the UserAgent.pm, there is no direct
      > reference to any URI.pm module.
      >
      > So, which 'URI.pm' is being referred here & how is it
      > to be included in @INC ?
      >
      > Thanks,
      > S
      >
      > __________________________________
      > Do you Yahoo!?
      > Protect your identity with Yahoo! Mail AddressGuard
      > http://antispam.yahoo.com/whatsnewfree
      >



      --
      Reporting bugs: http://perl.apache.org/bugs/
      Mail list info: http://perl.apache.org/maillist/modperl.html
    Your message has been successfully submitted and would be delivered to recipients shortly.