473,503 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sending email issues...

236 New Member
Hi All,

I am trying for weeks how to send email from windows pc, which from my gmail account to my hotmail account. Using net::smtp module sending email failed,Kindly assist. (for the item d it is working for normal email servers, but NOT with gmail server, I am very puzzled still!!)

Codes(item c below) It keeps complaining and logs and codes are below.

a) apache access logs
---------------------------------
127.0.0.1 - - [09/Jun/2009:16:33:15 -0700] "GET /cgi-bin/net-email2.pl HTTP/1.1" 500 543

b) apache error Logs...
----------------------------------
[Tue Jun 09 16:33:45 2009] [error] [client 127.0.0.1] Premature end of script headers: net-email2.pl
[Tue Jun 09 16:33:45 2009] [error] [client 127.0.0.1] Connection to SMTP server failed\r

Error Logs


c) Not working codes for sending email
--------------------------------------------------------
Expand|Select|Wrap|Line Numbers
  1. #!c:/perl/bin/perl.exe -w  
  2.  
  3. use Net::SMTP;
  4.  
  5. $smtp = Net::SMTP->new("smtp.gmail.com", Timeout => 30, Port =>465);
  6.  
  7. if ( ! $smtp ) {
  8. die "Connection to SMTP server failed\n";
  9. }
  10.  
  11. $ret = $smtp->auth("happyse27","21027000");
  12.  
  13. if ( ! $ret ) {
  14. printf("Authentication failed\n");
  15. } else {
  16. printf("Authentication succeeded\n");
  17. }
  18.  
  19. my $from = 'happyse27@gmail.com';
  20. my $to      = 'happse@hotmail.com';
  21.  
  22. # If new() doesn't return a Net::SMTP object, then the connection failed,
  23. # so we die
  24. if ( ! $smtp ) {
  25. die "Connection to SMTP server failed\n";
  26. }
  27.  
  28. # Start a new email, and set the From address
  29. $smtp -> mail($from);
  30. $smtp -> to($to);
  31.  
  32. # We're sending this to three people
  33. #@recipients = ("happyse27@gmail.com","happse@hotmail.com");
  34. #$smtp->recipient(@recipients);
  35.  
  36.  
  37.  
  38. # Build the mail's headers, including the From: and To: address
  39. #$headers = <<"EOH";
  40. #From: Paul <happyse27@gmail.com>
  41. #To: Root <happse@hotmail.com>
  42. #Subject: This is a test
  43. #Date: Sun, 9 Mar 2008 00:03:46 +1100
  44. #EOH
  45.  
  46. # Build the content of the mail:
  47. #$message = <<"EOM";
  48. #This is a test. Please ignore this message.
  49. #EOM
  50.  
  51. # Now send it out:
  52.  
  53. #$smtp->data($headers . "\n" . $message);
  54.  
  55. # Close the connection to the SMTP server.
  56.  
  57. $smtp -> data();
  58.  
  59. $smtp -> datasend("To : $to\n");
  60. $smtp -> datasend("subject : A message from my Perl program. \n");
  61.  
  62. $smtp -> dataend();
  63. $smtp -> quit;
  64.  

d) working codes through another module
--------------------------------------------------------
Expand|Select|Wrap|Line Numbers
  1. #!c:/perl/bin/perl.exe -w  
  2.  
  3.    use strict;  
  4.    use warnings;   
  5.  
  6.    use Mail::Sender::Easy qw(email);  
  7.  
  8.     print "Content-type: text/plain\n\n"; 
  9.  
  10.  
  11.     email({ 
  12.         'from'         => 'andrewse@abc.com.sg', 
  13.         'to'           => 'happse@hotmail.com', 
  14.         'cc'           => 'happse@hotmail.com', 
  15.         'subject'      => 'Perl is great!', 
  16.         'priority'     => 2, # 1-5 high to low 
  17.         'confirm'      => 'delivery, reading', 
  18.         'smtp'         => 'mail.abc.com.sg', 
  19.         'port'         => '25', 
  20.         'auth'         => 'LOGIN', 
  21.         'authid'       => 'andrewse@abc.com.sg', 
  22.         'authpwd'      => '210270', 
  23.         '_text'        => 'Hello *World5* :)',     
  24.         '_html'        => 'Hello <b>World</b> <img src="cid:smile1" />', 
  25.         '_attachments' => { 
  26.             'smiley.gif' => { 
  27.                 '_disptype'   => 'GIF Image', 
  28.                 '_inline'     => 'smile1', 
  29.                 'description' => 'Smiley', 
  30.                 'ctype'       => 'image/gif',     
  31.                 'file'        => 'D:/program files/Apache Software Foundation/Apache2.2/htdocs\smiley.gif', 
  32.             }, 
  33.             #'mydata.pdf' => { 
  34.                 #'description' => 'Data Sheet',   
  35.                 #'ctype'       => 'application/pdf', 
  36.                 #'msg'         => $pdf_guts, 
  37.             #}, 
  38.         }, 
  39.     }) or die "email() failed: $@"; 
  40.  
Jun 9 '09 #1
31 12607
numberwhun
3,509 Recognized Expert Moderator Specialist
Doing a quick Google search, you are going to want to have a read on this article. It explains what you are not doing.

Regards,

Jeff
Jun 11 '09 #2
happyse27
236 New Member
Hi Sir,

Thanks! Once again, you are here to come to rescue. Also, I think it is few steps improvement to making it work. Please kindly advise on the error item a) below where the error possibly lies? Especially the modules as I believed I have installed the four modules(which is from http://robertmaldon.blogspot.com/200...smtp-from.html) from ppm gui program.

modules installed
--------------------------
1) Net_SSLeay.pm (Open SSL) - in my ppm gui it is Net-SSLeay, not sure if it same?
2) IO-Socket-SSL
3) Authen-SASL
4) Net-SMTP-SSL



NOTES :

1) I tried the whole day with different alternatives and methods. I got the apache error file. Access file for apache. 127.0.0.1 - - [11/Jun/2009:17:40:05 -0700] "GET /cgi-bin/gmail-work.pl HTTP/1.1" 500 543.

2) I am curious how to get C:/Perl/site/lib/IO/Socket/SSL.pm and other modules installed. Not sure what these packages like Net::SSLeay are and how it works.

3) And also how to install from command line and gui for ppm, especially how the directories for each works. Any guide to start up?


a) error file for apache.
---------------------------------
[Thu Jun 11 17:40:06 2009] [error] [client 127.0.0.1] Premature end of script headers: gmail-work.pl
[Thu Jun 11 17:40:06 2009] [error] [client 127.0.0.1] Can't locate Net/SSLeay.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at C:/Perl/site/lib/IO/Socket/SSL.pm line 18.\r
[Thu Jun 11 17:40:06 2009] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at C:/Perl/site/lib/IO/Socket/SSL.pm line 18.\r
[Thu Jun 11 17:40:06 2009] [error] [client 127.0.0.1] Compilation failed in require at C:/Perl/site/lib/Net/SMTP/SSL.pm line 8.\r
[Thu Jun 11 17:40:06 2009] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at C:/Perl/site/lib/Net/SMTP/SSL.pm line 8.\r
[Thu Jun 11 17:40:06 2009] [error] [client 127.0.0.1] Compilation failed in require at D:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/gmail-work.pl line 3.\r
[Thu Jun 11 17:40:06 2009] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at D:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/gmail-work.pl line 3.\r



