Re: Debian package [was Re: Mail::Box::IMAP4]

[email protected] Mon, 27 Sep 2004 07:52:17 -0400 (EDT)
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <[email protected]>
> Hi!
>
> On Mon, 27 Sep 2004 11:27:12 +0200, Mark Overmeer <[email protected]>
> wrote:
>> * Tom Allison ([email protected]) [040923 11:33]:
>> > I would rather not distract development to support a distro.
>>
>> This point convinces me ;-)  Already enough on my hand.  Newer versions
>> are always better, but older versions will also work.  I am glad someone
>> is bringing MailBox to Debian, even if the is a few months behind.
>
> That is the reason why I would add some guides how to make a package for
> those
> which would like to have "the best and the latest". This is "one time"
> job.
>

I tried this over the weekend.

I started with a machine that did not have Mail::Box on it and figured out
a list of all the CPAN modules it wanted to install.  The list was
something like 15 modules and I couldn't get them all installed using
either dh-make-perl or CPAN directly.

I'm not exactly clear what the problems were, but I suspect there were
some non-CPAN things missing (c libraries?) based on some of the errors.

At this point I'm thinking it might be best to do something like:

ONE:
install everything I can under debian-unstable to get MailBox working
correctly under the versions available.

TWO:
figure out a process to determine which modules CPAN would upgrade in
order to bring all of the currently installed Mail::Box modules up to date
(these are not limited to Mail::Box).  I'm not sure what the best method
is right now...  I took the output from CPAN install dialog and pasted it
into a text file.

THREE:
Use that list to build a whole bunch of dh-make-perl packages.

FOUR:
hope for the best.