Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^6: List Windows scheduled tasks

by pankaj_it09 (Scribe)
on Aug 10, 2009 at 07:00 UTC ( #787260=note: print w/ replies, xml ) Need Help??


in reply to Re^5: List Windows scheduled tasks
in thread List Windows scheduled tasks

I tried everything but still the below error :

C:\Documents and Settings\psingh>cpan Win32::TaskScheduler CPAN: Storable loaded ok (v2.18) Going to read D:\Perl\cpan\Metadata Database was generated on Sat, 08 Aug 2009 10:28:09 GMT Running install for module 'Win32::TaskScheduler' Running make for U/UN/UNICOLET/Win32-TaskScheduler2.0.3.zip CPAN: Digest::SHA loaded ok (v5.45) CPAN: Compress::Zlib loaded ok (v2.008) Checksum for D:\Perl\cpan\sources\authors\id\U\UN\UNICOLET\Win32-TaskS +cheduler2.0.3.zip ok CPAN: Archive::Zip loaded ok (v1.20) CPAN.pm: Going to build U/UN/UNICOLET/Win32-TaskScheduler2.0.3.zip Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lmstask Note (probably harmless): No library found for oldnames.lib Note (probably harmless): No library found for kernel32.lib Note (probably harmless): No library found for user32.lib Note (probably harmless): No library found for gdi32.lib Note (probably harmless): No library found for winspool.lib Note (probably harmless): No library found for comdlg32.lib Note (probably harmless): No library found for advapi32.lib Note (probably harmless): No library found for shell32.lib Note (probably harmless): No library found for ole32.lib Note (probably harmless): No library found for oleaut32.lib Note (probably harmless): No library found for netapi32.lib Note (probably harmless): No library found for uuid.lib Note (probably harmless): No library found for ws2_32.lib Note (probably harmless): No library found for mpr.lib Note (probably harmless): No library found for winmm.lib Note (probably harmless): No library found for version.lib Note (probably harmless): No library found for odbc32.lib Note (probably harmless): No library found for odbccp32.lib Note (probably harmless): No library found for msvcrt.lib Writing Makefile for Win32::TaskScheduler Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cp Example.pl blib\lib\Win32\Example.pl cp runTime.pl blib\lib\Win32\runTime.pl cp TaskScheduler.pm blib\lib\Win32\TaskScheduler.pm cp trigger.pl blib\lib\Win32\trigger.pl D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils\xsubpp -typemap D:\ +Perl\lib\ExtUtils\typemap TaskScheduler.xs > TaskScheduler.xsc && D: +\ Perl\bin\perl.exe -MExtUtils::Command -e mv TaskScheduler.xsc TaskSche +duler.c Please specify prototyping behavior for TaskScheduler.xs (see perlxs m +anual) cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSO +LE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_I +N _INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_M +SVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"2.0.3\" -DXS_VERSI +O N=\"2.0.3\" "-ID:\Perl\lib\CORE" -TP TaskScheduler.c 'cl' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x1' Stop. UNICOLET/Win32-TaskScheduler2.0.3.zip nmake -- NOT OK Warning (usually harmless): 'YAML' not installed, will not store persi +stent state Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible


Comment on Re^6: List Windows scheduled tasks
Download Code
Re^7: List Windows scheduled tasks
by BrowserUk (Pope) on Aug 10, 2009 at 07:08 UTC

    You either don't have a C compiler installed; or your environment is not set up correctly to use it.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      From where will I get the C compiler and how to set up the environment for it ?

      My OS is Windows XP Professional.

        Which version of Perl are you using? ActiveState, Strawberry Perl?

        Martin

        From where will I get the C compiler and how to set up the environment for it ?

        If you have Strawberry Perl then you should already have the compiler, and the environment should be set up.
        If you have ActivePerl, then you simply need to ppm install MinGW.

        Cheers,
        Rob
        UPDATE: But I think the Win32::TaskScheduler source needs a Microsoft Compiler (even then, it won't build for me with VC7.0) and both of the possibilities mentioned above provide you only with the MinGW compiler.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://787260]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2014-08-20 10:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (110 votes), past polls