Sending email issues...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • happyse27
    New Member
    • Sep 2008
    • 236

    #16
    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>
    Last edited by happyse27; Jul 2 '09, 03:38 AM. Reason: typo

    Comment

    • numberwhun
      Recognized Expert Moderator Specialist
      • May 2007
      • 3467

      #17
      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:

      Code:
      perl -MCPAN -e shell
      Once you are in there, all you should need to do is type:

      Code:
      install <module name>
      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:

      Code:
      install Net::SMTP
      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

      Comment

      • happyse27
        New Member
        • Sep 2008
        • 236

        #18
        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::Comm a
        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\arc h 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\arc h 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.......C an'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\arc h 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_hos tname....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\arc h D:/STRAWB~1.4-P/perl/lib D:/STRAWB~1.4-P/perl/site/lib .) at t
        /auto_verify_hos tname.t line 4.
        BEGIN failed--compilation aborted at t/auto_verify_hos tname.t line 4.
        t/auto_verify_hos tname.... 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\arc h 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\arc h 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\arc h 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\arc h 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\arc h 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\arc h 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\arc h 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\arc h 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\arc h 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\arc h 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\arc h 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\arc h 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_hos tname (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.e xe 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.e xe 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\Ne t-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::Comm a
        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\Ne t-SMTP-SSL-1.01-hEcY5J\blib\lib D:\str
        awberry-perl-5.10.0.4-portable-beta-2\cpan\build\Ne t-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\Ne t-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.e xe 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.e xe 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

        Comment

        • numberwhun
          Recognized Expert Moderator Specialist
          • May 2007
          • 3467

          #19
          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

          Comment

          • happyse27
            New Member
            • Sep 2008
            • 236

            #20
            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

            Comment

            • KevinADC
              Recognized Expert Specialist
              • Jan 2007
              • 4092

              #21
              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.

              Comment

              • happyse27
                New Member
                • Sep 2008
                • 236

                #22
                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

                Comment

                • KevinADC
                  Recognized Expert Specialist
                  • Jan 2007
                  • 4092

                  #23
                  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.

                  Comment

                  • happyse27
                    New Member
                    • Sep 2008
                    • 236

                    #24
                    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

                    Comment

                    • KevinADC
                      Recognized Expert Specialist
                      • Jan 2007
                      • 4092

                      #25
                      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.

                      Comment

                      • happyse27
                        New Member
                        • Sep 2008
                        • 236

                        #26
                        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)




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

                        C:\strawberry\p erl>cd bin

                        C:\strawberry\p erl\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\c pan\sources\aut hors\id\F\FL\FL ORA\Net-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\p erl\bin\perl.ex e Makefile.PL]
                        FLORA/Net-SSLeay-1.35.tar.gz
                        C:\strawberry\p erl\bin\perl.ex e Makefile.PL -- NOT OK
                        Running make test
                        Make had some problems, won't test
                        Running make install
                        Make had some problems, won't install

                        Comment

                        • KevinADC
                          Recognized Expert Specialist
                          • Jan 2007
                          • 4092

                          #27
                          Sorry, can't help.

                          Comment

                          • happyse27
                            New Member
                            • Sep 2008
                            • 236

                            #28
                            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\Includ e 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\c pan\sources\aut hors\id\F\FL\FL ORA\Net-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\p erl\bin\perl.ex e Makefile.PL]
                            FLORA/Net-SSLeay-1.35.tar.gz
                            C:\strawberry\p erl\bin\perl.ex e Makefile.PL -- NOT OK
                            Running make test
                            Make had some problems, won't test
                            Running make install
                            Make had some problems, won't install

                            Comment

                            • happyse27
                              New Member
                              • Sep 2008
                              • 236

                              #29
                              any workaround? Thanks...

                              Comment

                              • happyse27
                                New Member
                                • Sep 2008
                                • 236

                                #30
                                any light? thanks...

                                Comment

                                Working...