libwww-perl Problems

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default libwww-perl Problems

    Hi
    I am having problems using the LWP Package, for example if I run CPAN from
    the command line to get a new package I get the error:

    can't locate object method "new" via package "LWP::UserAgent" at line
    *whatever* CPAN.pm,

    and the same error if I try to run any script using the LWP::UserAgent
    package, I am using perl 5.8.0 and have mod_perl running, Ihave tried
    reinstalling libwww-perl, using the MakeFile.PL and it reported all tests
    were ok and it installed ok.

    Does anybody have any suggestions what might be wrong or misconfigured.

    Cheers
    Paul


    Paul Robson Guest

  2. Similar Questions and Discussions

    1. libwww-perl-5.805 install problem on OS X 10.3
      hello, i've tried installing libwww-perl-5.805 on OS X 10.3 but i'm having a problem during the make. the following is the error: make: ***...
    2. libwww-perl 5.803 failures
      I'm building libwww-perl version 5.803 (the latest) on Solaris 10 with perl 5.8.6. libwww-perl fails two tests as below: ...... Manifying...
    3. Trouble installing libwww-perl-5.69 on Solaris 9
      Hello All I can;t seem to manage to succesfully install libwww-perl-5.69 on a Solaris 9 box The make runs just fine...but the make test fails at...
    4. Installing libwww-perl-5.69 on Mac OSX
      Hi, I'm trying to install libwww-perl-5.69 on my OSX machine to run under Perl 5.8.0. The build appears to have gone okay but when I run 'make...
    5. libwww-perl and some failed tests
      Hi, I tried to install the libwww-perl-package (version 5.69) and got some failed tests; like: robot/ua..............ld.so.1:...
  3. #2

    Default Re: libwww-perl Problems

    Just to add to that, I tried using some of the other modules such as
    File::Listing and that worked ok, so the problem seems specfic to the LWP
    Package.

    Paul
    "Paul Robson" <paulrobson@iomartinternet.com> wrote in message
    news:biko8u$hh0$1@hercules.btinternet.com...
    > Hi
    > I am having problems using the LWP Package, for example if I run CPAN from
    > the command line to get a new package I get the error:
    >
    > can't locate object method "new" via package "LWP::UserAgent" at line
    > *whatever* CPAN.pm,
    >
    > and the same error if I try to run any script using the LWP::UserAgent
    > package, I am using perl 5.8.0 and have mod_perl running, Ihave tried
    > reinstalling libwww-perl, using the MakeFile.PL and it reported all tests
    > were ok and it installed ok.
    >
    > Does anybody have any suggestions what might be wrong or misconfigured.
    >
    > Cheers
    > Paul
    >
    >

    Paul Robson Guest

  4. #3

    Default Re: libwww-perl Problems

    All,
    I too am having problems with LWP. Mine are slightly different.
    I installed mod_perl-1.24 into apache and it tested ok. Most perl scripts
    run fine. I then installed Crypt::SSLeay-0.49,LWP (libwww) 5.69 (along
    with the necessary pre-requisites).

    When sending data via POST, using SSL, mod_perl seg faults. I can use GET
    using https fine, and POST/GET using http. The same perl code that is
    segfaulting, works fine on the rest of our servers. As well, the rest of
    the code (all non LWP/POST/HTTPS code) runs perfectly fine.

    Anyone ever see this before? or is my setup broken somehow. Is there a
    particular type of certificate which must be used to POST?

    This is a very confusing problem and is "holding up the show" where I
    work. I have re-compiled and reinstalled everything 3 times with the same
    results.

    Here is the relevant server information:
    Apache 1.3.31 (covalent secure server)
    mod_perl 1.24 (installed using as a loadable module using apxs)
    kernel 2.4.20-18.7 (redhat 7.3 with latest patches)
    openssl 0.9.6b

    Any help or suggestions would be greatly appreciated.

    thx,
    2mb

    On Thu, 28 Aug 2003 11:15:42 +0000, Paul Robson wrote:
    > Hi
    > I am having problems using the LWP Package, for example if I run CPAN from
    > the command line to get a new package I get the error:
    >
    > can't locate object method "new" via package "LWP::UserAgent" at line
    > *whatever* CPAN.pm,
    >
    > and the same error if I try to run any script using the LWP::UserAgent
    > package, I am using perl 5.8.0 and have mod_perl running, Ihave tried
    > reinstalling libwww-perl, using the MakeFile.PL and it reported all tests
    > were ok and it installed ok.
    >
    > Does anybody have any suggestions what might be wrong or misconfigured.
    >
    > Cheers
    > Paul
    2mb Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139