Thanks Ged.

> [4] Is a full uninstall enough, or should I
> reinstall RH itself?
> 
> No, don't reinstall the entire OS.  Get used to what
> your system feels
> like and eventually you'll know what to leave alone
> and what to change.

Well, I opted to reinstall everything, starting with a
fresh RH9.

Then I removed all the relevant RH9 RPMS:

[EMAIL PROTECTED] root]# rpm -e mod_ssl
[EMAIL PROTECTED] root]# rpm -e mod_python
[EMAIL PROTECTED] root]# rpm -e pho
[EMAIL PROTECTED] root]# rpm -e php-ldap
[EMAIL PROTECTED] root]# rpm -e php-imap
[EMAIL PROTECTED] root]# rpm -e php
[EMAIL PROTECTED] root]# rpm -e redhat-config-httpd
[EMAIL PROTECTED] root]# rpm -e webalizer
[EMAIL PROTECTED] root]# rpm -e mod_perl
[EMAIL PROTECTED] root]# rpm -e httpd

(I had to take out mod_ssl, mod_python, etc so as to
free up dependencies.)

MY QUESTION:

Now I want to remove perl, too:

[EMAIL PROTECTED] root]# rpm -e perl
error: Failed dependencies:
        perl is needed by (installed) logwatch-4.3.1-2
        perl is needed by (installed) w3m-0.3.2.2-5
        perl >= 0:5.002 is needed by (installed)
perl-Filter-1.29-3
        perl >= 0:5.00503 is needed by (installed)
perl-DateManip-5.40-30
        perl >= 0:5.000 is needed by (installed)
perl-DateManip-5.40-30
        perl >= 0:5.00503 is needed by (installed)
perl-HTML-Tagset-3.03-28
        perl >= 1:5 is needed by (installed)
perl-HTML-Tagset-3.03-28
        perl >= 5.6.0 is needed by (installed)
perl-HTML-Parser-3.26-17
        perl >= 0:5.004 is needed by (installed)
perl-HTML-Parser-3.26-17
        perl >= 0:5.00503 is needed by (installed)
perl-Parse-Yapp-1.05-30
        perl >= 0:5.004 is needed by (installed)
perl-Parse-Yapp-1.05-30
        perl >= 0:5.00503 is needed by (installed)
perl-URI-1.21-7
        perl >= 0:5.00503 is needed by (installed)
perl-libwww-perl-5.65-6
        perl >= 0:5.002 is needed by (installed)
perl-libwww-perl-5.65-6
        perl >= 0:5.004 is needed by (installed)
perl-libwww-perl-5.65-6
        perl >= 0:5.005 is needed by (installed)
perl-libwww-perl-5.65-6
        perl >= 2:5.8.0 is needed by (installed)
perl-XML-Parser-2.31-15
        perl >= 0:5.004 is needed by (installed)
perl-XML-Parser-2.31-15
        perl >= 5.6.0 is needed by (installed)
perl-libxml-perl-0.07-28
 perl >= 0:5.005 is needed by (installed)
perl-libxml-perl-0.07-28
        perl >= 5.6.0 is needed by (installed)
perl-XML-Dumper-0.4-25
        perl >= 5.6.0 is needed by (installed)
perl-XML-Encoding-1.01-23
        perl >= 0:5.005 is needed by (installed)
perl-XML-Encoding-1.01-23
        perl >= 0:5.00503 is needed by (installed)
perl-libxml-enno-1.02-29
        perl >= 5.6.0 is needed by (installed)
perl-XML-Grove-0.46alpha-25
        perl >= 0:5.005 is needed by (installed)
perl-XML-Grove-0.46alpha-25
        perl >= 0:5.004 is needed by (installed)
perl-XML-Twig-3.09-3
        perl >= 5.6.1 is needed by (installed)
foomatic-2.0.2-15
        perl is needed by (installed)
redhat-config-printer-0.6.47-1
        perl >= 1:5 is needed by (installed)
emacs-21.2-33
        perl is needed by (installed)
libgnomeprint22-2.2.1.1-3
        perl is needed by (installed)
docbook-dtds-1.0-17
        perl is needed by (installed)