b) code
-----------

Expand|Select|Wrap|Line Numbers
  1. #!c:/Perl/bin/perl.exe
  2.  
  3. use Net::SMTP::SSL;
  4.  
  5. sub send_mail 
  6. {
  7. my $to = $_[0];
  8. my $subject = $_[1];
  9. my $body = $_[2];
  10. my $from = 'happyse27@gmail.com';
  11. my $password = '21027000';
  12. my $smtp;
  13. if (not $smtp = Net::SMTP::SSL->new('smtp.gmail.com',                            
  14.                      Port => 465,                            
  15.                      Debug => 1)) 
  16.             {   die "Could not connect to server\n";}
  17.  
  18. $smtp->auth($from, $password)   || die "Authentication failed!\n";
  19. $smtp->mail($from . "\n");my @recepients = split(/,/, $to);
  20.     foreach my $recp (@recepients) 
  21.     {    $smtp->to($recp . "\n");
  22.     }
  23.  
  24. $smtp->data();
  25. $smtp->datasend("From: " . $from . "\n");
  26. $smtp->datasend("To: " . $to . "\n");
  27. $smtp->datasend("Subject: " . $subject . "\n");
  28. $smtp->datasend("\n");$smtp->datasend($body . "\n");
  29. $smtp->dataend();$smtp->quit;
  30. }
  31. # Send away!
  32. &send_mail('happse@hotmail.com', 'Server just blew up', 'Some more detail');
  33.  
Jun 11 '09 #3
happyse27
236 New Member
any alternative? Cheers..
Jun 15 '09 #4
numberwhun
3,509 Recognized Expert Moderator Specialist
@happyse27
Whenever you see this error, starting with "Can't locate......", this means that Perl is not able to find the module that it needs to run the script. In this case, the Net::SSLeay module is not found on the system.

If you have a module with that name in ppm, then I would install it. It is obviously a pre-requisite for the ssl module.

I know that you are using Active State Perl from the fact that you are referencing ppm. My experience in the past is that ppm does not include all of the modules in the CPAN repository. In fact, it can be quite limiting in what it does provide due to all modules having to be "ported over".

My suggestion is to look into Strawberry Perl. It is a wonderful Windows based alternative that uses the CPAN interface on the command line, the same way that Unix does. I know that people become used to the GUI that PPM provides, but I have always found this better and more complete.

One last note.... please, ALWAYS include the following in any code you produce:

Expand|Select|Wrap|Line Numbers
  1. use strict;
  2. use warnings;
  3.  
It is a requirement of any good Perl coder and not using it is typically frowned upon.

Regards,

Jeff
Jun 16 '09 #5
happyse27
236 New Member
ok thanks Sir.

I will take note.

a) is there installation and configuration manual for strawberry perl?

b) do I have to uninstall activestate perl?

c) the configuration path to my former scripts have to change to D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\bin ?

d) I have installed Strawberry perl and tried to install the modules, but the problem remained. See error below. Thanks again.


Best Rgds,
Andrew

errors
=====

D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\bin>perl -MCPAN -e "install IO:
:socket::ssl"
Fetching with LWP:
http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
Fetching with LWP:
http://cpan.strawberryperl.com/modul...details.txt.gz
Fetching with LWP:
http://cpan.strawberryperl.com/modul...odlist.data.gz
Database was generated on Fri, 30 Jan 2009 07:14:00 GMT
Updating database file ...

Gathering information from index files ...
Obtaining current state of database ...
Populating database tables ...
Done!
Warning: Cannot install IO::socket::ssl, don't know what it is.
Try the command

i /IO::socket::ssl/

to find objects with matching identifiers.

D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\bin>perl -MCPAN -e "install net
::ssleay"
Database was generated on Thu, 18 Jun 2009 19:52:25 GMT
Warning: Cannot install net::ssleay, don't know what it is.
Try the command

i /net::ssleay/

to find objects with matching identifiers.

D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\bin>
Jun 18 '09 #6
RonB
589 Recognized Expert Moderator Contributor
Case matters.

These are not the same, 1 is correct and 1 is not
IO::socket::ssl
IO::Socket::SSL
Jun 18 '09 #7
KevinADC
4,059 Recognized Expert Specialist
b) do I have to uninstall activestate perl?
Yes, uninstall it otherwise you could experience problems after installing strawberryperl.
Jun 18 '09 #8
happyse27
236 New Member
Hi All,

Thanks. I still have problem. logs are below at item b.

a) where and how in strawberry perl to check which are the modules installed and which are failed, and the logs if possible.

b) logs

i)

D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\bin>perl -MCPAN -e "install Net
::SSLeay"
Database was generated on Sat, 20 Jun 2009 00:17:20 GMT
Running install for module 'Net::SSLeay'
Running make for F/FL/FLORA/Net-SSLeay-1.35.tar.gz
Checksum for D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\sources\authors\id
\F\FL\FLORA\Net-SSLeay-1.35.tar.gz ok

CPAN.pm: Going to build F/FL/FLORA/Net-SSLeay-1.35.tar.gz

Cannot determine perl version info from lib/Net/SSLeay.pm
Cannot determine license info from lib/Net/SSLeay.pm
Unresolvable missing external dependency.
This package requires a C compiler.
NA: Unable to build distribution on this platform.
No 'Makefile' created FLORA/Net-SSLeay-1.35.tar.gz
D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\bin\perl.exe Makefile.PL -- N
OT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install


ii) D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\bin>perl -MCPAN -e "make instal
l IO::Socket::SSL"
Database was generated on Sat, 20 Jun 2009 00:17:20 GMT
Running install for module 'IO::Socket::SSL'
Running make for S/SU/SULLR/IO-Socket-SSL-1.24.tar.gz
Checksum for D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\sources\authors\id
\S\SU\SULLR\IO-Socket-SSL-1.24.tar.gz ok

CPAN.pm: Going to build S/SU/SULLR/IO-Socket-SSL-1.24.tar.gz


WARNING
No library for handling international domain names found.
It will work but croak if you try to verify an international name against
a certificate.
It's recommended to install either Net::IDN::Encode or Net::LibIDN

