I added some things to try on in the bug report. Basically, it looks like the place where it is reading moduledir is broken. There are some configure switches that you can try to change.