libgnomeprint-1.116.0-6
        perl is needed by (installed)
desktop-printing-0.1.10-6
        perl >= 1:5 is needed by (installed)
xscreensaver-4.07-2
        perl is needed by (installed) autoconf-2.57-3
        perl >= 0:5.000 is needed by (installed)
autoconf-2.57-3
        perl >= 0:5.005_03 is needed by (installed)
autoconf-2.57-3
        perl is needed by (installed)
automake14-1.4p6-5.1
        perl is needed by (installed) automake15-1.5-6
        perl >= 0:5.005 is needed by (installed)
automake15-1.5-6


Now, in this forum I heard the importance of building
perl with the same compiler that you use for httpd and
mod_perl.

Am I going to have problems following the MP 2.0
install instructions

http://perl.apache.org/docs/2.0/user/install/install.html

if I don't nuke the current perl first?

Thanks.

And this time I'll restrict my reading to the 2.0
install docs, rather than dipping back into the 1.0
docs in the middle of 2.0 install.  (Doh!)

Thanks for advice on this --

A






> > > Did you build your own Perl?
> > Yes, 5.8.0
> Good.  You might want to try 5.8.1 soon, but I don't
> think that's a
> problem here.
> 
> > > Have you cleaned up any old Apaches and
> mod_perls?
> > 
> > No.  There are probably hordes of perls and hpptds
> and mod_perls
> > running amok on the box throwing wild parties; I
> don't know.
> 
> Argh.  The Apache2/modperl2 that comes with RH9 is
> junk.  Get rid of
> it all.  Use 'ps' to see what processes you have
> running and stop any
> httpd processes that you don't think you started. 
> RH will start an
> Apache when it boots if you let it, I wish they
> wouldn't do that.
> Read 'man chkconfig'.  Go into /etc/rc.d and look at
> the startup
> scripts.  Use chkconfig to prevent Apache being
> started at boot so
> you can start it manually when you've built it. 
> When you're happy
> that it's all as you wnt it, you might want to use
> chkconfig to set
> it up to start at boot again.
> 
> > I think my next step should be to start over
> fresh. 
> > Again.
> 
> :)
> 
> > [1] How do I find *everything* on the box related
> to
> > perl / apache / mod_perl, both 1 and 2, both the
> RH
> > install and from my own ftp / tar / make
> fumblings?
> > [2] How do I uninstall everything from [1], so I
> can
> > start fresh?
> 
> Well RH should let you uninstall packages with rpm,
> but I don't use
> rpm and I tend to avoid RedHat so I don't know
> exactly how you'd do
> it.  My preference would be to look in /usr/local/
> and /var/lib to see
> if there are any apache things such as
> /usr/local/apache, and if so go
> in there as root and rm -rf the entire apache
> directory.  That will
> perhaps throw away config files etc. you've been
> working on, you might
> want to make backups.  When you've done that you
> might want to use
> slocate to build a database of filenames on your
> filesystem, then use
> it to search for any httpd or apachectl files that
> escaped.  If so
> there'll probably be truckloads of files in there
> with them.  Nukem.
> The source trees in your home directory don't
> matter.  Nuke them too.
> You won't need to do anything about Perl on your
> system if you really
> did compile it from source yourself.
> 
> > [3] I'd prefer to use modperl 2 and apache 2, as
> that is what my ISP
> > is using.  And I think I'd prefer to use RH rpm to
> install them, as
> > again, that is what my ISP did.  (Want my dev box
> to match the
> > outside box as much as possible).  This newsgroup
> keeps mentioning
> > "build from sources," will I be going astray
> trying the rpm route?
> 
> I hate RPMs.  For Apache2/modperl2 you would be
> better off going to
> the CVS sources unless you can get hold of a very
> recent RPM, things
> are changing really fast in the mod_perl version 2
> codebase.  True, it
> could be important for your dev box to match your
> prod box, but when
> you figure out what's going on it will probably
> matter less - until
> you start doing really fancy stuff, when it will
> start to matter again.
> 
> 
> > mysteries to a newcomer.
> 
> FWIW you sound like you're picking it up quickly.
> 
> 73,
> Ged.
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Reply via email to