[rt-users] Perl Module Problems

Ruslan U. Zakirov Ruslan.Zakirov at miet.ru
Tue Jul 12 04:10:07 EDT 2005


Chris Berry wrote:
> Ok, trying to get all the dependancies resolved using Mandrake packages
> turned out to be too complicated, so I'm doing it the CPAN way
> recommended in the docs.  I'm having some trouble getting them all to
> install.  I finally figured out how to fix quite a bit of it by doing
> the following manually:
> 
> urpmi perl-devl
> perl -MCPAN -e 'install Test::Pod'
> perl -MCPAN -e 'install Test::Pod::Coverage'
> 
> but I'm still stuck on the following items:
> 
> Apache::Session 1.53...MISSING
>   t/99dbfile.........dubious
>         Test returned status 2 (wstat 512, 0x200)
>   t/99dbfilestore....dubious
>         Test returned status 2 (wstat 512, 0x200)
>   t/99flex...........skipped
>         all skipped: no reason given
>   t/99postgres.......skipped
>         all skipped: no reason given
You can ignore this errors and force installation unless your DB backend
is postgresql.

> 
> XML::RSS ...MISSING
>   Seems to be complaining about expat.h being missing
I think this module uses libexpat, even if you have this lib you should
also have devel rpm installed.

> 
> HTTP::Server::Simple 0.07...MISSING
>   t/04cgi............dubious
>         Test returned status 6 (wstat 1536, 0x600)
>   DIED. FAILED tests 5, 7, 10-11, 18, 20
> 
> HTTP::Server::Simple::Mason 0.03...MISSING
>   Can't install without HTTP::Server::Simple
> 
> DBD::Pg 1.41...MISSING
>   Can't seem to find pg_config
Looks like you are going to use Pg. Install pg-devel(I don't know
correct name of the package you need), I think pg_config is there.
After you will install DBD::Pg try again Apache::Session to be sure that
tests success.

> 
> Apache::Test ...MISSING
>   [warning] result:
>   [  error] You are running the test suite under user 'root'.
>   Apache cannot spawn child processes as 'root', therefore
>   we attempt to run the test suite with user 'nobody' (65534:65534).
>   The problem is that the path (including all parent directories):
>   /root/.cpan/build/Apache-Test-1.25/t
>   must be 'rwx' by user 'nobody', so Apache can read and write under
>   that path.
Download tarball from CPAN, run 'perl Makefiel.PL && make && make test'
as non root user, 'make install' as root. You may be need to specify
APXS utility path, see README shipped with tarball.

> 
>   looks like it's got the right permissions to me:
>   drwxr-xr-x   6 nobody nogroup  4096 Jul 11 12:47 t/
> 
> Test::WWW::Mechanize ...MISSING
>   Can't install without HTTP::Server:Simple
> 
> A few helpful hints would be nice if someone else has run into these
> problems before.
> 




More information about the rt-users mailing list