httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Dudov <>
Subject Re: mod_apreq without perl
Date Wed, 05 Nov 2003 19:41:36 GMT
Finally I got libapreq2.dll and But I had to switch from 
cugwin to ActivePerl.

A couple problems:
If I run *perl Makefile.PL --without-perl *without installed Apache-Test 
and mod-perl it complains:
/perl: 5.8.0 ok
Can't locate Apache/ in @INC (@INC contains: C:/Perl/lib 
C:/Perl/site/lib .) at build/version_ch line 18.
Please upgrade apache_test first. at Makefile.PL line 13.
When I installed Apahce-Test and run *perl Makefile.PL --without-perl, 
*it reported:
/perl: 5.8.0 ok
apache_test: 1.03 ok
Can't locate in @INC (@INC contains: C:/Perl/lib 
C:/Perl/site/lib .) at build/version_check
.pl line 28.
Please upgrade mp2 first. at Makefile.PL line 13.
Only when I got mod_perl installed I could run *perl Makefile.PL 
--without-perl *sucessfully.

Another problem:
libapreq2.mak  references apreq_tables.c(.obj) which is not in src\ 
folder anymore.


Randy Kobes wrote:

>On Tue, 4 Nov 2003, Vladimir Dudov wrote:
>>What if I don't need any tests do I still need ApacheTest
>>and mod_perl to build just libapreq2.dll and
>No, you don't need either in that case, in principle. This
>should work with VC++:
>   C:\httpd-apreq-2> perl Makefile.PL --without-perl
>   C:\httpd-apreq-2> nmake
>   C:\httpd-apreq-2> nmake test
>The last line should run the tests under httpd-apreq-2/t/,
>which don't depend on Apache-Test, but then will fail
>when it tries the httpd-apreq-2/env/t/ tests, which do
>require Apache-Test. After this, libapreq2.dll and
> should be under httpd-apreq-2/win32/libs/.
>I'm not sure about cygwin - does it refuse to build
>without Apache::Test? You can install Apache-Test
>independently of mod_perl - the sources are at
>>Anybody knows by chance how to uninstall ApacheTest 1.29? (I installed
>>it by mistake and AT 1.99 asks to uninstall 1.29
>>before it goes any further. I run "make uninstall" but doesn't seem
>>enough and AT 1.99 keeps asking to uninstall 1.29).
>>I am using cygwin/perl.
>Do you mean mod_perl, rather than Apache::Test? There's not
>a 'make uninstall' capability; one thing to try is to go
>into the blib/ directory where you built mod_perl, see what
>files are there, and then remove manually the corresponding
>files under your Perl tree. Alternatively, you can build
>mod_perl 1.99_xx as
>   perl Makefile.PL MP_AP_PREFIX=/path/to/Apache2 \
>       MP_INST_APACHE2=1
>which will install mod_perl 1.99 relative to an Apache2/
>subdirectory in your Perl tree, so that mod_perl 1.99 and
>mod_perl 1.2x can coexist. With this you then have to 'use
>Apache2' in your Perl scripts (or in a startup file) when
>using mod_perl-1.99, which adjusts the @INC to find the
>appropriate files.

View raw message