Hmmm not sure why this is trying to write to /etc directly - it must be I have had similar problems with files getting written in /etc during an install under NetBSD and pkgsrc. I haven't figured out what's going on. The right fix may include using --sysconfdir to configure. I'd argue that by default the install should not write outside of $(prefix).