Re: how to give a list of alternative requirements?

2010-03-29 Thread David Cantrell
On Sun, Mar 28, 2010 at 12:57:36AM +, Ben Morrow wrote: I would say that any time you think 'I need to ask the user a question during installation' it is probably a mistake. Set up your main Bugzilla distribution so that it runs tests against any available databases (this in itself isn't

how to give a list of alternative requirements?

2010-03-27 Thread Gabor Szabo
Hi, I am trying to create a Makefile.PL using Module::Install for Bugzilla so it can be uploaded to CPAN. There are many issues I'll have to deal with but here is one that might be relevant to others. Currently Bugzilla can be installed with either MySQL, PostgreSQL or Oracle. When checking for

Re: how to give a list of alternative requirements?

2010-03-27 Thread Martin J. Evans
On 27/03/2010 10:35, Gabor Szabo wrote: Hi, I am trying to create a Makefile.PL using Module::Install for Bugzilla so it can be uploaded to CPAN. There are many issues I'll have to deal with but here is one that might be relevant to others. Currently Bugzilla can be installed with either

Re: how to give a list of alternative requirements?

2010-03-27 Thread mackenna
I don't use Module::Install either, but here's a snippet that does dynamic requiring using EU::MM directly: # require JE if no JavaScript eval 'require JavaScript'; my @optional = $@ ? ('JE' = 0.044) : (); WriteMakefile( snip 'PREREQ_PM' = {'LWP' = 5.834,