You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Stas Bekman <st...@stason.org> on 2004/10/01 04:08:34 UTC

Re: [mp2] NetBSD-2.0_RC1 httpd-2.0.52 modperl-1.99_17-dev configure error

MGorbunov@imbank.ru wrote:
> NetBSD-2.0_RC1 + perl-5.8.5 + httpd-2.0.52 :
> 
> all the above builds and runs OK, but
> 
> when trying to configure source of modperl-1.99_17-dev I get the 
> following:
> 
> $ perl Makefile.PL MP_AP_PREFIX=$HOME/mp-test/httpd-2.0
> Reading Makefile.PL args from @ARGV
>    MP_AP_PREFIX = /home/mgorb/mp-test/httpd-2.0
> [  error] invalid MP_AP_PREFIX: include/ directory not found in 
> /home/mgorb/mp-test/httpd-2.0
> 
> $ ls /home/mgorb/mp-test/httpd-2.0
> bin     cgi-bin error   icons   lib     man     modules
> build   conf    htdocs  include logs    manual

I can't reproduce that. Could you please try to debug that code? It's just 
perl in Makefile.PL.

Also I suspect that it might something to do with the fact that you have 
httpd-2.0 as a sub-dir of modperl-2.0? But I can't tell where the 
modperl-2.0 source lives from your report. So it's just an idea.


-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: [mp2] NetBSD-2.0_RC1 httpd-2.0.52 modperl-1.99_17-dev configure error

Posted by "Fco. Valladolid" <fr...@vmicrosistemas.com>.
Hi, You has try via pkgsrc ?, maybe be a solution.

Reagrds.

On Fri, Oct 01, 2004 at 10:20:50AM -0400, Stas Bekman wrote:
> MGorbunov@imbank.ru wrote:
> >Stas Bekman <st...@stason.org> wrote on 01.10.2004 06:08:34: 
> >
> >>I can't reproduce that. Could you please try to debug that code? It's 
> >
> >just 
> >
> >>perl in Makefile.PL.
> >
> >
> >tried that with perl -d Makefile.PL MP_AP_PREFIX=$HOME/mp-test/httpd-2.0
> >
> >looks like it stops here:
> >
> >171:        unless ($val) {
> >  DB<129> s
> >Apache::Build::apxs(lib/Apache/Build.pm:173):
> >173:            my $error = qx($apxs @_ 2>&1);
> >  DB<131> s
> >Can't exec "/home/mgorb/mp-test/httpd-2.0/bin/apxs": No such file or 
> >directory at lib/Apache/Build.pm line 173.
> > at lib/Apache/Build.pm line 173
> >        Apache::Build::apxs('Apache::Build=HASH(0x8d7fcb8)', '-q', 
> >'INCLUDEDIR') called at lib/Apache/Build.pm line 82
> >        Apache::Build::ap_prefix_invalid('Apache::Build=HASH(0x8d7fcb8)') 
> >called at Makefile.PL line 206
> >        main::configure() called at Makefile.PL line 52
> 
> Why doesn't it print out the error then?
> 
>     unless ($val) {
>         # do we have an error or is it just an empty value?
>         my $error = qx($apxs @_ 2>&1);
>         chomp $error if defined $error;
>         if ($error) {
>             error "'$apxs @_' failed:";
>             error $error;
>         }
>         else {
>             $val = '';
>         }
>     }
> 
> does anything go into $error? Please try to fix that code so that it 
> clearly point out what the problem is, as soon as it happens.
> 
> I think that I have an idea why does it try to use apxs (it should not, 
> since there should be no bin/apxs in the fresh source tree). Try running 
> 'make clean' in the /home/mgorb/mp-test/httpd-2.0 tree and try again.
> 
> >...
> >
> >looking into /home/mgorb/mp-test/httpd-2.0/bin/apxs ( which appeared to be 
> >a perl script :) ) showed "#!/replace/with/path/to/perl/interpreter -w" at 
> >the first line. Replaced it with "/usr/local/bin/perl". After that "perl 
> >Makefile.PL" worked and mp2 was built OK, but some tests failed:
> 
> >% make test TEST_VERBOSE=1 TEST_FILES="t/apr-ext/base64.t 
> [...]
> >t/apr-ext/base64.........Can't load 
> >'/usr/home/mgorb/mp-test/src/modperl-2.0/blib/arch/auto/APR/APR.so' for 
> >module APR: Shared object "libapr-0.so.9" not found at 
> 
> Philippe, APR.so needs the same treatment as mod_perl.so wrt to finding 
> the not-yet installed library when doing the static build. I suppose we 
> didn't see the problem since we had libapr installed system-wide (svn, 
> etc). I think we may need to add to release procedures a step where the RM 
> (re)moves any global libs that may affect the build.
> 
> -- 
> __________________________________________________________________
> Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/     mod_perl Guide ---> http://perl.apache.org
> mailto:stas@stason.org http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org   http://ticketmaster.com
> 
> -- 
> Report problems: http://perl.apache.org/bugs/
> Mail list info: http://perl.apache.org/maillist/modperl.html
> List etiquette: http://perl.apache.org/maillist/email-etiquette.html
> 

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: [mp2] NetBSD-2.0_RC1 httpd-2.0.52 modperl-1.99_17-dev configure error

