It is definitely possible to compile ARSperl with Visual C++ Express 2005.
The most common diffculties might be as follows:
(1) You will need also the "Microsoft Platform SDK".
(2) You have to take care that some environment variables are set
correctly. Visual Studio and the Platform SDK both supply batch scripts
to achieve this ("vcvars32.bat" for Visual C++,
"...\Setup\SetEnvLaunch***Retail.Cmd" for the SDK)
(3) After compiling, the so called "manifest" file has to be embedded
into the newly created ARS.dll (don't ask me why), or else you might get
an error message "MSVCR80.dll not found" when trying to run ARSperl.
To do this, run:
mt -manifest blib\arch\auto\ARS\ARS.dll.manifest
-outputresource:blib\arch\auto\ARS\ARS.dll;2
(The "mt" command is installed with Visual Studio)
Regards,
Thilo Stapff
patrick zandi wrote:
** I tryed using ms 2005 express, but it did not like it either.. so I
will try this one..
On 6/18/07, *Grooms, Frederick W* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
**
It looks like it is still looking for a C compiler. I happened to
be using cygwin to access my unix servers so I already had GCC. You
can pull down gcc for windows from SourceForge
http://sourceforge.net/projects/gcw/
<http://sourceforge.net/projects/gcw/>
Fred
------------------------------------------------------------------------
*From:* Action Request System discussion list(ARSList) [mailto:
[email protected] <mailto:[email protected]>] *On Behalf Of
*patrick zandi
*Sent:* Monday, June 18, 2007 5:37 PM
*To:* [email protected] <mailto:[email protected]>
*Subject:* Re: ARSPERL:complile question - Windows
**
till getting error::
here is the error log..
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\ARSperl-1.90>nmake
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
Skip blib\lib/ARSarerrno-h.pm <http://h.pm/> (unchanged)
Skip blib\lib/ARSnparm.pm (unchanged)
Skip blib\lib/artypes.ph (unchanged)
Skip blib\lib/_h2ph_pre.ph (unchanged)
Skip blib\lib/ARSar- h.pm <http://h.pm/> (unchanged)
Skip blib\lib/ARSnterrno- h.pm <http://h.pm/> (unchanged)
Skip blib\lib/ARSnt-h.pm <http://h.pm/> (unchanged)
Skip blib\lib/ARSOOsup.pm (unchanged)
Skip blib\lib/ARSOOmsgs.pm (unchanged)
Skip blib\lib/ARSOOform.pm (unchanged)
Skip blib\lib/ARS.pm (unchanged)
cl -c -I"c:\Program Files\AR System\Arserver\Api/include"
-nologo -GF
-W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAVE_DES_FCRYPT -DNO_H
ASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_P
ERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1
-DVERSION=\"1.90\" -DXS_VER
SION=\"1.90\" "-IC:\Perl\lib\CORE" -D_WIN32 -DARS32 -DARS452
-DPERL_PATCHLE
VEL_IS=8 -DPERL_SUBVERSION_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-1.90>
On 6/18/07, *Grooms, Frederick W* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
**
If you don't have some sort of compiler on your windows box
(like visual C, ...) you will have to pull down a copy of
nmake. A quick google found this site which talks about nmake
http://johnbokma.com/perl/make-for-windows.html and perl.
Fred
--
Patrick Zandi
__20060125_______________________This posting was submitted with
HTML in it___
__20060125_______________________This posting was submitted with
HTML in it___
--
Patrick Zandi __20060125_______________________This posting was
submitted with HTML in it___
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers
Are"