Re: [Arsperl-users] Unable to Compile ARSPerl 1.90 on Windows 2000
Brought to you by:
jeffmurphy
|
From: HEWITT, D. <DA...@SA...> - 2007-04-10 14:30:50
|
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 =20 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: ars...@ar... [mailto:ars...@ar...] 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=20 variables need to be set, e.g INCLUDE, LIB, LIBPATH. I don't know exactly what variables are needed, but somewhere in your=20 Visual Studio installation directory should be the "vcvars32.bat"=20 script, which can be executed before running Makefile.PL to set the=20 necessary variables. Regards, Thilo HEWITT, DARRYL wrote: > I have downloaded and extracted contents of the ARSperl-1.90.tgz file=20 > from _http://sourceforge.net/_ to my C: drive. I have installed=20 > ActiveState Perl 5.8.8 Build 820. I have editted the makefile.pl as=20 > instructed and have pointed it to a version 7.0.1 Arserver API folder. >=20 > When I run the makefile.pl from a command prompt, I get errors like the=20 > following: >=20 > Looks good > Note (probably harmless): No library found for oldnames.lib > Note (probably harmless): No library found for kernel32.lib > Etc. >=20 > But the makefile is created. I then run nMake and get errors like the > following: >=20 > e:\Remedy\ARServer\Api\include\artypes.h(16) : fatal error C1083: Cannot=20 > open include file: 'limits.h': No such file or directory >=20 > NMAKE : fatal error U1077: 'cl' : return code '0x2' > Stop. >=20 > I can get around these by copying a whole bunch of includes files from > my Microsoft Visual Studio includes folders to the base=20 > Arserver\Api\Includes folder. >=20 > I then start getting errors like the following: >=20 > ARS.obj : error LNK2019: unresolved external symbol _memset referenced > in function _XS_ARS_ars_LoadQualifier > support.obj : error LNK2019: unresolved external symbol _memset=20 > referenced in function _ARError_reset >=20 > I can get rid of the above errors if I copy the lib files from my=20 > Microsoft Visual Studio lib folders to the base Arserver\Api\Includes=20 > folder. >=20 > I don't profess to be a Perl syntax expert. >=20 > 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? >=20 > Thanks in advance for any help you can offer. >=20 > Darryl >=20 >=20 > ------------------------------------------------------------------------ >=20 > ------------------------------------------------------------------------ - > 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=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V >=20 >=20 > ------------------------------------------------------------------------ >=20 > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > 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=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V _______________________________________________ Arsperl-users mailing list Ars...@ar... https://lists.sourceforge.net/lists/listinfo/arsperl-users |