[please don't forget to CC the list in your replies]

Nick wrote:
make is looking for:
blib/lib/Apache2/APR/ThreadMutex.pm

while it has to look for it in:
blib/lib/Apache2/APR/ThreadMutex/ThreadMutex.pm

After I've copied files from ThreadMutex dir to ../, the gmake install
finished successfully. I believe it's a bug to fix.


SB> Any idea why on your FreeBSD it ends up in SB> blib/lib/Apache2/APR/ThreadMutex/ThreadMutex.pm? This is a wrong location.
SB> On my machine (Linux) it's blib/lib/Apache2/APR/ThreadMutex.pm.
Don't know, I've just decompressed the tarball...


SB> I think Carl has mentioned this problem before, care to find out the cause?

SB> Please do:
SB> % grep ThreadMutex.pm WrapXS/APR/ThreadMutex/Makefile

SB> On my machine it's:

SB> TO_INST_PM = ThreadMutex.pm
SB> PM_TO_BLIB = ThreadMutex.pm \
SB> $(INST_LIB)/APR/ThreadMutex.pm
SB> $(RM_F) $(MAKEFILE_OLD) $(FIRST_MAKEFILE) SB> $(INST_LIB)/APR/ThreadMutex.pm
SB> ThreadMutex.pm $(INST_LIB)/APR/ThreadMutex.pm


-bash-2.05b$ cd mod_perl-1.99_16/blib/lib/Apache2/APR
-bash-2.05b$ grep ThreadMutex.pm WrapXS/APR/ThreadMutex/Makefile
grep: WrapXS/APR/ThreadMutex/Makefile: No such file or directory

that's after 'make'? I see that'd be the case if APR has no threads support:

sub ModPerl::BuildMM::MY::libscan {
    my($self, $path) = @_;

    my $apr_config = build_config()->get_apr_config();

    if ($path =~ m/(Thread|Global)Mutex/) {
        return unless $apr_config->{HAS_THREADS};
    }

So I need to fix the glue_pod code to handle this case.

and the blib/lib/Apache2/APR/ThreadMutex/ThreadMutex.pm you've mentioned sounds wrong too. I'll check that too.

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] 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



Reply via email to