Bonjour,
J'essaye actuellement d'installer Apache2 avec le module mod_perl2.
La partie apache2 ne pose aucune difficultés mais concernant la partie mod_perl2 je suis à cours d'idées.
Je suis dans l’environnement suivant :
- Windows Seven SP1 X64
- Apache/2.2.17
- Perl/v5.12.3 (Active perl 5.12.3)
Les variables d’environnement pointent vers mes répertoires apache et perl
Ce que j'ai déjà fait :
* mod_perl 2.0.5
- télécharger de la version mod_perl 2.0: Version 2.0.5
(sur http://perl.apache.org/download/index.html)
- exécution de Makefile.pl
- le résultat :
Le problème c'est que je ne retrouve aucun mod_perl.so, ni dans le dossier d’exécution, ni dans celui de perl, ni dans celui de apache
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112 C:\Users\holblin\Desktop\AMP\mod_perl-2.0.5>Makefile.PL Set up gcc environment - 3.4.5 (mingw-vista special r3) 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): c:\AMP\Apache2\bin\apxs.bat Configuring Apache/2.2.17 mod_perl/2.0.5 Perl/v5.12.3 Writing Makefile for Apache2::Reload Writing Makefile for Apache2::SizeLimit Subroutine MY::postamble redefined at ./Makefile.PL line 149. Subroutine MY::test redefined at ./Makefile.PL line 168. Subroutine MY::constants redefined at ./Makefile.PL line 188. [ info] generating script t/TEST [ info] generating script ./t/cgi-bin/cookies.pl [ info] generating script ./t/cgi-bin/next_available_port.pl Writing Makefile for Apache::Test Checking for File::Spec...ok Checking for Cwd...ok [ info] generating script t/TEST Writing Makefile for ModPerl::Registry Writing Makefile for APR::Base64 Writing Makefile for APR::Brigade Writing Makefile for APR::Bucket Writing Makefile for APR::BucketAlloc Writing Makefile for APR::BucketType Writing Makefile for APR::Date Writing Makefile for APR::Error Writing Makefile for APR::Finfo Writing Makefile for APR::IpSubnet Writing Makefile for APR::OS Writing Makefile for APR::Pool Writing Makefile for APR::SockAddr Writing Makefile for APR::Socket Writing Makefile for APR::Status Writing Makefile for APR::String Writing Makefile for APR::Table Writing Makefile for APR::ThreadMutex Writing Makefile for APR::ThreadRWLock Writing Makefile for APR::URI Writing Makefile for APR::UUID Writing Makefile for APR::Util Writing Makefile for APR Writing Makefile for Apache2::Access Writing Makefile for Apache2::CmdParms Writing Makefile for Apache2::Command Writing Makefile for Apache2::Connection Writing Makefile for Apache2::ConnectionUtil Writing Makefile for Apache2::Directive Writing Makefile for Apache2::Filter Writing Makefile for Apache2::FilterRec Writing Makefile for Apache2::HookRun Writing Makefile for Apache2::Log Writing Makefile for Apache2::MPM Writing Makefile for Apache2::Module Writing Makefile for Apache2::Process Writing Makefile for Apache2::RequestIO Writing Makefile for Apache2::RequestRec Writing Makefile for Apache2::RequestUtil Writing Makefile for Apache2::Response Writing Makefile for Apache2::ServerRec Writing Makefile for Apache2::ServerUtil Writing Makefile for Apache2::SubProcess Writing Makefile for Apache2::SubRequest Writing Makefile for Apache2::URI Writing Makefile for Apache2::Util Writing Makefile for Apache2 Writing Makefile for ModPerl::Global Writing Makefile for ModPerl::Util Writing Makefile for ModPerl Writing Makefile for ModPerl::WrapXS Note (probably harmless): No library found for -llibaprutil-1 Note (probably harmless): No library found for -llibapr-1 Writing Makefile for APR Writing Makefile for APR::Const Writing Makefile for APR::PerlIO Writing Makefile for libaprext Writing Makefile for APR_build Writing Makefile for Apache2::Const Writing Makefile for Apache2_build Writing Makefile for ModPerl::Const Writing Makefile for ModPerl Writing Makefile for ModPerl::XS Writing Makefile for mod_perl2 [warning] mod_perl dso library will be built as mod_perl.so [warning] You'll need to add the following to httpd.conf: [warning] [warning] LoadModule perl_module modules/mod_perl.so [warning] [warning] depending on your build, mod_perl might not live in [warning] the modules/ directory. [warning] Check the results of [warning] [warning] $ c:\AMP\Apache2\bin\apxs.bat -q LIBEXECDIR [warning] [warning] and adjust the LoadModule directive accordingly. C:\Users\holblin\Desktop\AMP\mod_perl-2.0.5>
Pour arriver à ce premier résultat ! J'ai du :
- mettre apxs, que j'ai téléchargé depuis :
http://www.apachelounge.com/download/ (bas de page)
* autre test déjà fait avec ppm :
* J'ai aussi essayé toutes les commandes ici : http://www.developpez.net/forums/d55...-2-windows-xp/
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 C:\Users\holblin\Desktop\AMP\mod_perl-2.0.5>ppm install http://theoryx5.uwinnipeg.ca/ppms/mod_perl-2.0.ppd ppm install failed: The PPD does not provide code to install for this platform C:\Users\holblin\Desktop\AMP\mod_perl-2.0.5>ppm install mod_perl ppm install failed: Can't find any package that provides mod_perl C:\Users\holblin\Desktop\AMP\mod_perl-2.0.5>ppm install mod_perl-2.0 ppm install failed: Can't find any package that provides mod_perl-2.0 C:\Users\holblin\Desktop\AMP\mod_perl-2.0.5>ppm rep ┌────┬───────┬────────────────────────────────┐ │ id │ pkgs │ name │ ├────┼───────┼────────────────────────────────┤ │ 1 │ 13106 │ ActiveState Package Repository │ │ 2 │ 0 │ theoryx │ │ 3 │ 0 │ theoryx │ └────┴───────┴────────────────────────────────┘ (3 enabled repositories)
Merci merci merci de votre aide !
ps: j'espère que je ne me suis pas trompé de section pour poster
Partager