[suggest] perl-Apache-ASP RPM

Dries Verachtert dries at ulyssis.org
Fri Jun 29 14:14:09 CEST 2007


On Sunday June 24 2007, Michael Mansour wrote:
> Hi Nico/Dag,
>
> > > > Message: 1
> > > > Date: Sun, 24 Jun 2007 10:22:40 +1000
> > > > From: "Michael Mansour" <mic at npgx.com.au>
> > > > Subject: [suggest] perl-Apache-ASP RPM
> > > > To: "suggest lists.rpmforge.net" <suggest at lists.rpmforge.net>
> > > > Message-ID: <20070624001548.M39651 at npgx.com.au>
> > > > Content-Type: text/plain;	charset=iso-8859-1

[.....]

> > > > Hi,
> > 
> > So none of this really explains why the perl-Apache-ASP package 
> > can't find it's dependencies?
>
> Something else worth noting.
>
> I downloaded the perl-Apache-ASP-2.59-1.2.el4.rf.noarch.rpm RPM and went to
> manually apply:
>
> # rpm -Uvh perl-Apache-ASP-2.59-1.2.el4.rf.noarch.rpm
> error: Failed dependencies:
>         perl(Apache2::Connection) is needed by
> perl-Apache-ASP-2.59-1.2.el4.rf.noarch
>         perl(Apache2::Log) is needed by
> perl-Apache-ASP-2.59-1.2.el4.rf.noarch perl(Apache2::RequestIO) is needed
> by
> perl-Apache-ASP-2.59-1.2.el4.rf.noarch
>         perl(Apache2::RequestRec) is needed by
> perl-Apache-ASP-2.59-1.2.el4.rf.noarch
>         perl(Apache2::RequestUtil) is needed by
> perl-Apache-ASP-2.59-1.2.el4.rf.noarch
>         perl(Apache2::Response) is needed by
> perl-Apache-ASP-2.59-1.2.el4.rf.noarch
>         perl(Apache2::ServerRec) is needed by
> perl-Apache-ASP-2.59-1.2.el4.rf.noarch
>         perl(Apache2::ServerUtil) is needed by
> perl-Apache-ASP-2.59-1.2.el4.rf.noarch
>         perl(Apache2::SubRequest) is needed by
> perl-Apache-ASP-2.59-1.2.el4.rf.noarch
>         perl(MLDBM) is needed by perl-Apache-ASP-2.59-1.2.el4.rf.noarch
>         perl(MLDBM::Sync) is needed by
> perl-Apache-ASP-2.59-1.2.el4.rf.noarch perl(MLDBM::Sync) >= 0.25 is needed
> by
> perl-Apache-ASP-2.59-1.2.el4.rf.noarch
>         perl(MLDBM::Sync::SDBM_File) is needed by
> perl-Apache-ASP-2.59-1.2.el4.rf.noarch
>
> So basically what the RPM seems to want is:
>
> perl-Apache2-Connection or Connection.pm on SL44:
>
> # locate Connection.pm
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Apache/Connection.
>pm
>
> # rpm -qf
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Apache/Connection.
>pm mod_perl-1.99_16-4.5
>
> perl-Apache2-Log or Log.pm on SL44:
>
> # locate Log.pm
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Apache/Log.pm
>
> # rpm -qf
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Apache/Log.pm
> mod_perl-1.99_16-4.5
>
> perl-Apache2-RequestIO or RequestIO.pm on SL44:
>
> # locate RequestIO.pm
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Apache/RequestIO.p
>m
>
> # rpm -qf
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Apache/RequestIO.p
>m mod_perl-1.99_16-4.5
>
> perl-Apache2-RequestRec or RequestRec.pm on SL44:
>
> # locate RequestRec.pm
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Apache/RequestRec.
>pm
>
> # rpm -qf
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Apache/RequestRec.
>pm mod_perl-1.99_16-4.5
>
> perl-Apache2-RequestUtil or RequestUtil.pm on SL44:
>
> # locate RequestUtil.pm
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Apache/RequestUtil
>.pm
>
> etc...
>
> perl-Apache2-Response
> perl-Apache2-ServerRec
> perl-Apache2-ServerUtil
> perl-Apache2-SubRequest
> perl-Apache2-MLDBM
> perl-Apache2-MLDBM-Sync
> perl-Apache2-MLDBM-Sync-SDBM_File
>
> My point is, that these perl modules are already installed and part of the
> mod_perl package on SL44 (which is RHEL4 U4). With this being the case, why
> aren't the dependencies being satisfied?

Actually they're not provided by the mod_perl package on RHEL4. You can get 
the list of provides with the following command:
rpm -q --provides mod_perl
The output will contain for example 'perl(Apache::Connection)' but 
not 'perl(Apache2::Connection)'. It contains files 
like ..../Apache/Connection.pm but not .../Apache2/Connection.pm. So i think 
you would need an update of mod_perl if you want to run that version of 
perl-Apache-ASP. The package mod_perl is a part of RHEL itself. It's not easy 
to upgrade that package i think.

The mod_perl 2.0.2-6.1 package of RHEL5 does contain provides like 
perl(Apache2::Connection).

kind regards,
Dries



More information about the users mailing list