Re: [Perlunit-users] perl unit availability
Status: Beta
Brought to you by:
mca1001
From: Adam S. <ad...@sp...> - 2003-01-03 11:20:03
|
Bret Pettichord (br...@pe...) wrote: > I haven't used perl in a while and i've decided that i want to use a junit > style test harness now that i'm going back to it. > > Reading c2.com and the discussion here makes me think that test-unit must > be the definitive package for this. Thus i'm confused as to why it isn't > included in activestate's ppm repostitories. Any suggestions for why this > is so? Probably because noone has tried running it under ActiveState before (or maybe they did, but kept it to themselves). I can't remember exactly. Is there any reference to Win32 in the archives for this list or perlunit-devel? > I've been able to install all the prerequisites using PPM, but, like i > said, Test-Unit isn't in the default repositories. I did find a copy of > Test-Unit.PPM but when i tried to install it with PPM, i got this error: > Error: no suitable installation target found for package Test-Unit. The > problem seems to be that i'm using Perl 5.8. > > I did try a manual install, but ran into this problem. > > >Administrator@LAKATOS /cygdrive/e/Test-Unit-0.24 > >$ make install > >Makefile:749: *** missing separator. Stop. > > Line 749 is the third to last line of this section: > > ># --- MakeMaker pm_to_blib section: > > > >pm_to_blib: $(TO_INST_PM) > > @$(PERLRUNINST) -MExtUtils::Install \ > > -e "pm_to_blib(qw[ <<pmfiles.dat > >],'$(INST_LIB)\auto','$(PM_FILTER)')" > > > >$(PM_TO_BLIB) > ><< > > @$(TOUCH) $@ > > Should i go back to perl 5.6? I don't think it's ever been tried properly with anything other than 5.6 although the above is more likely to be an incompatability in the Cygwin version of make than anything else. > >Should i go back to perl 5.6? > > Well, i tried this. PPM says that Test-Unit is now available, but i still > can't seem to install it with PPM successfully. What goes wrong? |