Posted by Stas Bekman <st...@stason.org>.
MGorbunov@imbank.ru wrote:

could you please report the initial report, including your latest
tweaks to lib/Apache/Build.pm to the dev list [1]? I guess Philippe still 
didn't catch up with this list's email, but he should pick it up quickly 
at the dev list. Thanks.

[1] http://perl.apache.org/maillist/dev.html#Subscription_Information

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: [mp2] NetBSD-2.0_RC1 httpd-2.0.52 modperl-1.99_17-dev configure error

Posted by MG...@imbank.ru.
Stas Bekman <st...@stason.org> wrote on 01.10.2004 18:20:50:

> MGorbunov@imbank.ru wrote:
> > Stas Bekman <st...@stason.org> wrote on 01.10.2004 06:08:34: 
> > 
> >>I can't reproduce that. Could you please try to debug that code? It's 
> > 
> > just 
> > 
> >>perl in Makefile.PL.
> > 
> > 
> > tried that with perl -d Makefile.PL 
MP_AP_PREFIX=$HOME/mp-test/httpd-2.0
> > 
> > looks like it stops here:
> > 
> > 171:        unless ($val) {
> >   DB<129> s
> > Apache::Build::apxs(lib/Apache/Build.pm:173):
> > 173:            my $error = qx($apxs @_ 2>&1);
> >   DB<131> s
> > Can't exec "/home/mgorb/mp-test/httpd-2.0/bin/apxs": No such file or 
> > directory at lib/Apache/Build.pm line 173.
> >  at lib/Apache/Build.pm line 173
> >         Apache::Build::apxs('Apache::Build=HASH(0x8d7fcb8)', '-q', 
> > 'INCLUDEDIR') called at lib/Apache/Build.pm line 82
> > Apache::Build::ap_prefix_invalid('Apache::Build=HASH(0x8d7fcb8)') 
> > called at Makefile.PL line 206
> >         main::configure() called at Makefile.PL line 52
> 
> Why doesn't it print out the error then?
> 
>      unless ($val) {
>          # do we have an error or is it just an empty value?
>          my $error = qx($apxs @_ 2>&1);
>          chomp $error if defined $error;
>          if ($error) {
>              error "'$apxs @_' failed:";
>              error $error;
>          }
>          else {
>              $val = '';
>          }
>      }
> 
> does anything go into $error? Please try to fix that code so that it 
> clearly point out what the problem is, as soon as it happens.

changed the code above like that:

unless ($val) {
        # do we have an error or is it just an empty value?
        #my $error = qx($apxs @_ 2>&1);
        my $error = qx($apxs @_);
        chomp $error if defined $error;
        if ($error) {
            error "'$apxs @_' failed:";
            error $error;

now it prints the error out:

$ perl Makefile.PL MP_AP_PREFIX=$HOME/mp-test/httpd-2.0
Reading Makefile.PL args from @ARGV
   MP_AP_PREFIX = /home/mgorb/mp-test/httpd-2.0
Can't exec "/home/mgorb/mp-test/httpd-2.0/bin/apxs": No such file or 
directory at lib/Apache/Build.pm line 174.
[  error] invalid MP_AP_PREFIX: include/ directory not found in 
/home/mgorb/mp-test/httpd-2.0


> I think that I have an idea why does it try to use apxs (it should not, 
> since there should be no bin/apxs in the fresh source tree). Try running 

> 'make clean' in the /home/mgorb/mp-test/httpd-2.0 tree and try again.

This does not help...
> > ...
> > 
> > looking into /home/mgorb/mp-test/httpd-2.0/bin/apxs ( which appeared 
to be 
> > a perl script :) ) showed "#!/replace/with/path/to/perl/interpreter 
-w" at 
> > the first line. Replaced it with "/usr/local/bin/perl". After that 
"perl 
> > Makefile.PL" worked and mp2 was built OK, but some tests failed:
> 
> > % make test TEST_VERBOSE=1 TEST_FILES="t/apr-ext/base64.t 
> [...]
> > t/apr-ext/base64.........Can't load 
> > '/usr/home/mgorb/mp-test/src/modperl-2.0/blib/arch/auto/APR/APR.so' 
for 
> > module APR: Shared object "libapr-0.so.9" not found at 
> 
> Philippe, APR.so needs the same treatment as mod_perl.so wrt to finding 
> the not-yet installed library when doing the static build. I suppose we 
> didn't see the problem since we had libapr installed system-wide (svn, 
> etc). I think we may need to add to release procedures a step where the 
RM 
> (re)moves any global libs that may affect the build.
> 
> -- 
> __________________________________________________________________
> Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/     mod_perl Guide ---> http://perl.apache.org
> mailto:stas@stason.org http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org   http://ticketmaster.com
> 
> -- 
> Report problems: http://perl.apache.org/bugs/
> Mail list info: http://perl.apache.org/maillist/modperl.html
> List etiquette: http://perl.apache.org/maillist/email-etiquette.html
> 


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: [mp2] NetBSD-2.0_RC1 httpd-2.0.52 modperl-1.99_17-dev configure error

Posted by Stas Bekman <st...@stason.org>.
MGorbunov@imbank.ru wrote:
> Stas Bekman <st...@stason.org> wrote on 01.10.2004 06:08:34: 
> 
>>I can't reproduce that. Could you please try to debug that code? It's 
> 
> just 
> 
>>perl in Makefile.PL.
> 
> 
> tried that with perl -d Makefile.PL MP_AP_PREFIX=$HOME/mp-test/httpd-2.0
> 
> looks like it stops here:
> 
> 171:        unless ($val) {
>   DB<129> s
> Apache::Build::apxs(lib/Apache/Build.pm:173):
> 173:            my $error = qx($apxs @_ 2>&1);
>   DB<131> s
> Can't exec "/home/mgorb/mp-test/httpd-2.0/bin/apxs": No such file or 
> directory at lib/Apache/Build.pm line 173.
>  at lib/Apache/Build.pm line 173
>         Apache::Build::apxs('Apache::Build=HASH(0x8d7fcb8)', '-q', 
> 'INCLUDEDIR') called at lib/Apache/Build.pm line 82
>         Apache::Build::ap_prefix_invalid('Apache::Build=HASH(0x8d7fcb8)') 
> called at Makefile.PL line 206
>         main::configure() called at Makefile.PL line 52

Why doesn't it print out the error then?

     unless ($val) {
         # do we have an error or is it just an empty value?
         my $error = qx($apxs @_ 2>&1);
         chomp $error if defined $error;
         if ($error) {
             error "'$apxs @_' failed:";
             error $error;
         }
         else {
             $val = '';
         }
     }

does anything go into $error? Please try to fix that code so that it 
clearly point out what the problem is, as soon as it happens.

I think that I have an idea why does it try to use apxs (it should not, 
since there should be no bin/apxs in the fresh source tree). Try running 
'make clean' in the /home/mgorb/mp-test/httpd-2.0 tree and try again.

> ...
> 
> looking into /home/mgorb/mp-test/httpd-2.0/bin/apxs ( which appeared to be 
> a perl script :) ) showed "#!/replace/with/path/to/perl/interpreter -w" at 
> the first line. Replaced it with "/usr/local/bin/perl". After that "perl 
> Makefile.PL" worked and mp2 was built OK, but some tests failed:

> % make test TEST_VERBOSE=1 TEST_FILES="t/apr-ext/base64.t 
[...]
> t/apr-ext/base64.........Can't load 
> '/usr/home/mgorb/mp-test/src/modperl-2.0/blib/arch/auto/APR/APR.so' for 
> module APR: Shared object "libapr-0.so.9" not found at 

Philippe, APR.so needs the same treatment as mod_perl.so wrt to finding 
the not-yet installed library when doing the static build. I suppose we 
didn't see the problem since we had libapr installed system-wide (svn, 
etc). I think we may need to add to release procedures a step where the RM 
(re)moves any global libs that may affect the build.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: [mp2] NetBSD-2.0_RC1 httpd-2.0.52 modperl-1.99_17-dev configure error

