You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Bernard Kash <bk...@ibbotson.com> on 2005/11/04 21:24:23 UTC

Problem with packageBinaries.pl on windows using cygwin perl

Hi,
 
I'm trying use the packageBinaries.pl perl script to build xercesc 2.7
with Visual Studio 2.7.
I am using cygwin for the *nix commands the script uses (uname, mkdir,
cp, rm) and zip and perl.
I cannot get the script to run using cywgin perl due to system() calls
to "ren" & "del".
When I install ActivePerl, the calls to "del" and "ren" work.
 
Has anyone used cygwin perl to run packageBinaries.pl on windows?
Is there something I need to do to the cygwin configuration to allow
calls to windows commands such as "del"?
 
Thanks,
 
Bernie
 

Re: Problem with packageBinaries.pl on windows using cygwin perl

Posted by Radovan Chytracek <ra...@gmail.com>.
Hi,

    if I can suggest, stick to the platform conventions you build for.
In cygwin use the cygwin Xerces-C version and stick to U**x
conventions. To build the WIN32 version run all the tools from "DOS"
prompt so the run-time environment is free of side-effects. Also make
sure the PATH is set properly and cygwin /bin & /usr/bin is not in
front of WIN32 command line tools location when doing that.

Cheers

           Radovan

On 11/4/05, Bernard Kash <bk...@ibbotson.com> wrote:
> Hi,
>
> I'm trying use the packageBinaries.pl perl script to build xercesc 2.7 with
> Visual Studio 2.7.
> I am using cygwin for the *nix commands the script uses (uname, mkdir, cp,
> rm) and zip and perl.
> I cannot get the script to run using cywgin perl due to system() calls to
> "ren" & "del".
> When I install ActivePerl, the calls to "del" and "ren" work.
>
> Has anyone used cygwin perl to run packageBinaries.pl on windows?
> Is there something I need to do to the cygwin configuration to allow calls
> to windows commands such as "del"?
>
> Thanks,
>
> Bernie
>


--
Radovan Chytracek CERN IT/ADC
mailto:Radovan.Chytracek@cern.ch
phone: +41227674578 fax: +41227669830