I'm helping David Cantrell with Devel::AssertLib -- particularly with Win32 portability.
I have a branch that passes tests on my Linux and Strawberry Perl platforms, and I've added code that I *think* should work with ActiveState and MSVC, but I don't have that platform set up anywhere.
I'd greatly appreciate if someone(s) would download the branch from my repository, try running tests and let me know what happens:
http://dagolden.googlecode.com/svn/shadow/Devel-AssertLib/branches/dagolden/
If it fails and you can patch it to work, that would be wonderful as well.
Thank you very much
-- dagolden
Re:It fails...
dagolden on 2007-10-17T13:11:00
Ah! The old "spaces in the PATH" trick. Either converting the system() call to array or else just calling the programs by their name instead of full path (after confirming they can be found in the full path) will probably do the trick.
Thanks for looking into it so quickly.
-- dagolden
Re:It fails...
AndyArmstrong on 2007-10-17T13:13:57
It gets worse. Get the name of the compiler right (it has spaces in the name) and
C:\cygwin\home\Administrator\Works\Perl\Devel-AssertLib\dagolden\bazbam.c ANDYARMSTRO89E4\Administrator:F
ANDYARMSTRO89E4\None:R
Everyone:R
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
bazbam.c
c1 : fatal error C1083: Cannot open source file: 'bazbam.c': Permission denied
I put bazbam.c in the project directory in case the temp dir was the problem. I can compile it manually using the same command line with no problem.
I'd forgotten just how profoundly painful the simplest things are in Windows:)
I'm going to have to take a break from this for now. I'll try to have another look at it later.Re:It fails...
dagolden on 2007-10-17T13:56:57
Damn. Well, thanks very much for manually smoking this for me. I'll have to see about getting AS/MSVC up in a virtual machine and working this problem from there.
-- dagolden
Re:It fails...
AndyArmstrong on 2007-10-17T15:04:38
I'll try to have another look at it later David. Just got bogged down in the day job:)