Nick wrote:
Hi everyone.

I have FreeBSD, and try to install mod_perl to Apache 2.0.49
While trying gmake install, I received the following message:

/usr/bin/perl -Iblib/lib/Apache2
-I/usr/home/nick/mod_perl-1.99_16/Apache-Test/lib -MModPerl::BuildMM
-e ModPerl::BuildMM::glue_pod WrapXS/APR/ThreadMutex/ThreadMutex.pm
/usr/home/nick/mod_perl-1.99_16/docs/api/APR/ThreadMutex.pod
blib/lib/Apache2/APR/ThreadMutex.pm
glue_pod: can't find blib/lib/Apache2/APR/ThreadMutex.pm at
blib/lib/Apache2/ModPerl/BuildMM.pm line 275.
gmake: *** [glue_pods] Error 2

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.

Any idea why on your FreeBSD it ends up in blib/lib/Apache2/APR/ThreadMutex/ThreadMutex.pm? This is a wrong location. On my machine (Linux) it's blib/lib/Apache2/APR/ThreadMutex.pm.


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

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

On my machine it's:

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


--
__________________________________________________________________
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