Argh. Win32 is quite f**ked. :(

1. "make" for Win32 is called "nmake" if you use the Visual C++ compiler.
You should introduce some platform specific variable in the hints file.

2. there is a problem with "cd".
IMPORTANT: Don't use semicolons for ***** sake! And maintain the current
directory, that means if you "cd somewhere", "cd .." back later.
--- Building...
        cd classes; make
The system cannot find the path specified.
NMAKE : fatal error U1077: 'cd' : return code '0x1'
Stop.
---
<<< makefile.in:
 cd docs; make clean
 cd classes; make clean
>>>
 cd docs
 nmake clean
 cd ..
 cd classes
 nmake clean
 cd ..
---
<<< makefile.in
docs/.dummy:
 cd docs; make

classes/perlint$(O):
 cd classes; make
>>>
docs/.dummy:
 cd docs
 nmake
 cd ..

classes/perlint$(O):
 cd classes
 nmake
 cd ..
---
Be sure to replace nmake with $(MAKE_F) or such so you don't break Un*x
builds.

3. "nmake distclean" barfs. And please make it not delete CVS directories!
(cvs says: Move something away stupid, it's in my way)
--- Building...
        perl -MExtUtils::Manifest=filecheck -le
'$ExtUtils::Manifest::Quiet=1;un
link $_ for filecheck()'
Can't find string terminator "'" anywhere before EOF at -e line 1.
NMAKE : fatal error U1077: 'perl' : return code '0xff'
Stop.
<<< makefile.in
distclean:
 perl -MExtUtils::Manifest=filecheck -le
'$$ExtUtils::Manifest::Quiet=1;unlink $$_ for filecheck()'
>>>
distclean:
 perl -MExtUtils::Manifest=filecheck -le
"$$ExtUtils::Manifest::Quiet=1;unlink $$_ for filecheck()"
---
4. And a bunch of other problems.
But these patches should fix the build process for Win32 (as you can see my
tinderbox is up again), though these can't applied right now because they
would break Un*x builds.
So TODO: Create a $c{make} or something like that hint, fix these patches
and apply them.

Not good! Maintaining a Win32 tinderbox sucks BTW, now I have to fit fixing
Parrot into my schedule :)
Hope this was all.

-Jaen Saul (aka SlowByte)

Reply via email to