Checking if your kit is complete...
Looks good
Warning: prerequisite Net::SSLeay 1.21 not found.
Writing Makefile for IO::Socket::SSL
---- Unsatisfied dependencies detected during ----
---- SULLR/IO-Socket-SSL-1.24.tar.gz ----
Net::SSLeay [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module 'Net::SSLeay'
Running make for F/FL/FLORA/Net-SSLeay-1.35.tar.gz
Checksum for D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\sources\authors\id
\F\FL\FLORA\Net-SSLeay-1.35.tar.gz ok

CPAN.pm: Going to build F/FL/FLORA/Net-SSLeay-1.35.tar.gz

Cannot determine perl version info from lib/Net/SSLeay.pm
Cannot determine license info from lib/Net/SSLeay.pm
Unresolvable missing external dependency.
This package requires a C compiler.
NA: Unable to build distribution on this platform.
No 'Makefile' created FLORA/Net-SSLeay-1.35.tar.gz
D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\bin\perl.exe Makefile.PL -- N
OT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Running make for S/SU/SULLR/IO-Socket-SSL-1.24.tar.gz
Has already been unwrapped into directory D:\strawberry-perl-5.10.0.4-portable
-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO

CPAN.pm: Going to build S/SU/SULLR/IO-Socket-SSL-1.24.tar.gz

Warning: Prerequisite 'Net::SSLeay => 1.21' for 'SULLR/IO-Socket-SSL-1.24.tar.gz
' failed when processing 'FLORA/Net-SSLeay-1.35.tar.gz' with 'writemakefile => N
O -- No 'Makefile' created
'. Continuing, but chances to succeed are limited.
cp SSL.pm blib\lib\IO\Socket\SSL.pm
SULLR/IO-Socket-SSL-1.24.tar.gz
D:\strawberry-perl-5.10.0.4-portable-beta-2\c\bin\dmake.exe -- OK
Running make test
D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\bin\perl.exe "-MExtUtils::Comma
nd::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/01loadmodule............Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24
-symGYO\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at D
:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\
blib\lib/IO/Socket/SSL.pm line 18.
BEGIN failed--compilation aborted at D:\strawberry-perl-5.10.0.4-portable-beta-2
\cpan\build\IO-Socket-SSL-1.24-symGYO\blib\lib/IO/Socket/SSL.pm line 18.
Compilation failed in require at t/01loadmodule.t line 14.
BEGIN failed--compilation aborted at t/01loadmodule.t line 14.
t/01loadmodule............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/4 subtests
t/02settings..............Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24
-symGYO\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at D
:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\
blib\lib/IO/Socket/SSL.pm line 18.
BEGIN failed--compilation aborted at D:\strawberry-perl-5.10.0.4-portable-beta-2
\cpan\build\IO-Socket-SSL-1.24-symGYO\blib\lib/IO/Socket/SSL.pm line 18.
Compilation failed in require at t/02settings.t line 4.
BEGIN failed--compilation aborted at t/02settings.t line 4.
t/02settings.............. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/acceptSSL-timeout.......Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24
-symGYO\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at D
:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\
blib\lib/IO/Socket/SSL.pm line 18.
BEGIN failed--compilation aborted at D:\strawberry-perl-5.10.0.4-portable-beta-2
\cpan\build\IO-Socket-SSL-1.24-symGYO\blib\lib/IO/Socket/SSL.pm line 18.
Compilation failed in require at t/acceptSSL-timeout.t line 3.
BEGIN failed--compilation aborted at t/acceptSSL-timeout.t line 3.
t/acceptSSL-timeout....... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/auto_verify_hostname....Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24
-symGYO\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/auto_verify_hostname.t line 4.
BEGIN failed--compilation aborted at t/auto_verify_hostname.t line 4.
t/auto_verify_hostname.... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/cert_no_file............Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24
-symGYO\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/cert_no_file.t line 14.
BEGIN failed--compilation aborted at t/cert_no_file.t line 14.
t/cert_no_file............ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/compatibility...........Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24
-symGYO\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at D
:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\
blib\lib/IO/Socket/SSL.pm line 18.
BEGIN failed--compilation aborted at D:\strawberry-perl-5.10.0.4-portable-beta-2
\cpan\build\IO-Socket-SSL-1.24-symGYO\blib\lib/IO/Socket/SSL.pm line 18.
Compilation failed in require at t/compatibility.t line 5.
BEGIN failed--compilation aborted at t/compatibility.t line 5.
t/compatibility........... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/connectSSL-timeout......no testlib at t/connectSSL-timeout.t line 3.
t/connectSSL-timeout...... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/core....................Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24
-symGYO\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/core.t line 6.
BEGIN failed--compilation aborted at t/core.t line 6.
t/core.................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/dhe.....................Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24
-symGYO\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/dhe.t line 11.
BEGIN failed--compilation aborted at t/dhe.t line 11.
t/dhe..................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/inet6...................Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24
-symGYO\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/inet6.t line 5.
BEGIN failed--compilation aborted at t/inet6.t line 5.
t/inet6................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/nonblock................Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24
-symGYO\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/nonblock.t line 6.
BEGIN failed--compilation aborted at t/nonblock.t line 6.
t/nonblock................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/readline................Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24
-symGYO\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/readline.t line 14.
BEGIN failed--compilation aborted at t/readline.t line 14.
t/readline................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/sessions................Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24
-symGYO\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/sessions.t line 5.
BEGIN failed--compilation aborted at t/sessions.t line 5.
t/sessions................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/start-stopssl...........Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24
-symGYO\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at D
:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\
blib\lib/IO/Socket/SSL.pm line 18.
BEGIN failed--compilation aborted at D:\strawberry-perl-5.10.0.4-portable-beta-2
\cpan\build\IO-Socket-SSL-1.24-symGYO\blib\lib/IO/Socket/SSL.pm line 18.
Compilation failed in require at t/start-stopssl.t line 4.
BEGIN failed--compilation aborted at t/start-stopssl.t line 4.
t/start-stopssl........... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/startssl................Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24
-symGYO\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/startssl.t line 6.
BEGIN failed--compilation aborted at t/startssl.t line 6.
t/startssl................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/sysread_write...........Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24
-symGYO\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/sysread_write.t line 9.
BEGIN failed--compilation aborted at t/sysread_write.t line 9.
t/sysread_write........... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/verify_hostname.........Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24-symGYO\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.24
-symGYO\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/verify_hostname.t line 4.
BEGIN failed--compilation aborted at t/verify_hostname.t line 4.
t/verify_hostname......... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run

Test Summary Report
-------------------
t/01loadmodule (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 4 tests but ran 0.
t/02settings (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/acceptSSL-timeout (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/auto_verify_hostname (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/cert_no_file (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/compatibility (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/connectSSL-timeout (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/core (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/dhe (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/inet6 (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/nonblock (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/readline (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/sessions (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/start-stopssl (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/startssl (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/sysread_write (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/verify_hostname (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=17, Tests=0, 6 wallclock secs ( 0.08 usr + 0.08 sys = 0.16 CPU)
Result: FAIL
Failed 17/17 test programs. 0/0 subtests failed.
dmake.exe: Error code 130, while making 'test_dynamic'
SULLR/IO-Socket-SSL-1.24.tar.gz
D:\strawberry-perl-5.10.0.4-portable-beta-2\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports SULLR/IO-Socket-SSL-1.24.tar.gz
Running make install
make test had returned bad status, won't install without force
Warning: Cannot make 1, don't know what it is.
Try the command

i /1/

to find objects with matching identifiers.
Jun 19 '09 #9
happyse27
236 New Member
i had uninstalled activestate perl before the reinstall of external modules. thanks.
Jun 19 '09 #10
numberwhun
3,509 Recognized Expert Moderator Specialist
I have to look further into your errors, but for questions related to modules, its a good idea to have read the CPAN FAQ. Particularly for your question, the part about what modules are installed on the system.

Regards,

Jeff
Jun 20 '09 #11
happyse27
236 New Member
hi Sir,

Thanks. I am using windows perl, the documentation looked like for unix. Any relevant reference? Thanks in advance.


Cheers...
Andrew
Jun 29 '09 #12
numberwhun
3,509 Recognized Expert Moderator Specialist
@happyse27
In what way did it look like it was for Unix? I have both Windows and Linux and when I go to the command line in Windows and type "perldoc perllocal" as is suggested in the link, it spits out exactly what it should.

Please don't just assume. You will find out that they try to make things similar across the OS'. And if something is written on a Unix based platform, its still Perl code and easy enough to convert.

Regards,

Jeff
Jun 29 '09 #13
happyse27
236 New Member
Dear Jeff,

Thanks. I saw the steps looked like unix. The modules I required not installed referring to below. What are the steps to install the modules, I really need the smtp email badly.


Best Rgds,
Andrew


Notes
---------


Thu Jan 29 22:51:06 2009: "Module" ExtUtils::MakeMaker
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 6.48"

* "EXE_FILES: bin/instmodsh"

Thu Jan 29 22:51:11 2009: "Module" File::Path
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 2.07"

* "EXE_FILES: "

Thu Jan 29 22:51:18 2009: "Module" ExtUtils::Command
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.16"

* "EXE_FILES: "

Thu Jan 29 22:51:27 2009: "Module" Win32API::File
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.1101"

* "EXE_FILES: "

Thu Jan 29 22:51:45 2009: "Module" ExtUtils::Install
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.52"

* "EXE_FILES: "

Thu Jan 29 22:51:50 2009: "Module" ExtUtils::Manifest
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.56"

* "EXE_FILES: "

Thu Jan 29 22:52:12 2009: "Module" Test::Harness
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 3.14"

* "EXE_FILES: bin/prove"

Thu Jan 29 22:52:22 2009: "Module" Test::Simple
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.86"

* "EXE_FILES: "

Thu Jan 29 22:52:27 2009: "Module" ExtUtils::CBuilder
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.24"

* "EXE_FILES: "

Thu Jan 29 22:52:33 2009: "Module" ExtUtils::ParseXS
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 2.19"

* "EXE_FILES: "

Thu Jan 29 22:52:44 2009: "Module" version
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.76"

* "EXE_FILES: "

Thu Jan 29 22:52:50 2009: "Module" IO::Compress::Base
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 2.015"

* "EXE_FILES: "

Thu Jan 29 22:53:02 2009: "Module" Compress::Raw::Zlib
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 2.015"

* "EXE_FILES: "

Thu Jan 29 22:53:12 2009: "Module" Compress::Raw::Bzip2
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 2.015"

* "EXE_FILES: "

Thu Jan 29 22:54:13 2009: "Module" IO::Compress::Zlib
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 2.015"

* "EXE_FILES: "

Thu Jan 29 22:54:26 2009: "Module" IO::Compress::Bzip2
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 2.015"

* "EXE_FILES: "

Thu Jan 29 22:54:34 2009: "Module" Compress::Zlib
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 2.015"

* "EXE_FILES: "

Thu Jan 29 22:54:56 2009: "Module" Compress::Bzip2
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 2.09"

* "EXE_FILES: "

Thu Jan 29 22:55:01 2009: "Module" IO::Zlib
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.09"

* "EXE_FILES: "

Thu Jan 29 22:55:08 2009: "Module" Cwd
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 3.29"

* "EXE_FILES: "

Thu Jan 29 22:55:31 2009: "Module" File::Temp
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.21"

* "EXE_FILES: "

Thu Jan 29 22:55:41 2009: "Module" Win32::WinError
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.03"

* "EXE_FILES: "

Thu Jan 29 22:55:52 2009: "Module" Win32API::Registry
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.30"

* "EXE_FILES: "

Thu Jan 29 22:55:56 2009: "Module" Win32::TieRegistry
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.25"

* "EXE_FILES: "

Thu Jan 29 22:56:01 2009: "Module" File::HomeDir
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.82"

* "EXE_FILES: "

Thu Jan 29 22:56:06 2009: "Module" File::Which
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.05"

* "EXE_FILES: bin/pwhich"

Thu Jan 29 22:56:19 2009: "Module" Archive::Zip
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.26"

* "EXE_FILES: bin/crc32"

Thu Jan 29 22:56:23 2009: "Module" Package::Constants
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.02"

* "EXE_FILES: "

Thu Jan 29 22:56:28 2009: "Module" IO::String
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.08"

* "EXE_FILES: "

Thu Jan 29 22:56:35 2009: "Module" Archive::Tar
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.44"

* "EXE_FILES: bin/ptar bin/ptardiff"

Thu Jan 29 22:56:41 2009: "Module" Parse::CPAN::Meta
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.04"

* "EXE_FILES: "

Thu Jan 29 22:56:52 2009: "Module" YAML
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.68"

* "EXE_FILES: "

Thu Jan 29 22:56:59 2009: "Module" Digest::MD5
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 2.38"

* "EXE_FILES: "

Thu Jan 29 22:57:05 2009: "Module" Digest::SHA1
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 2.11"

* "EXE_FILES: "

Thu Jan 29 22:57:14 2009: "Module" Digest::SHA
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 5.47"

* "EXE_FILES: shasum"

Thu Jan 29 22:59:28 2009: "Module" CPAN
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.9301"

* "EXE_FILES: scripts/cpan"

Thu Jan 29 22:59:35 2009: "Module" Term::ReadKey
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 2.30"

* "EXE_FILES: "

Thu Jan 29 22:59:39 2009: "Module" Term::ReadLine
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.0302"

* "EXE_FILES: "

Thu Jan 29 22:59:44 2009: "Module" Text::Glob
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.08"

* "EXE_FILES: "

Thu Jan 29 22:59:54 2009: "Module" URI
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.37"

* "EXE_FILES: "

Thu Jan 29 22:59:58 2009: "Module" HTML::Tagset
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 3.20"

* "EXE_FILES: "

Thu Jan 29 23:00:10 2009: "Module" HTML::Parser
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 3.59"

* "EXE_FILES: "

Thu Jan 29 23:00:45 2009: "Module" LWP
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 5.823"

* "EXE_FILES: bin/lwp-request bin/lwp-mirror bin/lwp-rget
bin/lwp-download"

Thu Jan 29 23:01:01 2009: "Module" LWP::Online
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.07"

* "EXE_FILES: "

Thu Jan 29 23:01:26 2009: "Module" Win32::File
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.06"

* "EXE_FILES: "

Thu Jan 29 23:01:46 2009: "Module" File::Remove
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.42"

* "EXE_FILES: "

Thu Jan 29 23:01:50 2009: "Module" Win32::File::Object
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.01"

* "EXE_FILES: "

Thu Jan 29 23:02:14 2009: "Module" Win32::API
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.58"

* "EXE_FILES: "

Thu Jan 29 23:02:33 2009: "Module" Params::Util
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.35"

* "EXE_FILES: "

Thu Jan 29 23:02:41 2009: "Module" IPC::Run3
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.042"

* "EXE_FILES: "

Thu Jan 29 23:02:46 2009: "Module" Test::Script
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.03"

* "EXE_FILES: "

Thu Jan 29 23:02:50 2009: "Module" Win32::Env::Path
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.01"

* "EXE_FILES: script/win32envpath"

Thu Jan 29 23:03:11 2009: "Module" Parse::Binary
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.11"

* "EXE_FILES: "

Thu Jan 29 23:03:16 2009: "Module" Win32::Exe
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.11"

* "EXE_FILES: script/exe_update.pl"

Thu Jan 29 23:03:57 2009: "Module" Math::BigInt
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.89"

* "EXE_FILES: "

Thu Jan 29 23:04:17 2009: "Module" Math::BigInt::FastCalc
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.19"

* "EXE_FILES: "

Thu Jan 29 23:04:39 2009: "Module" Math::BigRat
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.22"

* "EXE_FILES: "

Thu Jan 29 23:05:01 2009: "Module" Math::BigInt::GMP
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.24"

* "EXE_FILES: "

Thu Jan 29 23:05:12 2009: "Module" XML::Parser
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 2.36"

* "EXE_FILES: "

Thu Jan 29 23:05:39 2009: "Module" XML::NamespaceSupport
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.09"

* "EXE_FILES: "

Thu Jan 29 23:05:49 2009: "Module" XML::SAX
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.96"

* "EXE_FILES: "

Thu Jan 29 23:06:01 2009: "Module" XML::LibXML::Common
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.13"

* "EXE_FILES: "

Thu Jan 29 23:06:20 2009: "Module" XML::LibXML
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.69"

* "EXE_FILES: "

Thu Jan 29 23:06:50 2009: "Module" PAR::Dist
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.43"

* "EXE_FILES: "

Thu Jan 29 23:06:56 2009: "Module" PAR::Dist::FromPPD
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.03"

* "EXE_FILES: bin/ppd2par"

Thu Jan 29 23:07:00 2009: "Module" PAR::Dist::InstallPPD
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.02"

* "EXE_FILES: bin/parinstallppd"

Thu Jan 29 23:07:37 2009: "Module" IO::Stringy
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 2.110"

* "EXE_FILES: "

Thu Jan 29 23:07:59 2009: "Module" Tree::DAG_Node
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.06"

* "EXE_FILES: "

Thu Jan 29 23:08:21 2009: "Module" Test::Warn
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.11"

* "EXE_FILES: "

Thu Jan 29 23:08:40 2009: "Module" Test::Tester
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.107"

* "EXE_FILES: "

Thu Jan 29 23:08:45 2009: "Module" Test::NoWarnings
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.084"

* "EXE_FILES: "

Thu Jan 29 23:08:53 2009: "Module" Test::Deep
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.103"

* "EXE_FILES: "

Thu Jan 29 23:08:58 2009: "Module" DBM::Deep
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.0013"

* "EXE_FILES: "

Thu Jan 29 23:09:17 2009: "Module" YAML::Tiny
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.36"

* "EXE_FILES: "

Thu Jan 29 23:09:40 2009: "Module" AutoLoader
* "installed into: C:\strawberry\perl\lib"

* "LINKTYPE: dynamic"

* "VERSION: 5.68"

* "EXE_FILES: "

Thu Jan 29 23:09:46 2009: "Module" PAR
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.984"

* "EXE_FILES: "

Thu Jan 29 23:09:51 2009: "Module" PAR::Repository::Query
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.12"

* "EXE_FILES: "

Thu Jan 29 23:09:56 2009: "Module" PAR::Repository::Client
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.21"

* "EXE_FILES: "

Thu Jan 29 23:10:06 2009: "Module" PPM
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.01_01"

* "EXE_FILES: bin/ppm.pl"

Thu Jan 29 23:10:25 2009: "Module" Number::Compare
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.01"

* "EXE_FILES: "

Thu Jan 29 23:10:35 2009: "Module" pler
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.34"

* "EXE_FILES: script/pler"

Thu Jan 29 23:10:59 2009: "Module" Data::Compare
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.21"

* "EXE_FILES: "

Thu Jan 29 23:11:05 2009: "Module" CPAN::Checksums
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 2.02"

* "EXE_FILES: "

Thu Jan 29 23:11:11 2009: "Module" File::chmod
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.32"

* "EXE_FILES: "

Thu Jan 29 23:11:16 2009: "Module" CPAN::Inject
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.11"

* "EXE_FILES: script/cpaninject"

Thu Jan 29 23:11:30 2009: "Module" pip
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.13"

* "EXE_FILES: script/pip"

Thu Jan 29 23:12:48 2009: "Module" DBI
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.607"

* "EXE_FILES: dbiproxy dbiprof dbilogstrip"

Thu Jan 29 23:13:14 2009: "Module" DBD::SQLite
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.14"

* "EXE_FILES: "

Thu Jan 29 23:13:34 2009: "Module" CPAN::DistnameInfo
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.07"

* "EXE_FILES: "

Thu Jan 29 23:14:13 2009: "Module" CPAN::Mini
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.576"

* "EXE_FILES: bin/minicpan"

Thu Jan 29 23:14:18 2009: "Module" Class::Inspector
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 1.23"

* "EXE_FILES: "

Thu Jan 29 23:14:24 2009: "Module" Portable
* "installed into: C:\strawberry\perl\site\lib"

* "LINKTYPE: dynamic"

* "VERSION: 0.11"

* "EXE_FILES: "
Jun 30 '09 #14
numberwhun
3,509 Recognized Expert Moderator Specialist
If the module(s) that you require are not installed, then you need to install them.

I am not trying to be rude, but you need to learn to use the online documentation. For anything related to cpan, you go to cpan.org. For referencing the Perl language, including its FAQs and other documents, you use perldoc.perl.org. These are the communities standard documentation resources.

For the installation of modules, you can go to perldoc and look up the perlmodinstall document. That will show you how to install modules.

Regards,

Jeff
Jun 30 '09 #15
happyse27
236 New Member
Hi Jeff / Gurus,

Thanks again. I am ashamed that because I had not found out enough. Sorry for that.

However, I would like to emphasize that I did search alot of the the internet and did not find relevant stuff, maybe my search was wrong ways.

Secondly, I needed help still because I dont really understand the documentation you just gave that well even after reading for many times(reading wise I am not that well versed because I got some problems) and also the I tried to install Net::Smtp::SSL after I unzip the file, it mentioned the file could not be installed because it could not be found. The I/O module also could not be installed in similar fashion.

1) I just wanted to know how to install the modules in windows and make sure that it being called in the correct directory by the script(see error below). I had uninstalled ppm and only using strawberry, but seemed like ppm module still there in the directories, should I just use strawberry directory in my perl script where strawberry bin exe file is installed?. I had also tried untar from the directory and using the install command in the perl directory.

Kindly advise.


Thanks and Best Rgds,
Andrew

a) error a below
-------------------
D:\strawberry-perl-5.10.0.4-portable-beta-2\perl>cd bin

D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\bin>ppm
PPM interactive shell (0.01_01) - type 'help' for available commands.
PPM> help
Commands:
exit - leave the program.
help [command] - prints this screen, or help on 'command'.
install PACKAGES - installs specified PACKAGES.
quit - leave the program.
query [options] - query information about installed packages.
remove PACKAGES - removes the specified PACKAGES from the system.
search [options] - search information about available packages.
set [options] - set/display current options.
verify [options] - verifies current install is up to date.
version - displays PPM version number

PPM> install Net:Smtp:SSL
Install package 'Net:Smtp:SSL?' (y/N): y
Installing package 'Net:Smtp:SSL'...
Can't locate object method "rvalidate" via package "PPM::XML::PPD::html" at D:/s
trawberry-perl-5.10.0.4-portable-beta-2/perl/site/lib/PPM.pm line 1687, <> line
3.

D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\bin>

b) error b
=======

D:\strawberry-perl-5.10.0.4-portable-beta-2\perl>cd bin

D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\bin>ppm
PPM interactive shell (0.01_01) - type 'help' for available commands.
PPM> help
Commands:
exit - leave the program.
help [command] - prints this screen, or help on 'command'.
install PACKAGES - installs specified PACKAGES.
quit - leave the program.
query [options] - query information about installed packages.
remove PACKAGES - removes the specified PACKAGES from the system.
search [options] - search information about available packages.
set [options] - set/display current options.
verify [options] - verifies current install is up to date.
version - displays PPM version number

PPM> install Net:Smtp:SSL
Install package 'Net:Smtp:SSL?' (y/N): y
Installing package 'Net:Smtp:SSL'...
Can't locate object method "rvalidate" via package "PPM::XML::PPD::html" at D:/s
trawberry-perl-5.10.0.4-portable-beta-2/perl/site/lib/PPM.pm line 1687, <> line
3.

D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\bin>
Jul 2 '09 #16
numberwhun
3,509 Recognized Expert Moderator Specialist
First, don't use ppm if you have Strawberry Perl installed. ppm is the utility that Active State relies on and its, in my opinion, a piece of junk.

You want to go to the command line and and start up the cpan interface as follows:

Expand|Select|Wrap|Line Numbers
  1. perl -MCPAN -e shell
  2.  
Once you are in there, all you should need to do is type:

Expand|Select|Wrap|Line Numbers
  1. install <module name>
  2.  
replacing <module name> with the name of the module you want to install. It is case sensitive, so make sure you have the name correct. So, for the Net::SMTP module, you would use:

Expand|Select|Wrap|Line Numbers
  1. install Net::SMTP
  2.  
and it should work just fine. If there are dependencies, you may have to install them before the package you are needing, but it should tell you that.

Regards,

Jeff
Jul 2 '09 #17
happyse27
236 New Member
Hi Jeff,

Tried commands install IO::Socket::SSL, force install IO::Socket::SSL. Likewise for Net::SMTP::SSL using install Net::SMTP::SSL and force install Net::SMTP::SSL. Got failure to install message like below.

Is it PPM not uninstalled? Or any other reason?


Thanks and Best Rgds,
Andrew


Note:
=====
No 'Makefile' created
, won't make
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Running make for S/SU/SULLR/IO-Socket-SSL-1.25.tar.gz
Has already been unwrapped into directory D:\strawberry-perl-5.10.0.4-portable
-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1
Warning: Prerequisite 'Net::SSLeay => 1.21' for 'SULLR/IO-Socket-SSL-1.25.tar.gz
' failed when processing 'FLORA/Net-SSLeay-1.35.tar.gz' with 'writemakefile => N
O -- No 'Makefile' created
'. Continuing, but chances to succeed are limited.
Has already been made
Running make test
D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\bin\perl.exe "-MExtUtils::Comma
nd::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/01loadmodule............Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25
-BJV5w1\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at D
:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\
blib\lib/IO/Socket/SSL.pm line 18.
BEGIN failed--compilation aborted at D:\strawberry-perl-5.10.0.4-portable-beta-2
\cpan\build\IO-Socket-SSL-1.25-BJV5w1\blib\lib/IO/Socket/SSL.pm line 18.
Compilation failed in require at t/01loadmodule.t line 14.
BEGIN failed--compilation aborted at t/01loadmodule.t line 14.
t/01loadmodule............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/4 subtests
t/02settings..............Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25
-BJV5w1\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at D
:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\
blib\lib/IO/Socket/SSL.pm line 18.
BEGIN failed--compilation aborted at D:\strawberry-perl-5.10.0.4-portable-beta-2
\cpan\build\IO-Socket-SSL-1.25-BJV5w1\blib\lib/IO/Socket/SSL.pm line 18.
Compilation failed in require at t/02settings.t line 4.
BEGIN failed--compilation aborted at t/02settings.t line 4.
t/02settings.............. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/acceptSSL-timeout.......Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25
-BJV5w1\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at D
:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\
blib\lib/IO/Socket/SSL.pm line 18.
BEGIN failed--compilation aborted at D:\strawberry-perl-5.10.0.4-portable-beta-2
\cpan\build\IO-Socket-SSL-1.25-BJV5w1\blib\lib/IO/Socket/SSL.pm line 18.
Compilation failed in require at t/acceptSSL-timeout.t line 3.
BEGIN failed--compilation aborted at t/acceptSSL-timeout.t line 3.
t/acceptSSL-timeout....... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/auto_verify_hostname....Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25
-BJV5w1\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/auto_verify_hostname.t line 4.
BEGIN failed--compilation aborted at t/auto_verify_hostname.t line 4.
t/auto_verify_hostname.... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/cert_no_file............Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25
-BJV5w1\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/cert_no_file.t line 14.
BEGIN failed--compilation aborted at t/cert_no_file.t line 14.
t/cert_no_file............ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/compatibility...........Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25
-BJV5w1\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at D
:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\
blib\lib/IO/Socket/SSL.pm line 18.
BEGIN failed--compilation aborted at D:\strawberry-perl-5.10.0.4-portable-beta-2
\cpan\build\IO-Socket-SSL-1.25-BJV5w1\blib\lib/IO/Socket/SSL.pm line 18.
Compilation failed in require at t/compatibility.t line 5.
BEGIN failed--compilation aborted at t/compatibility.t line 5.
t/compatibility........... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/connectSSL-timeout......no testlib at t/connectSSL-timeout.t line 3.
t/connectSSL-timeout...... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/core....................Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25
-BJV5w1\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/core.t line 6.
BEGIN failed--compilation aborted at t/core.t line 6.
t/core.................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/dhe.....................Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25
-BJV5w1\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/dhe.t line 11.
BEGIN failed--compilation aborted at t/dhe.t line 11.
t/dhe..................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/inet6...................Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25
-BJV5w1\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/inet6.t line 5.
BEGIN failed--compilation aborted at t/inet6.t line 5.
t/inet6................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/nonblock................Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25
-BJV5w1\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/nonblock.t line 6.
BEGIN failed--compilation aborted at t/nonblock.t line 6.
t/nonblock................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/readline................Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25
-BJV5w1\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/readline.t line 14.
BEGIN failed--compilation aborted at t/readline.t line 14.
t/readline................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/sessions................Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25
-BJV5w1\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/sessions.t line 5.
BEGIN failed--compilation aborted at t/sessions.t line 5.
t/sessions................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/start-stopssl...........Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25
-BJV5w1\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at D
:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\
blib\lib/IO/Socket/SSL.pm line 18.
BEGIN failed--compilation aborted at D:\strawberry-perl-5.10.0.4-portable-beta-2
\cpan\build\IO-Socket-SSL-1.25-BJV5w1\blib\lib/IO/Socket/SSL.pm line 18.
Compilation failed in require at t/start-stopssl.t line 4.
BEGIN failed--compilation aborted at t/start-stopssl.t line 4.
t/start-stopssl........... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/startssl................Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25
-BJV5w1\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/startssl.t line 6.
BEGIN failed--compilation aborted at t/startssl.t line 6.
t/startssl................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/sysread_write...........Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25
-BJV5w1\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/sysread_write.t line 9.
BEGIN failed--compilation aborted at t/sysread_write.t line 9.
t/sysread_write........... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/verify_hostname.........Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\
strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25-BJV5w1\bl
ib\lib D:\strawberry-perl-5.10.0.4-portable-beta-2\cpan\build\IO-Socket-SSL-1.25
-BJV5w1\blib\arch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
/verify_hostname.t line 4.
BEGIN failed--compilation aborted at t/verify_hostname.t line 4.
t/verify_hostname......... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run

Test Summary Report
-------------------
t/01loadmodule (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 4 tests but ran 0.
t/02settings (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/acceptSSL-timeout (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/auto_verify_hostname (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/cert_no_file (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/compatibility (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/connectSSL-timeout (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/core (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/dhe (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/inet6 (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/nonblock (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/readline (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/sessions (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/start-stopssl (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/startssl (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/sysread_write (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/verify_hostname (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=17, Tests=0, 5 wallclock secs ( 0.11 usr + 0.08 sys = 0.19 CPU)
Result: FAIL
Failed 17/17 test programs. 0/0 subtests failed.
dmake.exe: Error code 130, while making 'test_dynamic'
SULLR/IO-Socket-SSL-1.25.tar.gz
D:\strawberry-perl-5.10.0.4-portable-beta-2\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports SULLR/IO-Socket-SSL-1.25.tar.gz
Running make install
Installing D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\site\lib\IO\Socket\S
SL.pm
Appending installation info to D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\
lib/perllocal.pod
SULLR/IO-Socket-SSL-1.25.tar.gz
D:\strawberry-perl-5.10.0.4-portable-beta-2\c\bin\dmake.exe install UNINST=1 -
- OK
Failed during this command:
SULLR/IO-Socket-SSL-1.25.tar.gz : make_test FAILED but failure ign
ored because 'force' in effect


cpan> force install Net::SMTP::SSL
Running install for module 'Net::SMTP::SSL'
Running make for C/CW/CWEST/Net-SMTP-SSL-1.01.tar.gz
Has already been unwrapped into directory D:\strawberry-perl-5.10.0.4-portable
-beta-2\cpan\build\Net-SMTP-SSL-1.01-hEcY5J
Has already been made
Running make test
D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\bin\perl.exe "-MExtUtils::Comma
nd::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/test....
t/test....1/1 # Failed test 'use Net::SMTP::SSL;'
# at t/test.t line 2.
# Tried to use 'Net::SMTP::SSL'.
# Error: Can't locate Net/SSLeay.pm in @INC (@INC contains: D:\strawberry-p
erl-5.10.0.4-portable-beta-2\cpan\build\Net-SMTP-SSL-1.01-hEcY5J\blib\lib D:\str
awberry-perl-5.10.0.4-portable-beta-2\cpan\build\Net-SMTP-SSL-1.01-hEcY5J\blib\a
rch D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at D:/STRAWB~1.4-P
/perl/site/lib/IO/Socket/SSL.pm line 18.
# BEGIN failed--compilation aborted at D:/STRAWB~1.4-P/perl/site/lib/IO/Socket/S
SL.pm line 18.
# Compilation failed in require at D:\strawberry-perl-5.10.0.4-portable-beta-2\c
pan\build\Net-SMTP-SSL-1.01-hEcY5J\blib\lib/Net/SMTP/SSL.pm line 8.
# BEGIN failed--compilation aborted at D:\strawberry-perl-5.10.0.4-portable-beta
-2\cpan\build\Net-SMTP-SSL-1.01-hEcY5J\blib\lib/Net/SMTP/SSL.pm line 8.
# Compilation failed in require at (eval 8) line 2.
# BEGIN failed--compilation aborted at (eval 8) line 2.
# Looks like you failed 1 test of 1.
t/test.... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests

Test Summary Report
-------------------
t/test (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=1, Tests=1, 1 wallclock secs ( 0.05 usr + 0.00 sys = 0.05 CPU)
Result: FAIL
Failed 1/1 test programs. 1/1 subtests failed.
dmake.exe: Error code 129, while making 'test_dynamic'
CWEST/Net-SMTP-SSL-1.01.tar.gz
D:\strawberry-perl-5.10.0.4-portable-beta-2\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports CWEST/Net-SMTP-SSL-1.01.tar.gz
Running make install
Installing D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\site\lib\Net\SMTP\SS
L.pm
Appending installation info to D:\strawberry-perl-5.10.0.4-portable-beta-2\perl\
lib/perllocal.pod
CWEST/Net-SMTP-SSL-1.01.tar.gz
D:\strawberry-perl-5.10.0.4-portable-beta-2\c\bin\dmake.exe install UNINST=1 -
- OK
Failed during this command:
CWEST/Net-SMTP-SSL-1.01.tar.gz : make_test FAILED but failure ign
ored because 'force' in effect
Jul 3 '09 #18
numberwhun
3,509 Recognized Expert Moderator Specialist
Its because PPM is the utility that is used by Active State for their Windows version of Perl. Strawberry Perl uses the actual CPAN interface. The advantage is that the entire CPAN library is available to you, not just what Active State has ported over to use PPM.

I have had to force installs like you have. It is usually because some test failed. The best thing to do is to write a bit of code that does what you want and test it. If it works, then its installed with what you need. If not, then it gets a bit trickier as you then have to troubleshoot why the test failed and then re-install the module. I would suggest the test and see if it works as expected. If so, great, then move on.

Regards,

Jeff
Jul 3 '09 #19
happyse27
236 New Member
Hi Jeff,

Thanks, can you give me a lead on how and where to start write some codes for gmail emailing or smtp emailing?

I just wanted to send email from some free email portal like gmail, yahoo or hotmail. Not sure if they opened it also?


Cheers...
Andrew
Jul 6 '09 #20
KevinADC
4,059 Recognized Expert Specialist
It may never work if you have activeperl and strawberry perl installed at the same time on your PC.

I said before you can try using the CPAN shell with activeperl but you simply ignored that suggestion. PPM is a convenience, but it does not mean you can't use CPAN to install modules but you may have to jump through some hoops at first to get it to work.
Jul 6 '09 #21
happyse27
236 New Member
Hi Jeff,

Thanks. I did not ignore, I uninstalled ppm from windows control panel add/remove program. But the ppm modules still there.

Do I need to remove all the ppm modules in the physical directories also? Kindly advise. Then I have to put strawberry perl bin directory my perl script right?


Best Rgds,
Andrew
Jul 6 '09 #22
KevinADC
4,059 Recognized Expert Specialist
My name is Kevin.... I can't help you with uninstalling your programs. But if you want to use Strawberry perl then you will need to completely uninstall activeperl first. But you will have to figure that out. Once you have all of activeperl uninstalled, then uninstall strawberry perl and reinstall it. Thats all the help I can give you in this regards.
Jul 6 '09 #23
happyse27
236 New Member
a) ok thanks Kevin(sorry typo to your name).
I will uninstall activestate ppm and after that all its physical modules,
and also follow your instructions to uninstall strawberry and reinstall again.

b) Btw, I need help to see how to install a free shopping cart, any recommendation?

I saw Mango::cart, not sure if it is good.

Thanks,
Andrew
Jul 6 '09 #24
KevinADC
4,059 Recognized Expert Specialist
don't uninstall PPM, just uninstall activeperl and PPM will be uninstalled too. Make sure to uninstall and not just delete. It might be a good idea top check the directories activeperl makes where it stores modules after you uninstall activeperl. Anything you find left over should be deleted. Same with Strawberry perl. Once everything is uninstalled (including strawberry perl) or deleted then reinstall Strawberry perl.

I have no recommendations on a shopping cart.
Jul 6 '09 #25
happyse27
236 New Member
Thanks Kevin! It worked like a charm for all now.. Only thing left now is BELOW, kindly assist... :|...

c:/strawberry/perl/bin/cpan -h
cpan -fi Net::SMTP::SSL
, and other installed.

For Net::SSLeay 1.35 module, it needs 1.03 ver openssl from www.openssl.org. Where to get openssl 1.03 SSL? I could not find the relevant link(see first link below)

http://www.cpan.org/modules/by-modul...ay-1.35.readme
http://www.perlmonks.org/?node_id=664220

Installation error message
-------------------------------------

C:\strawberry\perl>cd bin

C:\strawberry\perl\bin>cpan -h
Use perldoc to read the documentation

NAME
cpan - easily interact with CPAN from the command line

SYNOPSIS
# with arguments and no switches, installs specified modules
cpan module_name [ module_name ... ]

# with switches, installs modules with extra behavior
cpan [-cfimt] module_name [ module_name ... ]

# without arguments, starts CPAN.pm shell
cpan

# without arguments, but some switches
cpan [-ahrvACDLO]

DESCRIPTION
This script provides a command interface (not a shell) to CPAN. At the
moment it uses CPAN.pm to do the work, but it is not a one-shot command
runner for CPAN.pm.

Meta Options
These options are mutually exclusive, and the script processes them in
this order: [hvCAar]. Once the script finds one, it ignores the others,
-- More -- cpan -fi Net::SSLeay
Database was generated on Mon, 06 Jul 2009 09:08:51 GMT
Running install for module 'Net::SSLeay'
Running make for F/FL/FLORA/Net-SSLeay-1.35.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\F\FL\FLORA\N et-SSLeay-1.35.ta
r.gz ok

CPAN.pm: Going to build F/FL/FLORA/Net-SSLeay-1.35.tar.gz

Cannot determine perl version info from lib/Net/SSLeay.pm
Cannot determine license info from lib/Net/SSLeay.pm
*** Could not find OpenSSL
If it's already installed, please set the OPENSSL_PREFIX environment
variable accordingly. If it isn't installed yet, get the latest version
from http://www.openssl.org/.
Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefile.PL]
FLORA/Net-SSLeay-1.35.tar.gz
C:\strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Jul 6 '09 #26
KevinADC
4,059 Recognized Expert Specialist
Sorry, can't help.
Jul 6 '09 #27
happyse27
236 New Member
ok thanks Kevin.


Hi Kevin / All,

Still got problem with openssl 0.96d as per recommended by http://www.cpan.org/modules/by-modul...ay-1.35.readme for Net::SSLeay.pm


Any workaround? I got the error messages when compiling below even after the advise 1 and 2 is given below from different sources. Thanks in Advance, really desperate to resolve this issues. Searched for many websites still having problem.

1) C:\> SET INCLUDE_PATH=C:\OpenSSL\Include as per http://www.perlmonks.org/?node_id=664220

2) and then also follow the instructions in http://www.cpan.org/modules/by-modul...ay-1.35.readme


Thanks and Best Rgds,
Andrew

Error message
===========

-- More -- cpan -fi Net::SSLeay
Database was generated on Mon, 06 Jul 2009 09:08:51 GMT
Running install for module 'Net::SSLeay'
Running make for F/FL/FLORA/Net-SSLeay-1.35.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\F\FL\FLORA\N et-SSLeay-1.35.ta
r.gz ok

CPAN.pm: Going to build F/FL/FLORA/Net-SSLeay-1.35.tar.gz

Cannot determine perl version info from lib/Net/SSLeay.pm
Cannot determine license info from lib/Net/SSLeay.pm
*** Could not find OpenSSL
If it's already installed, please set the OPENSSL_PREFIX environment
variable accordingly. If it isn't installed yet, get the latest version
from http://www.openssl.org/.
Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefile.PL]
FLORA/Net-SSLeay-1.35.tar.gz
C:\strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Jul 7 '09 #28
happyse27
236 New Member
any workaround? Thanks...
Jul 12 '09 #29
happyse27
236 New Member
any light? thanks...
Jul 15 '09 #30
KevinADC
4,059 Recognized Expert Specialist
try perlmonks.com or stackoverflow.com I don't think anyone here can help with your installation problem.
Jul 15 '09 #31
happyse27
236 New Member
@KevinADC
Thanks Kelvin cheers.......
Jul 15 '09 #32

Sign in to post your reply or Sign up for a free account.

Similar topics

1
4128
by: Devonish | last post by:
I am composing an email with Access VB and then sending it from within Access. Everything works correctly (the email actually goes!) but Outlook ask some irritating questions that the user is...
7
16568
by: Susan Bricker | last post by:
I would like to generate a report (I have the report working already) using MS/ACCESS 2000 and then have the ability to send the report as an email attachment to my colleagues. I have looked...
1
1672
by: mark | last post by:
I need to send order confirmation emails through my asp.net storefront. With my Asp 3.0 sites I use cdonts with no issues. I've researched the system.web.mail asp.net way and haven't got it to...
1
2747
by: festivalman | last post by:
Hi, sorry if this is in the wrong spot. Finding the newsgroups on MS's site could have been easier Here's my problem I've got some old asp's that are running our simple web site. In a section,...
8
2477
by: Mike Owen | last post by:
Hi, I am using the following code to send email on a Windows 2003 Web Server: Imports System.Net.Mail ........ Dim msgmail As New MailMessage msgmail.To.Add(New...
3
3856
by: moondaddy | last post by:
I have some code in a web app (asp.net 2.0) and am trying to send an email to 2 different recipients. The first one works and the second one fails. the first email address is of the same domain as...
0
1757
by: damimkader | last post by:
Hi, I'm trying to send emails using a Macro based on an Excel Sheet and the Email Client I'm using is Lotus Notes. OS used - Windows Xp. Language - VB Below is the Code I'm using for doing...
8
3790
by: Marty | last post by:
I'm having issues sending an email to an "@page.nextel.com" email address. I can send to any other email address fine, but when I try the page.nextel.com it gives me this error: ...
3
1745
by: shansivamani | last post by:
using SMTP to send email. is there any settings need to be configured apart from Host name and Port, while sending emails using SMTPClient in .Net? when i try to send mail to ids which has only...
0
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7280
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7330
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.