Although I've been using perl for "a long time now", I've never messed
with MakeMaker, so I may be off base here, but I think I've found two
problems in MM_Unix.pm while trying to build a RequestTracker add-in via
Module::Install::RTx.

They're in the nature of consistency problems.

The first is that the definition of UNINSTALL differs from MOD_INSTALL,
in that MOD_INSTALL handles arguments via ARGV, while UNINSTALL does
not.  This can be a problem because when the UNINSTALL macro is used
(e.g. uninstall_from_sitedirs) an argument is passed, which is then
ignored.  Since Module::Install::RTx writes the packlist to a different
place than the normal site dir, the uninstall command fails to print the
list of files to be removed.

The second problem is related.  The install commands read the packlist
from the base directory (e.g. $(SITEARCHEXP) ), but write the new
packlist to the destination directory (e.g. $(DESTINSTALLSITEARCH) ).
The uninstall commands pass the base directory, not the dest directory.
So, even if the first problem was fixed, uninstall would still be trying
to read the packlist from the wrong place (in my case
/opt/rt3/local/lib/auto/RTx/Statistics/.packlist would be the right
place, and DESTINSTALLSITEARCH is set to /opt/rt3/local/lib).


Maybe I'm missing something, but these seem like actual problems, as
opposed to my doing something wrong.  On the face of it, they seem
pretty simple to fix (I'm happy to provide a diff in your preferred
format if you like), but there may be deeper ramifications to making
such change.

Thanks,

--
Kelly F. Hickel
Senior Software Architect
MQSoftware, Inc
952.345.8677
[EMAIL PROTECTED]


Reply via email to