Posted by MG...@imbank.ru.
Stas Bekman <st...@stason.org> wrote on 01.10.2004 06:08:34: 
> I can't reproduce that. Could you please try to debug that code? It's 
just 
> perl in Makefile.PL.

tried that with perl -d Makefile.PL MP_AP_PREFIX=$HOME/mp-test/httpd-2.0

looks like it stops here:

171:        unless ($val) {
  DB<129> s
Apache::Build::apxs(lib/Apache/Build.pm:173):
173:            my $error = qx($apxs @_ 2>&1);
  DB<131> s
Can't exec "/home/mgorb/mp-test/httpd-2.0/bin/apxs": No such file or 
directory at lib/Apache/Build.pm line 173.
 at lib/Apache/Build.pm line 173
        Apache::Build::apxs('Apache::Build=HASH(0x8d7fcb8)', '-q', 
'INCLUDEDIR') called at lib/Apache/Build.pm line 82
        Apache::Build::ap_prefix_invalid('Apache::Build=HASH(0x8d7fcb8)') 
called at Makefile.PL line 206
        main::configure() called at Makefile.PL line 52

...

looking into /home/mgorb/mp-test/httpd-2.0/bin/apxs ( which appeared to be 
a perl script :) ) showed "#!/replace/with/path/to/perl/interpreter -w" at 
the first line. Replaced it with "/usr/local/bin/perl". After that "perl 
Makefile.PL" worked and mp2 was built OK, but some tests failed:

Failed Test             Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/apr-ext/base64.t       255 65280    ??   ??       %  ??
t/apr-ext/bucket.t       255 65280    ??   ??       %  ??
t/apr-ext/date.t         255 65280    ??   ??       %  ??
t/apr-ext/finfo.t        255 65280    ??   ??       %  ??
t/apr-ext/perlio.t       255 65280    ??   ??       %  ??
t/apr-ext/pool.t         255 65280    ??   ??       %  ??
t/apr-ext/string.t       255 65280    ??   ??       %  ??
t/apr-ext/table.t        255 65280    ??   ??       %  ??
t/apr-ext/threadmutex.t  255 65280    ??   ??       %  ??
t/apr-ext/uri.t          255 65280    ??   ??       %  ??
t/apr-ext/util.t         255 65280    ??   ??       %  ??
t/apr-ext/uuid.t         255 65280    ??   ??       %  ??
t/apr/constants.t        255 65280    ??   ??       %  ??

% make test TEST_VERBOSE=1 TEST_FILES="t/apr-ext/base64.t 
t/apr-ext/bucket.t t/apr-ext/date.t t/apr-ext/finfo.t t/apr-ext/perlio.t 
t/apr-ext/pool.t t/apr-ext/string.t t/apr-ext/table.t 
t/apr-ext/threadmutex.t t/apr-ext/uri.t t/apr-ext/util.t t/apr-ext/uuid.t 
t/apr/constants.t"
cd "src/modules/perl" && make
/usr/local/bin/perl -Iblib/arch -Iblib/lib  t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= 
APACHE_TEST_APXS=  /usr/local/bin/perl -Iblib/arch -Iblib/lib  t/TEST 
-bugreport -verbose=1 t/apr-ext/base64.t t/apr-ext/bucket.t 
t/apr-ext/date.t t/apr-ext/finfo.t t/apr-ext/perlio.t t/apr-ext/pool.t 
t/apr-ext/string.t t/apr-ext/table.t t/apr-ext/threadmutex.t 
t/apr-ext/uri.t t/apr-ext/util.t t/apr-ext/uuid.t t/apr/constants.t
/home/mgorb/mp-test/httpd-2.0/bin/httpd  -d 
/usr/home/mgorb/mp-test/src/modperl-2.0/t -f 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/conf/httpd.conf -D APACHE2 
using Apache/2.0.52 (prefork MPM)

...

