shutdown.al reported missing

Discussion in 'Perl Misc' started by Frederik Vanrenterghem, May 17, 2005.

  1. I ran into a problem with a program gsr.pl on my iPAQ that has a (likely
    somewhat broken) perl 5.8.4 from Familiar Linux 0.8.2. It's likely
    broken because I've had to manually add a lot of modules, some of
    which had to be compiled on the handheld. There things might have
    gone somewhat south... Anyway, the error is as follows:

    Can't locate
    auto/Net/SMTP/Server/Client/shutdown.al in @INC (@INC contains:
    /usr/lib/perl5/5.8.4/arm-linux /usr/lib/perl5/5.8.4
    /usr/lib/perl5/site_perl/5.8.4/arm-linux /usr/lib/perl5/site_perl/5.8.4
    /usr/lib/perl5/site_perl .) at /home/root/GSR_0.8.0/gsr.pl line 456

    That section of the script is as follows:
    445 sub dienice {
    446 my ($txt) = @_;
    447
    448 if ( $daemon >= 1 ) {
    449 syslog('info', $txt);
    450 syslog('info',"Aborting");
    451 }
    452 else {
    453 printf("\n$txt\n");
    454 printf("Aborting\n\n");
    455 }
    456 if ($client) {$client->shutdown;}
    457 exit 1;
    458 }

    I can't find much on google about problems like this, so I don't really
    know where to go to solve things.

    Thx,

    --
    Frederik Vanrenterghem Sed quis custodiet ipsos custodes?
    http://vanrenterghem.biz
    GPG Fingerprint:
    966B 0E4B 25C1 CC04 E2CB
    8D4C 117F 6469 8925 BDE0
     
    Frederik Vanrenterghem, May 17, 2005
    #1
    1. Advertising

  2. Frederik Vanrenterghem

    Sisyphus Guest

    "Frederik Vanrenterghem" <> wrote in message
    news:p...
    > I ran into a problem with a program gsr.pl on my iPAQ that has a (likely
    > somewhat broken) perl 5.8.4 from Familiar Linux 0.8.2. It's likely
    > broken because I've had to manually add a lot of modules, some of
    > which had to be compiled on the handheld. There things might have
    > gone somewhat south... Anyway, the error is as follows:
    >
    > Can't locate
    > auto/Net/SMTP/Server/Client/shutdown.al in @INC (@INC contains:
    > /usr/lib/perl5/5.8.4/arm-linux /usr/lib/perl5/5.8.4
    > /usr/lib/perl5/site_perl/5.8.4/arm-linux /usr/lib/perl5/site_perl/5.8.4
    > /usr/lib/perl5/site_perl .) at /home/root/GSR_0.8.0/gsr.pl line 456
    >
    > That section of the script is as follows:
    > 445 sub dienice {
    > 446 my ($txt) = @_;
    > 447
    > 448 if ( $daemon >= 1 ) {
    > 449 syslog('info', $txt);
    > 450 syslog('info',"Aborting");
    > 451 }
    > 452 else {
    > 453 printf("\n$txt\n");
    > 454 printf("Aborting\n\n");
    > 455 }
    > 456 if ($client) {$client->shutdown;}
    > 457 exit 1;
    > 458 }
    >


    $client is a Net/SMTP/Server/Client.pm object - and you have called the
    'shutdown' method on that object. But Net/SMTP/Server/Client.pm defines no
    such method - so perl looks for it in the above '.al' file, can't find it,
    and complains about that.

    I couldn't find anything in the source that makes me think that
    '$client->shutdown;' ought to do anything other than produce that error
    (assuming $client is a Net/SMTP/Server/Client.pm object). Let us know if I
    missed something :)

    Cheers,
    Rob
     
    Sisyphus, May 18, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. chanmm
    Replies:
    2
    Views:
    10,764
    brinda
    Sep 7, 2010
  2. =?Utf-8?B?VHJldm9yIEJlbmVkaWN0IFI=?=
    Replies:
    0
    Views:
    2,452
    =?Utf-8?B?VHJldm9yIEJlbmVkaWN0IFI=?=
    Jun 7, 2004
  3. John Bonds
    Replies:
    2
    Views:
    2,819
    Amaryllis
    Aug 3, 2004
  4. Greg Burns
    Replies:
    1
    Views:
    1,158
    Greg Burns
    Sep 6, 2004
  5. =?Utf-8?B?RXJyb3Igd2hlbiBjcmVhdGluZyBuZXcgYXNwLm5l

    The Web server reported the following error when attempting to cre

    =?Utf-8?B?RXJyb3Igd2hlbiBjcmVhdGluZyBuZXcgYXNwLm5l, Nov 16, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    6,928
    =?Utf-8?B?RXJyb3Igd2hlbiBjcmVhdGluZyBuZXcgYXNwLm5l
    Nov 17, 2004
Loading...

Share This Page