From: Martin Q. <mar...@lo...> - 2005-03-05 11:36:07
|
On Thu, Feb 24, 2005 at 03:42:20PM -0500, Dowling, Will (TS USA) wrote: > On Wed, 2005-02-23 at 18:17, Martin Quinson wrote: > > Hello, > >=20 > > make test fails on my box. Is it just me or the lastest changes to allow > > several versions to coexist broke it? [...] >=20 > I am seeing this: >=20 > $ make BASE_DIR=3D/tmp/foo test =20 > Testing... > make -C examples test > make[1]: Entering directory `/space1/proj-temp/flexml/flexml/examples' > Testing... > ../flexml.pl -vD -a my-show.act my.dtd > FleXML version Id: flexml.pl,v 1.44 2005/02/23 23:08:16 mquinson Exp. > Fetching URL <file:my.dtd>. > Processing DTD in my.dtd. > Post-processing DTD. > Writing XML application onto `my-show.c'. > Can't exec "./flexml-act": No such file or directory at ../flexml.pl > line 1527. > readline() on closed filehandle ACTIONS at ../flexml.pl line 1534. > ../flexml.pl: Cannot close pipe to flexml-act: Bad file descriptor > make[1]: *** [my-show.c] Error 9 > make[1]: Leaving directory `/space1/proj-temp/flexml/flexml/examples' > make: *** [test] Error 2 >=20 > I don't understand why this Makefile runs ../flexml.pl. We should be > testing what we just built, right? If that is so, replace all > "../flexml.pl" by "../$(FLEXML)" in examples/Makefile, and you get a lot > farther. =20 >=20 > The next place it fails is at >=20 > Fetching URL <file:xhtml-lat1.ent>. > "xhtml1-transitional.dtd", line 29: URL <file:xhtml-lat1.ent> could not > be fetched. > make[1]: *** [xhtml-href.c] Error 2 > make[1]: Leaving directory `/space1/proj-temp/flexml/flexml/examples' > make: *** [test] Error 2 >=20 > Are we missing a file xhtml-lat1.ent? >=20 > I don't know if it was the latest changes -- I don't normally run 'make > test' -- so I don't know when it started failing. >=20 > The good news is this: When I run my own tests (not the examples/ > directory), everything seems to be working. Hello, I'm completly lost here. I'm tweaking the makefile back and forth to try to get it testing something, in vain. If you have any solution leading to even a minimalist step forward, please commit it. I was even unable to do the basic step you describes. Ie, when changing all =2E./flexml-ml occurence, the message I get is not at all the one you give. I'm also puzzeled by the "MAIN PROGRAM" rules in example/Makefile. Do we build a specific version of flexml for testing (and if so, who calls it) or is this a leftover? I consider the lack of testing as a showstopper for the next release (I'd like to push out of the door since in brings some neat stuff such as stack consumtion reduction). Thanks for any help, Mt. |