t/apr-ext/base64.........Can't load 
'/usr/home/mgorb/mp-test/src/modperl-2.0/blib/arch/auto/APR/APR.so' for 
module APR: Shared object "libapr-0.so.9" not found at 
/home/mgorb/mp-test/perl/lib/5.8.5/i386-netbsd/DynaLoader.pm line 230.
 at /usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Base64.pm line 23
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Base64.pm line 23.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Base64.pm line 23.
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/base64.pm line 
11.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/base64.pm line 
11.
Compilation failed in require at t/apr-ext/base64.t line 5.
BEGIN failed--compilation aborted at t/apr-ext/base64.t line 5.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/apr-ext/bucket.........Can't load 
'/usr/home/mgorb/mp-test/src/modperl-2.0/blib/arch/auto/APR/APR.so' for 
module APR: Shared object "libapr-0.so.9" not found at 
/home/mgorb/mp-test/perl/lib/5.8.5/i386-netbsd/DynaLoader.pm line 230.
 at /usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Bucket.pm line 23
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Bucket.pm line 23.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Bucket.pm line 23.
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/bucket.pm line 
11.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/bucket.pm line 
11.
Compilation failed in require at t/apr-ext/bucket.t line 5.
BEGIN failed--compilation aborted at t/apr-ext/bucket.t line 5.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/apr-ext/date...........Can't load 
'/usr/home/mgorb/mp-test/src/modperl-2.0/blib/arch/auto/APR/APR.so' for 
module APR: Shared object "libapr-0.so.9" not found at 
/home/mgorb/mp-test/perl/lib/5.8.5/i386-netbsd/DynaLoader.pm line 230.
 at /usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Date.pm line 23
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Date.pm line 23.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Date.pm line 23.
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/date.pm line 11.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/date.pm line 11.
Compilation failed in require at t/apr-ext/date.t line 5.
BEGIN failed--compilation aborted at t/apr-ext/date.t line 5.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/apr-ext/finfo..........Can't load 
'/usr/home/mgorb/mp-test/src/modperl-2.0/blib/arch/auto/APR/APR.so' for 
module APR: Shared object "libapr-0.so.9" not found at 
/home/mgorb/mp-test/perl/lib/5.8.5/i386-netbsd/DynaLoader.pm line 230.
 at /usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Finfo.pm line 23
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Finfo.pm line 23.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Finfo.pm line 23.
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/finfo.pm line 14.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/finfo.pm line 14.
Compilation failed in require at t/apr-ext/finfo.t line 5.
BEGIN failed--compilation aborted at t/apr-ext/finfo.t line 5.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/apr-ext/perlio.........Can't load 
'/usr/home/mgorb/mp-test/src/modperl-2.0/blib/arch/auto/APR/APR.so' for 
module APR: Shared object "libapr-0.so.9" not found at 
/home/mgorb/mp-test/perl/lib/5.8.5/i386-netbsd/DynaLoader.pm line 230.
 at t/apr-ext/perlio.t line 35
