apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MGorbu...@imbank.ru
Subject Re: [mp2] NetBSD-1.6.2 modperl 1.99_16 httpd 2.0.51-dev make test errors
Date Wed, 15 Sep 2004 10:32:53 GMT
Stas Bekman <stas@stason.org> wrote on 14.09.2004 04:36:59:

> Mea culpa, not sure why it did work for me. I guess my emulation of apr 
> not having threads didn't work completely. Please try this patch:
> 
> Index: lib/ModPerl/BuildMM.pm
> ===================================================================
> RCS file: /home/cvs/modperl-2.0/lib/ModPerl/BuildMM.pm,v
> retrieving revision 1.21
> diff -u -r1.21 BuildMM.pm
> --- lib/ModPerl/BuildMM.pm      8 Sep 2004 04:10:09 -0000       1.21
> +++ lib/ModPerl/BuildMM.pm      14 Sep 2004 00:36:00 -0000
> @@ -274,9 +274,7 @@
>       # it's possible that the .pm file is not existing
>       # (e.g. ThreadMutex.pm is not created on unless
>       # $apr_config->{HAS_THREADS})
> -    return unless -e $pm;
> -
> -    die "glue_pod: can't find $dst" unless -e $dst;
> +    return unless -e $pm && -e $dst;
> 
>       # have we already glued the doc?
>       exit 0 unless -s $pm == -s $dst;
> 
> 
tried this fix with the latest cvs:

 /usr/home/mgorb/mp-test/modperl-2.0/docs/api/Apache/Status.pod 
blib/lib/Apache2/Apache/Status.pm
/usr/pkg/bin/perl -MExtUtils::Install -e  "-e qq{.mypacklist} && 
uninstall(qq{.mypacklist}, 1, 0)"
unlink .mypacklist
cp xs/modperl_xs_sv_convert.h  xs/modperl_xs_typedefs.h 
xs/modperl_xs_util.h  xs/APR/PerlIO/modperl_apr_perlio.h 
/home/mgorb/httpd-2.0/include
cd "src/modules/perl" && make -f Makefile.modperl install
test -f mod_perl.so &&  cp mod_perl.so /home/mgorb/httpd-2.0/modules
cp mod_perl.h modperl_interp.h modperl_tipool.h modperl_log.h 
modperl_config.h modperl_cmd.h modperl_options.h modperl_callback.h 
modperl_handler.h modperl_gtop.h modperl_util.h modperl_io.h 
modperl_io_apache.h modperl_filter.h modperl_bucket.h modperl_mgv.h 
modperl_pcw.h modperl_global.h modperl_env.h modperl_cgi.h modperl_perl.h 
modperl_perl_global.h modperl_perl_pp.h modperl_sys.h modperl_module.h 
modperl_svptr_table.h modperl_const.h modperl_constants.h 
modperl_apache_compat.h modperl_error.h modperl_debug.h 
modperl_common_util.h modperl_common_log.h modperl_perl_unembed.h 
modperl_types.h modperl_time.h modperl_apache_includes.h 
modperl_perl_includes.h modperl_apr_includes.h modperl_common_includes.h 
modperl_common_types.h modperl_hooks.h modperl_directives.h 
modperl_flags.h modperl_trace.h modperl_largefiles.h 
/home/mgorb/httpd-2.0/include
Warning: You do not have permissions to install into 
/usr/pkg/lib/perl5/site_perl/5.8.4/i386-netbsd at 
/usr/pkg/lib/perl5/5.8.4/ExtUtils/Install.pm line 114.
mkdir /usr/pkg/lib/perl5/site_perl/5.8.4/i386-netbsd/Apache2: Permission 
denied at /usr/pkg/lib/perl5/5.8.4/ExtUtils/Install.pm line 176
*** Error code 255

Stop.
make: stopped in /home/mgorb/mp-test/modperl-2.0
k714%

modperl was built with  MP_INST_APACHE2=1. Does it still has to install 
something into /usr/pkg/lib/perl5/site_perl/5.8.4/i386-netbsd ?

Mime
View raw message