[Catalyst] Here's my shot at an app to install Catalyst Dependencies

John Napiorkowski jjn1056 at yahoo.com
Thu Feb 9 10:17:13 CET 2006


I worked out a good portion of the dependencies (and
their required install order) in order to get the bulk
of Task::Catalyst to install on a newly compiled perl
5.8.7 installation.  I also created my first shot at a
shell script that installs all this stuff in a
(mostly) error free way.

As I mentioned in a past post, perl 5.8.8 has some
changes that prevents some of the modules you need
from installing without force, and my goal is to
create a way of setting up everything you need without
force or hacking.

Right now the attached shell script will install
pretty much everything without prompting you for
dependent modules.  For any of the prompts for things
like LWP or CPANPLUS you can just accept all the
defaults.  There are one or two strange cases where I
can't get a module to install using the method in my
shell script, so you get prompted to download and
install it, but if you do that it should work without
any trouble.  Here are the trouble modules:

Compress::Zlib
UNIVERSAL::isa
UNIVERSAL::can

After you run this script, assuming your perl
installation is pretty normal and that you have all
the standing stuff you need, like gcc and the glibc
headers, you can just install Catalyst.

You can also install Task::Catalyst but there are some
troubles remaining.  You have to skip the XMLRPC stuff
because I didn't work out the XML dependencies.  I
didn't do this because some of the require certain
third party C are needed and writting a script to
download and install these are not something I have
time to do right now :)

I know this shell script is a brain dead way to do
this, so I am looking for suggestions on how to
improve it.  What I'd like to have in the end is an
application that would perform a "Catalyst
Certification" on a given machine to make sure it has
everything you need to install Catalyst.

Anyway, let me hear from you if this is something you
all find useful.  If so please send me bug reports. 
Also please let me know if you all think something
like this just go in the Wiki to help others with
installation troubles.

Thanks to people that suggested Devel:Deps and
CPAN::Unwind as a way to help trace the dependencies.

--john

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install.sh
Type: application/octet-stream
Size: 4017 bytes
Desc: 1364289987-install.sh
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060209/f00c6b43/install.obj


More information about the Catalyst mailing list