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



Matthew Farrellee wrote:
As Tim mentioned, make sure you are using ActiveState perl.

Also, I remember there were issues with usernames that had spaces in them - though that might be a complete red herring.

As for development, Windows is used as well as OS X and Linux. There are probably more people developing Condor on Linux than Windows.

Best,


Re the gsoap build failure, try doing the following before building:
  mkdir C:\temp

The Makefile.win32 for gsoap requires a writeable scratch directory, and it looks like it is hard-coded to be C:\temp at the moment. I've been meaning to push a patch to have it use the TEMP pr TMP environment variable if set.

See
  http://condor-wiki.cs.wisc.edu/index.cgi/tktview?tn=766,21

regards,
Todd


matt

On 01/12/2010 05:53 AM, Overdulve Kristof wrote:
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




_______________________________________________
Condor-devel mailing list
Condor-devel@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/condor-devel

_______________________________________________
Condor-devel mailing list
Condor-devel@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/condor-devel


--
Todd Tannenbaum                       University of Wisconsin-Madison
Condor Project Research               Department of Computer Sciences
tannenba@xxxxxxxxxxx                  1210 W. Dayton St. Rm #4257
Phone: (608) 263-7132                 Madison, WI 53706-1685