Ticket #458 (closed patch: fixed)
config/gen/makefiles.pm fails unless languages directory exists
Reported by: | doughera | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | configure | Version: | |
Severity: | fatal | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
Now that all the languages are gone, and the languages/ directory is empty, the release tarball won't contain a languages/ directory. config/gen/makefiles.pm assumes there is such a directory, and tries to create languages/Makefile without first creating the languages/ directory.
I can think of three possible solutions: 1. config/gen/makefiles.pm should simply mkdir("languages", 0777). 2. lib/Parrot/Configure/Compiler.pm could do a splitpath() and then create the $directory if necessary. 3. The 'make release' step could include creating an empty languages directory.
I personally like #1 and have attached a simple patch.