> Okay, maybe my BASH script isn't dead yet... to install the latest
> SystemImager on a "stock" RedHat release 9 I had to do the following:
>
> #perl ?MCPAN ?e shell
> cpan>install XML::Simple

This is a bug. There is supposed to be a perl-XML-Simple rpm fetched by the
installer. I'll file a bug report on this.


> cpan>install AppConfig

AppConfig should come from perl-AppConfig rpm (fetched by the installer)


Perhaps it (everything?) should be installed explicitly then instead of relying on the "rpm -Uvh *" to sort it all out when something goes wrong.


In other words:
Download RPM
Install it
Check for return status
make recommendation of fix problem
(Try again)

The all-at-once all-or-nothing method is a bit of a stretch.

> cpan>install DBI

This shouldn't be needed any more


I only installed things when the dependency checks failed on a plain Red Hat 9 install.


> cpan>install Tie::Watch
> cpan>install modules
> cpan>install Class::Fields

Hmmm.... I didn't think those were needed either.  Which perl rpms do you
have installed 'rpm -qa | grep perl'


# rpm -qa | grep perl perl-libwww-perl-5.65-6 perl-XML-Encoding-1.01-23 perl-DBI-1.32-5 perl-Tk-800.024-2 perl-5.8.0-88 perl-Filter-1.29-3 perl-HTML-Tagset-3.03-28 perl-HTML-Parser-3.26-17 perl-URI-1.21-7 perl-XML-Parser-2.31-15 perl-XML-Dumper-0.4-25 perl-libxml-enno-1.02-29 perl-XML-Twig-3.09-3 perl-DB_File-1.804-88 perl-DBD-Pg-1.21-2 perl-CGI-2.81-88 mod_perl-1.99_07-5 perl-DateManip-5.40-30 perl-Parse-Yapp-1.05-30 perl-libxml-perl-0.07-28 perl-XML-Grove-0.46alpha-25 perl-CPAN-1.61-88

> Then force install of the Perl-Tk RPM downloaded from rpmfind with the
> "--nodeps" option (since the CPAN "Tk" wouldn't compile). Then (since they
> were all CPAN downloads and not RPM modules) I had to force the packages on
> with nodeps as well:


Perl-Tk is a problem with Red Hat, though you only need it for the gui.
Brian, Mike, Pramath, Dann, any thoughts here?

> cd /tmp/sis-packages
> rpm -Uvh --nodeps systemconfigurator-2.0.5-1.noarch.rpm
> rpm -Uvh --nodeps systemimager-common-3.0.1-1.noarch.rpm
> rpm -Uvh --nodeps systemimager-server-3.0.1-1.noarch.rpm
>
> Am I doing something really stupid here or will all other Red Hat users
> (and users without the Perl modules in their Distro) run into this? Is
> anyone else using Red Hat? Why is this so hard? Why does the SystemImager
> installation procedure change every few months?
>
> Perhaps it could be a bash script that pulls down all the CPAN modules (for
> a Red Hat distro.) though I guess installer.pl could do it to.
>
> I dunno... Just a thought... prolly I'm doing something dumb again.


No, you are right.  I wrote the installer a while back (but haven't been
very active for a while in the project).  There are important things wrong
with the current installer, and its good for you to get this out in the
open.

The biggest problems that need to be fixed:

* create a no X11 mode (which would let you install without Perl-Tk)

Yes. Yes. That would be great. Why deal with all that extra "X" stuff on a system (for example) that doesn't even have X loaded.


* someone from SystemImager project needs to post perl-XML-Simple rpm

I think if both those things happen, all your problems will go away
(hopefully).  Without this, the software is fundamentally broken for
most people, and I'm sure it is detering many users from the software.

Thanks again for your feedback


If installer.pl could check for dependencies or the return status on each RPM and make suggestions (or download the Perl stuff required) that would be cool.


Just my 2 cents.

--K

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus




-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Sisuite-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to