Problems with Apache::Request stopping maypole from working

TeeJay on 2004-06-17T13:03:07

I built and installed a new apache and mod_perl (removing the previous one), then installed Maypole via CPAN, and also Class::DBI::mysql (and then Class:DBI::AsForm) to get Maypole working.

However attempting a very simple handler I get the following error in the apache log :
[Thu Jun 17 13:50:55 2004] [error] Can't load '/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/auto/Apache/Request/Request.so' for module Apache::Request: libapreq.so.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.1/i386-linux-thread-multi/DynaLoader.pm line 229. at /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/mod_perl.pm line 14 Compilation failed in require at /usr/lib/perl5/site_perl/5.8.1/Apache/MVC.pm line 4.BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.1/Apache/MVC.pm line 4.Compilation failed in require at (eval 13) line 3....propagated at /usr/lib/perl5/5.8.1/base.pm line 70.BEGIN failed--compilation aborted at /usr/local/apache/lib/perl/Pukka.pm line 5.Compilation failed in require at (eval 12) line 3.
[Thu Jun 17 13:50:55 2004] [error] Undefined subroutine &Pukka::handler called.

I have re-installed apreq and Apache::Request as recommended by some google results but I still get the problem.

Any more suggestions?

Apache, Apache::MVC, Apache::Request and apreq are all installed.
There is only one apache installed


umm.....

TeeJay on 2004-06-17T13:05:52

Yes, I updated /etc/ld.so.conf

No, I didn't run ldconfig afterwoods.

Oh dear

Building Maypole

TeeJay on 2004-06-17T13:09:27

Oddly when building Maypole I had to download and install Class::DBI::AsForm and Class::DBI::mysql through CPAN afterwoods, rather than being prompted.

Then I have to install Class::DBI::AsForm manually as the tests appear to be broken.

Writing Makefile for Class::DBI::AsForm cp AsForm.pm blib/lib/Class/DBI/AsForm.pm Manifying blib/man3/Class::DBI::AsForm.3pm /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..4 ok 1 - use Class::DBI::AsForm; Can't locate object method "db_Main" via package "Foo" at /usr/lib/perl5/site_perl/5.8.1/Ima/DBI.pm line 386. # Looks like you planned 4 tests but only ran 1. # Looks like your test died just after 1. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force

If its not already in rt.cpan.org I will add it in a minute

Hopefully I can get my first application in Maypole working now.

working now

TeeJay on 2004-06-17T13:55:46

after copying a few templates into place, we are away.

great.

Re:working now

chromatic on 2004-06-17T15:51:22

That's exactly what I did yesterday. Is there a chance you're me? Are you wearing a blue shirt with a white camel on the back today?