Re: [Arsperl-users] What did I do wrong with NMake?
Brought to you by:
jeffmurphy
|
From: Bruce S. <BS...@SS...> - 2007-06-21 18:14:24
|
Actually, I don't have Visual C (or any variant of C) currently installed on my workstation. My understanding was that I could copy the nmake.exe and nmake.err into the C:\Perl\bin directory and the rest would be handled by the path statement=20 Thanks, Bruce -----Original Message----- From: ars...@ar... [mailto:ars...@ar...] On Behalf Of Thilo Stapff Sent: Thursday, June 21, 2007 11:08 AM To: ARSperl User Discussion Subject: Re: [Arsperl-users] What did I do wrong with NMake? 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"=20 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=20 > directory set up locally for use during testing. Step 1(perl > Makefile.pl) of the installation sequence seems to go fine (per the=20 > logs below), but step 2 (nmake) doesn't complete (something about not=20 > recognizing cl as a valid command). Any suggestions? > =20 > Thanks, > Bruce > =20 > =20 > Microsoft Windows XP [Version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > =20 > C:\Documents and Settings\bscott>cd\ > =20 > C:\>cd arsperl > =20 > 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.. > =20 > 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 =3D 5.00 > ARSAPI =3D C:\Documents and Settings\bscott\My=20 > Documents\Remedy\Devel > oper Files\AR System 512\Arserver\Api > AUTODEFINES =3D -D_WIN32 -DARS32 -DARS452 > -DPERL_PATCHLEVEL_IS=3D8 -DPER > L_SUBVERSION_IS=3D8 -DPERL_BASEREV_IS=3D50 Checking if your kit is=20 > complete... > Looks good > Note (probably harmless): No library found for oldnames.lib Note=20 > (probably harmless): No library found for kernel32.lib Note (probably=20 > harmless): No library found for user32.lib Note (probably harmless):=20 > No library found for gdi32.lib Note (probably harmless): No library=20 > found for winspool.lib Note (probably harmless): No library found for=20 > comdlg32.lib Note (probably harmless): No library found for=20 > advapi32.lib Note (probably harmless): No library found for=20 > shell32.lib Note (probably harmless): No library found for ole32.lib=20 > Note (probably harmless): No library found for oleaut32.lib Note=20 > (probably harmless): No library found for netapi32.lib Note (probably=20 > harmless): No library found for uuid.lib Note (probably harmless): No=20 > library found for ws2_32.lib Note (probably harmless): No library=20 > found for mpr.lib Note (probably harmless): No library found for=20 > winmm.lib Note (probably harmless): No library found for version.lib=20 > Note (probably harmless): No library found for odbc32.lib Note=20 > (probably harmless): No library found for odbccp32.lib Note (probably=20 > harmless): No library found for msvcrt.lib Writing Makefile for ARS=20 > =3D=3D=3D ARSperl 'make test' configuration. =3D=3D=3D > =20 > Please enter the following information. This information will be=20 > recorded in ./t/config.cache > =20 > If you want to skip the 'make test' step, just hit ENTER three times.=20 > You can configure it later by either re-running 'perl Makefile.PL' or=20 > by editting ./t/config.cache > =20 > Fair warning: you probably don't want to run 'make test' against a=20 > production ARSystem server. > =20 > Server Name []: remedydev01 > Admin Username []: bscott > Admin Password []: ******** (This is not what was typed in, by the=20 > way) > =20 > Type 'make' (windows: 'nmake') to build ARSperl. > Type 'make test' to test ARSperl before installing. > Type 'make install' to install ARSperl. > =20 >=20 > C:\ARSperl>nmake > =20 > Microsoft (R) Program Maintenance Utility Version 1.50 > Copyright (c) Microsoft Corp 1988-94. All rights reserved. > =20 > cp ARSarerrno-h.pm blib\lib/ARSarerrno-h.pm cp ARSnparm.pm=20 > blib\lib/ARSnparm.pm cp _h2ph_pre.ph blib\lib/_h2ph_pre.ph cp=20 > ARSar-h.pm blib\lib/ARSar-h.pm cp ARSnterrno-h.pm=20 > blib\lib/ARSnterrno-h.pm cp ARSnt-h.pm blib\lib/ARSnt-h.pm cp=20 > 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=20 > AutoSplitting blib\lib/ARS.pm (blib\lib\auto\ARS) > C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap=20 > C:\Perl\lib\E xtUtils\typemap -typemap typemap ARS.xs > ARS.xsc &&=20 > C:\Perl\bin\perl.exe -MExt Utils::Command -e mv ARS.xsc ARS.c > cl -c -I"C:\Documents and Settings\bscott\My=20 > 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=20 > -DUSE_SITECUSTO MIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS=20 > -DUSE_PERLIO -DPERL_MSVCRT_READ > FIX -MD -Zi -DNDEBUG -O1 -DVERSION=3D\"1.90\" -DXS_VERSION=3D\"1.90= \" > "-IC:\Per > l\lib\CORE" -D_WIN32 -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=3D8=20 > -DPERL_SUBVERSI > ON_IS=3D8 -DPERL_BASEREV_IS=3D50 ARS.c > 'cl' is not recognized as an internal or external command, operable=20 > program or batch file. > NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1' > Stop. > =20 > C:\ARSperl> > =20 >=20 > Bruce Scott >=20 > Application Developer - Remedy >=20 > SSG, PetSMART, Inc. >=20 > Office: 623.587.2340 >=20 > eMail: bs...@ss... >=20 > =20 > ---------------------------------------------------------------------- > -- The information contained in this electronic mail message,=20 > including attachments, if any, is PetSmart confidential information. =20 > It is intended only for the use of the person(s) named above. If the=20 > reader of this message is not the intended recipient, or has received=20 > this message in error, you are hereby notified that any review,=20 > dissemination, distribution or copying of this communication is=20 > strictly prohibited. If you are not the intended recipient or have=20 > received this message in error, please notify the sender via e-mail=20 > and promptly delete the original message. > ---------------------------------------------------------------------- > -- >=20 >=20 > ---------------------------------------------------------------------- > -- >=20 > ---------------------------------------------------------------------- > --- 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=20 > limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ >=20 >=20 > ---------------------------------------------------------------------- > -- >=20 > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > 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 Ars...@ar... https://lists.sourceforge.net/lists/listinfo/arsperl-users #########################################################################= ############ The information contained in this electronic mail message, including atta= chments, if any, is PetSmart confidential information. It is intended on= ly for the use of the person(s) named above. If the reader of this messa= ge is not the intended recipient, or has received this message in error, = you are hereby notified that any review, dissemination, distribution or c= opying 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. #########################################################################= ############ |