[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: installing mod_perl on Windows 10
From:       André_Warnier_(tomcat/perl) <aw () ice-sa ! com>
Date:       2020-01-14 11:23:56
Message-ID: d342f892-b4b9-8d46-39b0-7d66fbec7e31 () ice-sa ! com
[Download RAW message or body]

Hi.
One more time.
I am trying to install Apache 2.4 (64-bit, ApacheLounge) + perl (Strawberry, 5.26.2, 
64-bit) + mod_perl 2 (all versions shown below in cpanm output), on a (German) Windows 10 
laptop. (*)

The work directory below is leftover from a previous command "cpanm mod_perl2".
Apache 2.4 is installed and starts up (as a service), error log :
[Wed Jan 08 14:38:40.071509 2020] [mpm_winnt:notice] [pid 15800:tid 820] AH00455: 
Apache/2.4.41 (Win64) configured -- resuming normal operations
..
(note : the c:\apache24\bin directory contains no apxs script, and according to the source 
files of mod_perl, apxs does not seem to work under MSWin anyway)

perl works

but the mod_perl install breaks, build log below.
Any clues anyone ?

log (in Windows 10 command window, run as administrator) :

C:\Users\aw\.cpanm\work\1578998136.19100\mod_perl-2.0.11>
C:\Users\aw\.cpanm\work\1578998136.19100\mod_perl-2.0.11>cpanm --interactive --prompt .
--> Working on .
Configuring mod_perl-2.0.11 ... no conflicting prior mod_perl version found - good.

Next we need to know where the 'apxs' script is located. This script
provides a lot of information about the Apache installation, and makes
it easier to find things on your system. Normally it's located in the
same directory as the 'httpd' executable.

If you don't yet have Apache installed you can build Apache against
the Apache source code, but you won't be able to run the test suite (a
very important step). Therefore you may want to install Apache before
proceeding.


Please provide a full path to 'apxs' executable
(press Enter if you don't have it installed):


Configure mod_perl with C:\Apache24? [y] y
Configuring Apache/2.4.41 mod_perl/2.0.11 Perl/v5.26.2
Checking if your kit is complete...
Looks good
Warning (mostly harmless): No library found for 
C:/Users/aw/.cpanm/work/1578998136.19100/mod_perl-2.0.11/src/modules/perl/mod_perl.lib
ERROR from evaluation of 
C:\Users\aw\.cpanm\work\1578998136.19100\mod_perl-2.0.11\Apache-Reload/Makefile.PL: Use of 
uninitialized value $v in substitution (s///) at Apache-Test/lib/Apache/TestRun.pm line 1100.
Configuring  failed.
You can s)kip, r)etry, e)xamine build log, or l)ook ? [s] l
...


(*) which may interfere with the process in unfathomable ways.
E.g. there is no directory "c:\users" visible in Windows Explorer, it is instead called 
"C:\Benutzer". But that does not seem to immediately stop the command-line process from 
changing to the work directory  C:/Users/aw/.cpanm/work/, go figure..

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic