Subject: | Cannot be installed using CPAN.pm |
<p>
Perl's automatic module installation tools cannot
easily handle the make / make test / make install
sequence of this package. In particular many users do
not have write privileges to "/usr/share" but that is
the hardwired default for the location of the
"txt2html.dict" file.
</p>
<p>
Having to use CPAN as superuser is a security hazard as
well as an inconvenience (it tends to leave behind
files both installed and in temp cache / build
locations, which an ordinary user cannot clean up -- so
even more fussing has to be done as 'root'). So even on
single-user UNIX systems this is sub-optimal.
</p>
<p>
On many advanced multiuser UNIX systems there are
package management protocols in place which make it an
administrative error to allow non-package-managed files
to be installed into any sub hierarchy of /usr
(excepting etc/, in some cases). Debian GNU/Linux is
one such OS. The /usr/local hierarchy is the
appropriate pref for non-package-managed local software
to be installed. The current txt2html Makefile.PL setup
only allows control over install location by the user
knowing to (or being able to) argue "PREFIX" when doing
"perl Makefile.PL ...", and CPAN does not give that
chance. Also it is possible and desirable to allow CPAN
to be configured so that without saying "PREFIX" it
just "does the Right Thing". This all means that the
current strategy for installing the .dict file is going
to be wrong and is user-unfriendly, in many cases.
</p>
<p>
On Debian I work as a member of UNIX group "staff"
which has write privs to "/usr/local" so that CPAN site
installs work fine for me (with compliant modules).
</p>
<p>
This trouble can be addressed by doing more in the
Makefile.PL, and a patch is available to show exactly
that. HTH. YMMV.
</p>
<p>
Best Regards to Cousin Kathryn et al,
<blockquote>
Soren Andersen <intrepid *AT* permonk -DOT- org>
</blockquote>
Message body not shown because it is not plain text.