Subject: | make install tries to write ParserDetails.ini in read-only directory |
XML::SAX-0.12 with perl 5.8.0. Solaris 8 and linux (RH 9.0)
The perl installation scripts and configuration distinguish between the
PREFIX and the INSTALLPREFIX (etc.). This is extremely useful for our
installation on an AFS server. Thus we install into a read-write AFS
volume, and then vos release to copy to read-only clones. The directories
in @INC (for example) are in the read-only paths. Perl is one of the few
packages smart enough to take advantage of this.
Unfortunately, XML::SAX (and the other XML modules that use it) break this,
because they try to write to ParserDetails.ini using the read-only path.
Naturally, this fails.
The XML::SAX/Changes file says:
"0.06 - Added ability to specify dir to ParserDetails.ini"
This suggests that maybe I should be able to specify a different directory
for installing ParserDetails.ini; a read-write path, for example. That's
certainly not clear, however, and nothing in the installation procedure hints at how to do this.
In the meantime, I have implemented a work around. I created a sym link
ParserDetails.ini -> <read-write file system>. This is
an ugly hack, but seems to work.
Thanks for yor attention. John Bartelt