HTCondor Project List Archives



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

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



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.