It is much easier to compile ARSperl on Windows with Visual Studio 6,
the same software as is used for the ActiveState distribution. This
works a lot quicker.
I will look into creating a compiled version of ARSperl for Windows
just as the 1.84 release that was compiled against the 6.3 API's.
BTW: Probably the 6.3 / 1.84 release will work fine for you, also
against a 7.x server. only the newest api capabilities like
ARImpersonateUser are not available, but it would be sufficient for
creating/modifying/deleting entries.
Kind regards,
Michiel Beijen
Mansolutions
On 6/19/07, Thilo Stapff <[EMAIL PROTECTED]> wrote:
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"
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers
Are"