HTCondor Project List Archives



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-devel] Compilation Condor 7.5.0 (and previous versions) on Windows XP using Visual Studio 9.0



Title: RE: [Condor-devel] Compilation Condor 7.5.0 (and previous versions) on Windows XP using Visual Studio 9.0

Dear,

I have already tried moving the Condor source directory to a simple path, but in the config files there are many references to the Microsoft Visual Studio 9.0 directory and it assumes that the source files are within a subdirectory of this. Although I much prefer Linux, I have decided to build and develop Condor on Windows XP due to its vast amount of visual studio projects. I assumed by this that Windows XP was the primary development platform for Condor developers, but I am beginning to doubt it.

So again, I could rename all references to directories with spaces in it, but I would much rather know how the Windows developers ever managed to install Condor with these serieus flaws in the build scripts. However, if I do not receive a reply soon, I will begin renaming the references and hope that it works this way.

Thanks for your help!

WIth kind regards,
Kristof.


-----Original Message-----
From: Timothy St. Clair [mailto:tstclair@xxxxxxxxxx]
Sent: Mon 1/11/2010 7:14 PM
To: Overdulve Kristof
Subject: RE: [Condor-devel] Compilation Condor 7.5.0 (and previous versions) on Windows XP using Visual Studio 9.0

Now I see. 

try moving the condor src directory to a simple named path.

e.g. C:\tmp\condor

try building from that loc.

Let us know if you still have issues. 

---------
Cheers,
Timothy St. Clair



On Mon, 2010-01-11 at 15:30 +0100, Overdulve Kristof wrote:
> I have checked my path, but since it is a clean Windows XP installation, ActivePerl is the only Perl distribution in my path. In addition, the problem is not only in the Perl distribution since the make.bat/make_win32_externals.bat scripts fail to some extent too.
>
> I am guessing that the problem might be related to the usage of a non-standard command-line tool that does support spaces in folders, but I am not sure of this. I use the default cmd tool for running the bat scripts. Commands in the make script such as 'mkdir C:\Program Files\Microsoft Visual Studio...' create the directories 'C:\Program', 'Files\Microsoft', 'Visual', ... which can be expected from the default command-line behaviour. But since I was advised to do so in the installation instructions and since there are lots of hard-coded references to C:\Program Files\Microsoft Visual Studio 9.0\..., I have used all the default paths and settings during the preparations of the Condor compilation.
>
> With regards,
> Kristof Overdulve.
>
> -----Original Message-----
> From: Timothy St. Clair [mailto:tstclair@xxxxxxxxxx]
> Sent: Mon 1/11/2010 2:10 PM
> To: Overdulve Kristof
> Cc: condor-devel@xxxxxxxxxxx
> Subject: Re: [Condor-devel] Compilation Condor 7.5.0 (and previous versions) on Windows XP using Visual Studio 9.0

> Make certain that active perl is ahead of any other perl (namely cygwin)
> in your path.  It should be a pre-req.
>
>
> ---------
> Cheers,
> Timothy St. Clair
>
>
>
> On Mon, 2010-01-11 at 10:53 +0100, Kristof overdulve wrote:
> > Dear,
> >
> >
> > Since a few days ago I have been trying to compile Condor on a fresh
> > Windows XP machine with Visual Studio 9.0 installed. All was installed
> > in the default directories so when executing make.bat in the msconfig
> > directory, the set_vars.bat succeed and it seems that all is going
> > well.
> >
> >
> > However, upon execution the make_win32_externals.bat I get the error
> > "else was unexpected at this time". I can handle such sort of errors,
> > so I eliminated the notion of the else statement and just executed the
> > contents of the if statement. This too goes wrong:
> >
> >
> > Can't open perl script "C:\Program": Permission denied
> > Can't open perl script "C:\Program": Permission denied
> > Can't open perl script "C:\Program": Permission denied
> > Can't open perl script "C:\Program": Permission denied
> > Can't open perl script "C:\Program": Permission denied
> > Can't open perl script "C:\Program": Permission denied
> > Can't open perl script "C:\Program": Permission denied
> > Can't open perl script "C:\Program": Permission denied
> > *** Failed to build externals ***
> >
> >
> > Okay, as it seems Windows does not handle spaces too well, lets try
> > putting the arguments between parentheses. This seems to work but then
> > I get
> >
> >
> > C:\Program Files\Microsoft Visual Studio 9.0\VC\vcprojects
> > \condor-7.5.0\msconfig>make
> > Setting environment for using Microsoft Visual Studio 2008 x86 tools.
> > Targeting Windows 2000 and IE 5.0 RETAIL
> >
> >
> > Found BUILD-ID in C:\Program Files\Microsoft Visual Studio 9.0\VC
> > \vcprojects\condor-7.5.0
> > Using build-id: 205324
> >
> >
> > Warning: Use of "localtime" without parentheses is ambiguous at C:
> > \Program Files\Microsoft Visual Studio 9.0\VC\vcprojects\condor-7.5.0
> > \msconfig\..\external
> > rm: C:\Program: is a directory
> > Setting up gsoap-2.7.10-p5 ...
> > (see C:\Program Files\Microsoft Visual Studio 9.0\VC\vcprojects
> > \condor-7.5.0\msconfig\..\externals/build/log.gsoap-2.7.10-p5)
> > gsoap-2.7.10-p5: FAILED! (see C:\Program Files\Microsoft Visual Studio
> > 9.0\VC\vcprojects\condor-7.5.0\msconfig
> > \..\externals/build/log.gsoap-2.7.10-p5)
> > tail: C:\Program: Permission denied
> > tail: Files\Microsoft: Permission denied
> > tail: Visual: Permission denied
> > tail: Studio: Permission denied
> > tail: 9.0\VC\vcprojects\condor-7.5.0\msconfig
> > \..\externals/build/log.gsoap-2.7.10-p5: No such file or directory
> > Can't spawn "tail -50 C:\Program Files\Microsoft Visual Studio 9.0\VC
> > \vcprojects\condor-7.5.0\msconfig
> > \..\externals/build/log.gsoap-2.7.10-p5": No error at
> > \VC\vcprojects\condor-7.5.0\msconfig\..\externals\build_external line
> > 384.
> > tail: C:\Program: Permission denied
> > tail: Files\Microsoft: Permission denied
> > tail: Visual: Permission denied
> > tail: Studio: Permission denied
> > ...
> > ...
> > (the list does on)
> >
> >
> > I can conclude from this output that the perl script that is called in
> > the make_win32_externals.bat script has its own set of problems, also
> > related to spaces. More specifically, the paths seem to be chopped off
> > at the first occurrence of each space. Whereas I can now start adding
> > parentheses everywhere - which i would not prefer - I am hoping that
> > you can help me, since I cannot believe that I am the only one dealing
> > with this problem. Google did not really help me out here so ...
> >
> >
> > Thanks in advance.
> >
> >
> > With kind regards,
> > Kristof Overdulve.
> > _______________________________________________
> > Condor-devel mailing list
> > Condor-devel@xxxxxxxxxxx
> > https://lists.cs.wisc.edu/mailman/listinfo/condor-devel
>
>