-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I have a rather frustrating issue in trying to build an rpm from the mod_perl
source.  Two dependencies aren't being 'installed', and two aren't found
because their "package"-name is diffferent:

error: Failed dependencies:
        perl(Apache2::FunctionTable) is needed by mod_perl-2.0.2-1.i386
        perl(Apache2::StructureTable) is needed by mod_perl-2.0.2-1.i386
        perl(Apache::TestConfigParse) is needed by mod_perl-2.0.2-1.i386
        perl(Apache::TestConfigPerl) is needed by mod_perl-2.0.2-1.i386

The first two were resolved by adding the following lines to the mod_perl.spec
file under %install:

mv 
/usr/src/redhat/BUILD/%{_dirname}/xs/trables/current/Apache2/FunctionTable.pm \
    
$RPM_BUILD_ROOT/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Apache2/
mv 
/usr/src/redhat/BUILD/%{_dirname}/xs/trables/current/Apache2/StructureTable.pm \
    
$RPM_BUILD_ROOT/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Apache2/

Installing the source by hand (no rpm) doesn't install them either...

The last two files are present, but have these lines:

package Apache::TestConfig; #not TestConfigParse on purpose
package Apache::TestConfig; #not TestConfigPerl on purpose

Reading through Changes dosn't mention why the package declarations are like
that, nor why the Apache2 modules aren't installed.  If I am missing something
obvious, please tell me, but I would think that if the file are listed as
required, then they should be installed or declared appropriately.

thanks

/joshua

btw - the spec file included with the sources references 2.0.3...
- -- 
A common mistake that people make when trying to design something 
completely foolproof is to underestimate the ingenuity of complete
fools.
        - Douglas Adams -

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDtDxnJr8VjiIHVH0RAkMtAJ9Krc0HZw4ECSo6XbmIG3WdvkcBEACfawlw
tpk4jx1qkr9QUr/gRkSc9yY=
=cU6/
-----END PGP SIGNATURE-----

Reply via email to