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

SB> that's after 'make'? I see that'd be the case if APR has no threads support:
Yeah! I even have make install finished after playing with the files
to make it find it. I've tried right now to unpack the tarball and
execute
$perl Makefile.PL MP_APXS=/usr/local/sbin/apxs > perlmake.txt 2>perlmake.txt

but I have this error message:

Array found where operator expected at
/usr/local/lib/perl5/site_perl/5.8.4/Carp.pm line 407, at end of line 
        (Do you need to predeclare Carp::longmess?)
Array found where operator expected at
/usr/local/lib/perl5/site_perl/5.8.4/Carp.pm line 408, at end of line 
        (Do you need to predeclare Carp::shortmess?)
Array found where operator expected at
/usr/local/lib/perl5/site_perl/5.8.4/Carp.pm line 409, at end of line 
        (Do you need to predeclare Carp::shortmess?)
Array found where operator expected at
/usr/local/lib/perl5/site_perl/5.8.4/Carp.pm line 410, at end of line 
        (Do you need to predeclare Carp::longmess?)
syntax error at /usr/local/lib/perl5/site_perl/5.8.4/Carp.pm line 407,
near "Carp::longmess @_" 
syntax error at /usr/local/lib/perl5/site_perl/5.8.4/Carp.pm line 408,
near "Carp::shortmess @_" 
syntax error at /usr/local/lib/perl5/site_perl/5.8.4/Carp.pm line 409,
near "Carp::shortmess @_" 
syntax error at /usr/local/lib/perl5/site_perl/5.8.4/Carp.pm line 410,
near "Carp::longmess @_" 
Compilation failed in require at
/usr/local/lib/perl5/5.8.4/warnings.pm line 134. 
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/5.8.4/warnings.pm line 134. 
Compilation failed in require at Makefile.PL line 3.
BEGIN failed--compilation aborted at Makefile.PL line 3.

Seems like I have overwritten some Perl files so now it's broken. This
machine is not mine, everything looks strange here... I'll try to
re-install Apache, Perl and mod_perl again, then I'll message here if
the problem repeats.

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

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

SB>      if ($path =~ m/(Thread|Global)Mutex/) {
SB>          return unless $apr_config->{HAS_THREADS};
SB>      }
Don't know what should I answer to this code portion :)

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

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

Maybe it's all okay there everywhere, I'm kinda newbie... I've tried
to compile it with "make" first, but my FreeBSD guru told I should use
"gmake" instead. Maybe that's important too... maybe it should be
added to FAQ.
-- 
Best regards,
 Nick                          mailto:[EMAIL PROTECTED]


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