Thanks, Thilo! Running vcvars32.bat did the trick. I also found a document - "A Practical Guide to Compiling C based Modules under ActiveState using Microsoft C++" - out on www.perlmonks.org by tachyon. This echoed your suggestion and added some additional info.
Basically, my problem was not with Perl. My problem was not building the C++ compiler environment. Thanks again for the help. Now on to creating a package (PPM). -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thilo Stapff Sent: Tuesday, April 10, 2007 5:03 AM To: ARSperl User Discussion Subject: Re: [Arsperl-users] Unable to Compile ARSPerl 1.90 on Windows 2000 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 HEWITT, DARRYL wrote: > I have downloaded and extracted contents of the ARSperl-1.90.tgz file > from _http://sourceforge.net/_ to my C: drive. I have installed > ActiveState Perl 5.8.8 Build 820. I have editted the makefile.pl as > instructed and have pointed it to a version 7.0.1 Arserver API folder. > > When I run the makefile.pl from a command prompt, I get errors like the > following: > > Looks good > Note (probably harmless): No library found for oldnames.lib > Note (probably harmless): No library found for kernel32.lib > Etc. > > But the makefile is created. I then run nMake and get errors like the > following: > > e:\Remedy\ARServer\Api\include\artypes.h(16) : fatal error C1083: Cannot > open include file: 'limits.h': No such file or directory > > NMAKE : fatal error U1077: 'cl' : return code '0x2' > Stop. > > I can get around these by copying a whole bunch of includes files from > my Microsoft Visual Studio includes folders to the base > Arserver\Api\Includes folder. > > I then start getting errors like the following: > > ARS.obj : error LNK2019: unresolved external symbol _memset referenced > in function _XS_ARS_ars_LoadQualifier > support.obj : error LNK2019: unresolved external symbol _memset > referenced in function _ARError_reset > > I can get rid of the above errors if I copy the lib files from my > Microsoft Visual Studio lib folders to the base Arserver\Api\Includes > folder. > > I don't profess to be a Perl syntax expert. > > Can someone tell me how to get the Makefile.pl to recognize my > .lib and .includes folders that are registered on my PC and in my PATH > statement as well as other > environment variables? > > Thanks in advance for any help you can offer. > > Darryl > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V > > > ------------------------------------------------------------------------ > > _______________________________________________ > Arsperl-users mailing list > Arsperl-users@arsperl.org > https://lists.sourceforge.net/lists/listinfo/arsperl-users ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users