To run the Visual C compiler from the command line, some system 
variables need to be set, e.g INCLUDE, LIB, LIBPATH.

I don't know exactly what variables are needed, but somewhere in your 
Visual Studio installation directory should be the "vcvars32.bat" 
script, which can be executed before running Makefile.PL to set the 
necessary variables.

Regards,
Thilo



Bruce Scott wrote:
> I am installing ARSPerl v 1.9 (using Perl v 5.8.8.820 and NMake v 1.5) 
> on a Windows XP workstation, with a copy of the AR System 5.1.2 API 
> directory set up locally for use during testing.  Step 1(perl 
> Makefile.pl) of the installation sequence seems to go fine (per the logs 
> below), but step 2 (nmake) doesn't complete (something about not 
> recognizing cl as a valid command).  Any suggestions?
>  
> Thanks,
> Bruce
>  
>  
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>  
> C:\Documents and Settings\bscott>cd\
>  
> C:\>cd arsperl
>  
> C:\ARSperl>perl Makefile.pl
> Building against perl 5.008008
> Generating support.h file..
>         Processing AR_STRUCT_ITEM codes..
>         Processing AR_SERVER_STAT codes..
>         Processing AR_SCHEMA codes..
>         Processing AR_COM_PARM codes..
>         Processing AR_COM_METHOD codes..
>         Processing AR_DDE codes..
>         Processing AR_ACTIVE_LINK_ACTION codes..
>         Processing AR_ACTIVE_LINK_ACTION_OPEN codes..
>         Processing AR_CHAR_MENU_DD type codes..
>         Processing AR_CHAR_MENU_DD name codes..
>         Processing AR_CHAR_MENU_DD value format..
>         Processing AR_CHAR_MENU codes..
>         Processing AR_FILTER_ACTION codes..
>         Processing AR_MENU_REFRESH codes..
>         Processing AR_PERMISSIONS (Schema) codes..
>         Processing AR_PERMISSIONS (Field) codes..
>         Processing AR_DATA_TYPE codes..
>         Processing AR_BYTE_LIST codes..
>         Processing AR_NO_MATCH codes..
>         Processing AR_MULTI_MATCH codes..
>         Processing AR_RETURN codes..
>         Processing AR_FUNCTION codes..
>         Processing ARCON codes..
>         Processing ARCONOWNER codes..
>         Processing ARREF codes..
>         Processing AR_KEYWORD codes..
>         Processing AR_SERVER_INFO codes..
>  
> Generating serverTypeInfoHints.h ..
> Converting C header files to perl modules ..
> The system cannot find the file specified.
> The system cannot find the file specified.
> Configuring with options:
>         ARSVERSION  = 5.00
>         ARSAPI      = C:\Documents and Settings\bscott\My 
> Documents\Remedy\Devel
> oper Files\AR System 512\Arserver\Api
>         AUTODEFINES =  -D_WIN32  -DARS32  -DARS452  
> -DPERL_PATCHLEVEL_IS=8 -DPER
> L_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50
> Checking if your kit is complete...
> Looks good
> 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 ARS
> === ARSperl 'make test' configuration. ===
>  
> Please enter the following information. This information will be
> recorded in ./t/config.cache
>  
> If you want to skip the 'make test' step, just hit ENTER
> three times. You can configure it later by either re-running
> 'perl Makefile.PL' or by editting ./t/config.cache
>  
> Fair warning: you probably don't want to run 'make test' against a
> production ARSystem server.
>  
> Server Name []: remedydev01
> Admin Username []: bscott
> Admin Password []: ********  (This is not what was typed in, by the way)
>  
> Type 'make' (windows: 'nmake') to build ARSperl.
> Type 'make test' to test ARSperl before installing.
> Type 'make install' to install ARSperl.
>  
> 
> C:\ARSperl>nmake
>  
> Microsoft (R) Program Maintenance Utility   Version 1.50
> Copyright (c) Microsoft Corp 1988-94. All rights reserved.
>  
> cp ARSarerrno-h.pm blib\lib/ARSarerrno-h.pm
> cp ARSnparm.pm blib\lib/ARSnparm.pm
> cp _h2ph_pre.ph blib\lib/_h2ph_pre.ph
> cp ARSar-h.pm blib\lib/ARSar-h.pm
> cp ARSnterrno-h.pm blib\lib/ARSnterrno-h.pm
> cp ARSnt-h.pm blib\lib/ARSnt-h.pm
> cp ARSOOsup.pm blib\lib/ARSOOsup.pm
> cp ARSOOmsgs.pm blib\lib/ARSOOmsgs.pm
> cp ARSOOform.pm blib\lib/ARSOOform.pm
> cp ARS.pm blib\lib/ARS.pm
> AutoSplitting blib\lib/ARS.pm (blib\lib\auto\ARS)
>         C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp  -typemap 
> C:\Perl\lib\E
> xtUtils\typemap -typemap typemap  ARS.xs > ARS.xsc && 
> C:\Perl\bin\perl.exe -MExt
> Utils::Command -e mv ARS.xsc ARS.c
>         cl -c  -I"C:\Documents and Settings\bscott\My 
> Documents\Remedy\Developer
>  Files\AR System 512\Arserver\Api/include"  -nologo -GF -W3 -MD -Zi 
> -DNDEBUG -O1
>  -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED 
> -DUSE_SITECUSTO
> MIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO 
> -DPERL_MSVCRT_READ
> FIX -MD -Zi -DNDEBUG -O1    -DVERSION=\"1.90\"  -DXS_VERSION=\"1.90\"  
> "-IC:\Per
> l\lib\CORE"  -D_WIN32  -DARS32  -DARS452  -DPERL_PATCHLEVEL_IS=8 
> -DPERL_SUBVERSI
> ON_IS=8 -DPERL_BASEREV_IS=50 ARS.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.
>  
> C:\ARSperl>
>  
> 
> Bruce Scott
> 
> Application Developer - Remedy
> 
> SSG, PetSMART, Inc.
> 
> Office:  623.587.2340
> 
> eMail:  [EMAIL PROTECTED]
> 
>  
> ------------------------------------------------------------------------
> The information contained in this electronic mail message, including 
> attachments, if any, is PetSmart confidential information.  It is 
> intended only for the use of the person(s) named above.  If the reader 
> of this message is not the intended recipient, or has received this 
> message in error, you are hereby notified that any review, 
> dissemination, distribution or copying of this communication is strictly 
> prohibited.  If you are not the intended recipient or have received this 
> message in error, please notify the sender via e-mail and promptly 
> delete the original message.
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Arsperl-users mailing list
> Arsperl-users@arsperl.org
> https://lists.sourceforge.net/lists/listinfo/arsperl-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to