Compilation failed in require at t/apr-ext/perlio.t line 35.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/apr-ext/pool...........Can't load 
'/usr/home/mgorb/mp-test/src/modperl-2.0/blib/arch/auto/APR/APR.so' for 
module APR: Shared object "libapr-0.so.9" not found at 
/home/mgorb/mp-test/perl/lib/5.8.5/i386-netbsd/DynaLoader.pm line 230.
 at /usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Pool.pm line 23
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Pool.pm line 23.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Pool.pm line 23.
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/pool.pm line 10.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/pool.pm line 10.
Compilation failed in require at t/apr-ext/pool.t line 5.
BEGIN failed--compilation aborted at t/apr-ext/pool.t line 5.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/apr-ext/string.........Can't load 
'/usr/home/mgorb/mp-test/src/modperl-2.0/blib/arch/auto/APR/APR.so' for 
module APR: Shared object "libapr-0.so.9" not found at 
/home/mgorb/mp-test/perl/lib/5.8.5/i386-netbsd/DynaLoader.pm line 230.
 at /usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/String.pm line 23
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/String.pm line 23.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/String.pm line 23.
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/string.pm line 9.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/string.pm line 9.
Compilation failed in require at t/apr-ext/string.t line 5.
BEGIN failed--compilation aborted at t/apr-ext/string.t line 5.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/apr-ext/table..........Can't load 
'/usr/home/mgorb/mp-test/src/modperl-2.0/blib/arch/auto/APR/APR.so' for 
module APR: Shared object "libapr-0.so.9" not found at 
/home/mgorb/mp-test/perl/lib/5.8.5/i386-netbsd/DynaLoader.pm line 230.
 at /usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Table.pm line 23
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Table.pm line 23.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Table.pm line 23.
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/table.pm line 11.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/table.pm line 11.
Compilation failed in require at t/apr-ext/table.t line 5.
BEGIN failed--compilation aborted at t/apr-ext/table.t line 5.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/apr-ext/threadmutex....Can't load 
'/usr/home/mgorb/mp-test/src/modperl-2.0/blib/arch/auto/APR/APR.so' for 
module APR: Shared object "libapr-0.so.9" not found at 
/home/mgorb/mp-test/perl/lib/5.8.5/i386-netbsd/DynaLoader.pm line 230.
 at /usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Const.pm line 18
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Const.pm line 18.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Const.pm line 18.
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/threadmutex.pm 
line 9.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/threadmutex.pm 
line 9.
Compilation failed in require at t/apr-ext/threadmutex.t line 5.
BEGIN failed--compilation aborted at t/apr-ext/threadmutex.t line 5.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/apr-ext/uri............Can't load 
'/usr/home/mgorb/mp-test/src/modperl-2.0/blib/arch/auto/APR/APR.so' for 
module APR: Shared object "libapr-0.so.9" not found at 
/home/mgorb/mp-test/perl/lib/5.8.5/i386-netbsd/DynaLoader.pm line 230.
 at /usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/URI.pm line 23
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/URI.pm line 23.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/URI.pm line 23.
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/uri.pm line 11.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/uri.pm line 11.
Compilation failed in require at t/apr-ext/uri.t line 5.
BEGIN failed--compilation aborted at t/apr-ext/uri.t line 5.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/apr-ext/util...........Can't load 
'/usr/home/mgorb/mp-test/src/modperl-2.0/blib/arch/auto/APR/APR.so' for 
module APR: Shared object "libapr-0.so.9" not found at 
/home/mgorb/mp-test/perl/lib/5.8.5/i386-netbsd/DynaLoader.pm line 230.
 at /usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Util.pm line 23
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Util.pm line 23.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Util.pm line 23.
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/util.pm line 11.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/util.pm line 11.
Compilation failed in require at t/apr-ext/util.t line 5.
BEGIN failed--compilation aborted at t/apr-ext/util.t line 5.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/apr-ext/uuid...........Can't load 
'/usr/home/mgorb/mp-test/src/modperl-2.0/blib/arch/auto/APR/APR.so' for 
module APR: Shared object "libapr-0.so.9" not found at 
/home/mgorb/mp-test/perl/lib/5.8.5/i386-netbsd/DynaLoader.pm line 230.
 at /usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/uuid.pm line 
10
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/t/lib/TestAPRlib/uuid.pm line 10.
Compilation failed in require at t/apr-ext/uuid.t line 27.
BEGIN failed--compilation aborted at t/apr-ext/uuid.t line 27.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/apr/constants..........Can't load 
'/usr/home/mgorb/mp-test/src/modperl-2.0/blib/arch/auto/APR/APR.so' for 
module APR: Shared object "libapr-0.so.9" not found at 
/home/mgorb/mp-test/perl/lib/5.8.5/i386-netbsd/DynaLoader.pm line 230.
 at /usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Const.pm line 18
Compilation failed in require at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Const.pm line 18.
BEGIN failed--compilation aborted at 
/usr/home/mgorb/mp-test/src/modperl-2.0/blib/lib/APR/Const.pm line 18.
Compilation failed in require at t/apr/constants.t line 10.
BEGIN failed--compilation aborted at t/apr/constants.t line 10.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
FAILED--13 test scripts could be run, alas--no output ever seen

...

$ find $HOME -name APR.so
/home/mgorb/mp-test/src/modperl-2.0/blib/arch/auto/APR/APR.so

$ find $HOME -name libapr-0.so.9
/home/mgorb/mp-test/src/httpd-2.0.52/srclib/apr/.libs/libapr-0.so.9
/home/mgorb/mp-test/httpd-2.0/lib/libapr-0.so.9

> Also I suspect that it might something to do with the fact that you have 

> httpd-2.0 as a sub-dir of modperl-2.0? But I can't tell where the 
> modperl-2.0 source lives from your report. So it's just an idea.
> 
my directory structure for this test is :

$HOME/mp-test
$HOME/mp-test/perl              <- perl is installed here 
$HOME/mp-test/httpd-2.0         <- httpd is installed here
$HOME/mp-test/src/perl-5.8.5            <- perl source
$HOME/mp-test/src/httpd-2.0.52  <- httpd source
$HOME/mp-test/src/modperl-2.0           <- modperl source

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html