[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: RedHat RPMS for 7.3, 8.0, 9.0

From: Max Bowsher <maxb_at_ukf.net>
Date: 2003-07-15 19:58:20 CEST

Steve Williams wrote:
>> First, where did the perl you built get installed to? If it was entirely
>> under /usr/local, and you have not built any other software from source
>> yourself and installed it there, you may want to just remove the entire
>> contents of /usr/local. If it installed to /usr, then fully cleaning up
the
>> mess is almost impossible.
>
> It seemed to have been installed to /usr/local, but removing that did not
> help. I ended up blowing away the whole installation of RH9 and starting
> from scratch.

OK, good, now you know you have a clean base to start from.

>> Second, if Archive::Tar was available before make installing that new
perl,
>> but isn't now, then that is quite possibly the issue. I'm hoping that it
did
>> install to /usr/local, so you can easily remove it.
>
> After the new installation of RH9 was completed (making sure that
mod_perl,
> mod_python and mod_php were not installed), I followed my complete idiot's
> guide and have now successfully got Config-IniFiles-2.38 installed.
>
> Downloaded the Subversion RPMs once again and did a test update.
>
> # rpm -Uvh --test *.rpm
> error: Failed dependencies:
> perl(CGI) >= 2.89 is needed by subversion-tools-0.25.0-6434
> perl(CGI::Carp) >= 1.24 is needed by subversion-tools-0.25.0-6434
>
> I had a look at CPAN and found that there are countless modules for CGI
and
> Carp, but none that have CGI and Carp in their name. Which modules do I
> need now and how are you supposed to discern the required module filenames
> from those error messages?

Are you familiar with the CPAN shell? Invoke with "perl -MCPAN -e shell".
Once set up (it asks you some questions), you can do such things as "i
CGI::Carp" and get info, which will tell you that CGI::Carp is included in
the same tarball as CGI.

grepping for "use CGI" in the subversion source shows that those modules are
only used by a couple of supplementary scripts. Either --nodeps, or try and
"apt-get install perl-CGI", or build a package with cpanflute2.

> This is my idiot's guide so far. It works right up to the 'update
> Subversion' step.
>
> The Complete Idiot's Guide to Installing a Subversion 0.25.0 Server on Red
> Hat 9
>
> Install Red Hat 9 in Server configuration. Make sure that mod_perl,
mod_php
> and mod_python are not installed as part of the Web Server category of
> packages. This is because the upgrade to httpd-2.0.47 fails due to
> dependency errors with these packages.
>
> Download apt-get
>
http://ftp.freshrpms.net/pub/freshrpms/redhat/9/apt/apt-0.5.5cnc6-fr1.i386.r
> pm
>
> Install it (remember that you must be logged in as root, ie. su root, to
> install RPMs)
> # rpm -ivh apt-0.5.5cnc6-fr1.i386.rpm

General comment: Using -U instead of -i is a good habit (except for
kernels). Usually you want to simultaneously remove old versions of a
package.

> First you must update the packages that apt-get knows about
> # apt-get update
>
> Now use apt-get to download and install cpanflute2
> # apt-get install perl-RPM-Specfile
>
> Download the Config-IniFiles-2.38 module from CPAN
> http://www.cpan.org/authors/id/W/WA/WADG/Config-IniFiles-2.38.tar.gz
>
> Use cpanflute2 to compile the RPMs for Config-IniFile-2.38
> # cpanflute2 --buildall Config-IniFiles-2.38.tar.gz
>
> This created three RPMs, but you only need one of them. Now we update
> perl-Config-IniFiles
> # rpm -Uvh perl-Config-IniFiles-2.38-8.i386.rpm
>
> Download the RPMs for Subversion into a directory
>
http://summersoft.fay.ar.us/pub/subversion/i386/subversion-latest/redhat-9.x
> /
>
> Change to the directory you downloaded the packages to and update
Subversion
> # rpm -Uvh *.rpm

Looks good.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 15 19:59:14 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.