Force installing CPAN module - Version problem?

From: Rob Walker

>That's cool. I didn't know that you could do it on one line like that. Do

>CPAN like this:

>perl -MCPAN -e shell

>and then do the command you want to do from an interactive shell. "install

>Apache::Session" is a command I think that you will like to try.

>Then you will have a ton of extra debugging information to send us.

Okay, I did this, as "force install Apache::Session" and all seemed to go well, but it still isn't showing up as being installed when I run make testdeps. Then I realized that CPAN was installing Apache::Session 1.54, and make testdeps is looking for Apache::Session 1.53. Is this my problem?? If so, can I just ignore the testdeps results and try the RT install?

Thanks much,

Shannon

From: Rob Walker

That’s cool. I didn’t know that you could do it on one line like that. Do
CPAN like this:

perl -MCPAN -e shell

and then do the command you want to do from an interactive shell. “install
Apache::Session” is a command I think that you will like to try.

Then you will have a ton of extra debugging information to send us.

Okay, I did this, as “force install Apache::Session” and all seemed to go
well, but it still isn’t showing up as being installed when I run make
testdeps. Then I realized that CPAN was installing Apache::Session 1.54,
and make testdeps is looking for Apache::Session 1.53. Is this my problem??
If so, can I just ignore the testdeps results and try the RT install?

I don’t know for sure, hopefully someone with more rt experience than myself
will stop you before you shoot yourself in the head. It certainly sounds
like the testdeps is not working right.

The first thing that I would look at is why you had to do the force of the
install. Was it only because of the failed tests, or failed dependencies to
the module?

If you have 1.54 installed, and it is searching for 1.53, maybe someone on
this list could tell us exactly what rt needs the apache::session for, and
after your install, you could tell us whether that part of rt works or not.

ob

I’m getting the same problem, installing rt-2-0-11
Looks like a bug in Apache-Session-1.54

$ make fixdeps
…(some removed)…
t/99moduniqgen…Bareword “Carp::croak” not allowed while “strict subs”
in us
e at blib/lib/Apache/Session/Generate/ModUniqueId.pm line 11.
String found where operator expected at
blib/lib/Apache/Session/Generate/ModUniq
ueId.pm line 11, near “Carp::croak ‘Can't get UNIQUE_ID env variable.
Make sure
mod_unique_id is enabled.’”
(Do you need to predeclare Carp::croak?)
syntax error at blib/lib/Apache/Session/Generate/ModUniqueId.pm line 11,
near “C
arp::croak ‘Can't get UNIQUE_ID env variable. Make sure mod_unique_id is
enable
d.’”
BEGIN failed–compilation aborted at t/99moduniqgen.t line 1.
dubious
Test returned status 255 (wstat 65280, 0xff00)
Undefined subroutine &Test::Harness::WCOREDUMP called at
/usr/lib/perl5/5.00503/
Test/Harness.pm line 288.
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory
`/home/gilgongo/.cpan/build/Apache-Session-1.54’
/usr/bin/make test – NOT OK
Running make install
make test had returned bad status, won’t install without force

Then “make testdeps” claims it isn’t installed, which looks correct, it
isn’t.

It also seems to fail to install DBI, but the messages for that scrolled
off the screen.

Andy Henson

Mine was failing probably because I failed to install DBI; so I did:

lynx http://www.helgrim.com/perlmodules/
Downloaded DBI-1.18
Downloaded Apache::Session 1.53
tar xzf DBI-1.18.tar.gz
cd DBI-1.18
perl Makefile.PL
make
make test
make install

tar xzf Apache-Session-1.53.tar.gz
cd Apache-Session-1.53
perl Makefile.PL
make test
make install

I’m getting the same problem, installing rt-2-0-11
Looks like a bug in Apache-Session-1.54

That’s interesting. I have 1.54 installed.

rob@judgehart:~$ dpkg -l libapache-session-perl | grep apa
ii libapache-sess 1.54-1 Perl modules for keeping persistent user dat

arp::croak ‘Can't get UNIQUE_ID env variable. Make sure mod_unique_id is
enable
d.’"

do you have mod_unique installed in your apache?

It also seems to fail to install DBI, but the messages for that scrolled
off the screen.

Here is a linux tip to save messages which scroll away. Run “script
rt.install.script” before you start the install. Then, after you finish with
the install, type ‘exit’ one more time. (the ‘script’ command will fire off
another shell) Then use ‘less’ or whatever viewer/editor you want to use to
view the file ‘rt.install.script’.

rob