whatwg/html-build

Getting rid of the Perl libxml prerequisite

Closed this issue · 4 comments

I think this plan is good:

Add an endpoint to watti-server, called cldr.inc, which when pinged does the svn checkout of cldr and the .cldr-processor.pl step and returns the result. This will generally be fast except the very first time.

We then add a guard in the build script (not sure on how) so that if we find out XML::Parser is not installed, we skip the cldr checkout and the .cldr-processor.pl step, instead just downloading it from the server.

@sideshowbarker, anything I'm missing? Seems like it should work.

There's no XML parser we can assume being installed?

There's no XML parser we can assume being installed?

Not for Perl. I am nearly certain of that.

I checked the other day, using this:

for version in $(corelist -v | grep 5); do corelist -v $version | grep -i XML ; done

The only results that finds are for some POD:: (doc-related) stuff.

But maybe @Hixie can confirm

Hixie commented

I just used whatever Dreamhost had, I think.

Installing packages for Perl is pretty easy, FWIW.