~ubuntu-branches/ubuntu/gutsy/libapache2-mod-python/gutsy

« back to all changes in this revision

Viewing changes to doc-html/inst-configure.html

  • Committer: Bazaar Package Importer
  • Author(s): Piotr Ożarowski
  • Date: 2007-04-12 20:52:05 UTC
  • mfrom: (1.2.4 upstream) (1.1.2 etch)
  • Revision ID: james.westby@ubuntu.com-20070412205205-j4qlsw3o4tl615iq
Tags: 3.3.1-1
* New upstream release
* Remove configure and mod_python.h files in clean rule to make the diff.gz
  file smaller
* Current Python version in libapache2-mod-pythonX.Y package name (Provides:
  field) filled in automatically.
* Added XS-Vcs-Browser field

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
2
<html>
3
3
<head>
4
 
<link rel="STYLESHEET" href="modpython.css" type='text/css'>
5
 
<link rel="first" href="modpython.html" title='Mod_python Manual'>
6
 
<link rel='contents' href='contents.html' title="Contents">
7
 
<link rel='index' href='genindex.html' title='Index'>
8
 
<link rel='last' href='about.html' title='About this document...'>
9
 
<link rel='help' href='about.html' title='About this document...'>
10
 
<LINK REL="next" href="inst-make.html">
11
 
<LINK REL="prev" href="inst-compiling.html">
12
 
<LINK REL="parent" href="inst-compiling.html">
13
 
<LINK REL="next" href="inst-make.html">
14
 
<meta name='aesop' content='information'>
15
 
<META NAME="description" CONTENT="Running ./configure">
16
 
<META NAME="keywords" CONTENT="modpython">
17
 
<META NAME="resource-type" CONTENT="document">
18
 
<META NAME="distribution" CONTENT="global">
 
4
<link rel="STYLESHEET" href="modpython.css" type='text/css' />
 
5
<link rel="first" href="modpython.html" title='Mod_python Manual' />
 
6
<link rel='contents' href='contents.html' title="Contents" />
 
7
<link rel='index' href='genindex.html' title='Index' />
 
8
<link rel='last' href='about.html' title='About this document...' />
 
9
<link rel='help' href='about.html' title='About this document...' />
 
10
<link rel="next" href="inst-make.html" />
 
11
<link rel="prev" href="inst-compiling.html" />
 
12
<link rel="parent" href="inst-compiling.html" />
 
13
<link rel="next" href="inst-make.html" />
 
14
<meta name='aesop' content='information' />
19
15
<title>2.2.1 Running ./configure</title>
20
16
</head>
21
17
<body>
22
18
<DIV CLASS="navigation">
 
19
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
23
20
<table align="center" width="100%" cellpadding="0" cellspacing="2">
24
21
<tr>
25
 
<td><a rel="prev" title="2.2 Compiling" 
26
 
  href="inst-compiling.html"><img src='previous.gif'
27
 
  border='0' height='32'  alt='Previous Page' width='32'></A></td>
28
 
<td><a rel="parent" title="2.2 Compiling" 
29
 
  href="inst-compiling.html"><img src='up.gif'
30
 
  border='0' height='32'  alt='Up One Level' width='32'></A></td>
31
 
<td><a rel="next" title="2.2.2 Running make" 
32
 
  href="inst-make.html"><img src='next.gif'
33
 
  border='0' height='32'  alt='Next Page' width='32'></A></td>
 
22
<td class='online-navigation'><a rel="prev" title="2.2 Compiling"
 
23
  href="inst-compiling.html"><img src='previous.png'
 
24
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
 
25
<td class='online-navigation'><a rel="parent" title="2.2 Compiling"
 
26
  href="inst-compiling.html"><img src='up.png'
 
27
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
 
28
<td class='online-navigation'><a rel="next" title="2.2.2 Running make"
 
29
  href="inst-make.html"><img src='next.png'
 
30
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
34
31
<td align="center" width="100%">Mod_python Manual</td>
35
 
<td><a rel="contents" title="Table of Contents" 
36
 
  href="contents.html"><img src='contents.gif'
37
 
  border='0' height='32'  alt='Contents' width='32'></A></td>
38
 
<td><img src='blank.gif'
39
 
  border='0' height='32'  alt='' width='32'></td>
40
 
<td><a rel="index" title="Index" 
41
 
  href="genindex.html"><img src='index.gif'
42
 
  border='0' height='32'  alt='Index' width='32'></A></td>
 
32
<td class='online-navigation'><a rel="contents" title="Table of Contents"
 
33
  href="contents.html"><img src='contents.png'
 
34
  border='0' height='32'  alt='Contents' width='32' /></A></td>
 
35
<td class='online-navigation'><img src='blank.png'
 
36
  border='0' height='32'  alt='' width='32' /></td>
 
37
<td class='online-navigation'><a rel="index" title="Index"
 
38
  href="genindex.html"><img src='index.png'
 
39
  border='0' height='32'  alt='Index' width='32' /></A></td>
43
40
</tr></table>
 
41
<div class='online-navigation'>
44
42
<b class="navlabel">Previous:</b>
45
43
<a class="sectref" rel="prev" href="inst-compiling.html">2.2 Compiling</A>
46
44
<b class="navlabel">Up:</b>
47
45
<a class="sectref" rel="parent" href="inst-compiling.html">2.2 Compiling</A>
48
46
<b class="navlabel">Next:</b>
49
47
<a class="sectref" rel="next" href="inst-make.html">2.2.2 Running make</A>
50
 
<br><hr>
 
48
</div>
 
49
<hr /></div>
51
50
</DIV>
52
51
<!--End of Navigation Panel-->
53
52
 
54
 
<H2><A NAME="SECTION004210000000000000000">&nbsp;</A>
55
 
<a name="l2h-4">&nbsp;</a>
 
53
<H2><A NAME="SECTION004210000000000000000"></A><A NAME="inst-configure"></A>
 
54
<a id='l2h-4' xml:id='l2h-4'></a>
56
55
<BR>
57
56
2.2.1 Running ./configure
58
57
</H2>
65
64
<P>
66
65
 
67
66
<UL>
68
 
<LI><a name="l2h-5">&nbsp;</a>
 
67
<LI><a id='l2h-5' xml:id='l2h-5'></a>
69
68
  Finds out whether a program called <b class="program">apxs</b> is available. This
70
69
  program is part of the standard Apache distribution, and is necessary
71
 
  for DSO compilation. If apxs cannot be found in your <a class="envvar" name="l2h-6">PATH</a> or in
 
70
  for DSO compilation. If apxs cannot be found in your <a class="envvar" id='l2h-6' xml:id='l2h-6'>PATH</a> or in
72
71
  <span class="file">/usr/local/apache/bin</span>, DSO compilation will not be available.
73
72
 
74
73
<P>
85
84
 
86
85
<P>
87
86
</LI>
88
 
<LI><a name="l2h-7">&nbsp;</a>
 
87
<LI><a id='l2h-7' xml:id='l2h-7'></a>
89
88
  Checks your Python version and attempts to figure out where
90
89
  <b class="program">libpython</b> is by looking at various parameters compiled into
91
90
  your Python binary. By default, it will use the <b class="program">python</b>
92
 
  program found in your <a class="envvar" name="l2h-8">PATH</a>.
 
91
  program found in your <a class="envvar" id='l2h-8' xml:id='l2h-8'>PATH</a>.
93
92
 
94
93
<P>
95
 
<a name="l2h-9">&nbsp;</a>
 
94
<a id='l2h-9' xml:id='l2h-9'></a>
96
95
  If the first Python binary in the path is not suitable or not the one
97
96
  desired for mod_python, you can specify an alternative location with the
98
97
  <b class="programopt">--with-python</b> option, e.g:
104
103
  
105
104
<P>
106
105
</LI>
107
 
<LI><a name="l2h-10">&nbsp;</a>
 
106
<LI><a id='l2h-10' xml:id='l2h-10'></a>
108
107
  Sets the directory for the apache mutex locks. The default is
109
108
  <span class="file">/tmp</span>. The directory must exist and be writable by the
110
109
  owner of the apache process.
129
128
 >Configuring Apache</a></em>.
130
129
 
131
130
<P>
132
 
<i>Back ported from version 3.3.0</i>
 
131
New in version 3.3.0
133
132
 
134
133
<P>
135
134
</LI>
136
 
<LI><a name="l2h-11">&nbsp;</a>
 
135
<LI><a id='l2h-11' xml:id='l2h-11'></a>
137
136
  Sets the maximum number of locks reserved by mod_python.
138
137
 
139
138
<P>
164
163
 
165
164
<P>
166
165
</LI>
167
 
<LI><a name="l2h-12">&nbsp;</a>
 
166
<LI><a id='l2h-12' xml:id='l2h-12'></a>
168
167
  Attempts to locate <b class="program">flex</b> and determine its version. 
169
 
  If <b class="program">flex</b> cannot be found in your <a class="envvar" name="l2h-13">PATH</a> <b class="program">configure</b>
 
168
  If <b class="program">flex</b> cannot be found in your <a class="envvar" id='l2h-13' xml:id='l2h-13'>PATH</a> <b class="program">configure</b>
170
169
  will fail.  If the wrong version is found <b class="program">configure</b> will generate a warning.
171
170
  You can generally ignore this warning unless you need to re-create
172
171
  <span class="file">src/psp_parser.c</span>.
180
179
  must get the correct <b class="program">flex</b> version.
181
180
 
182
181
<P>
183
 
<a name="l2h-14">&nbsp;</a>
 
182
<a id='l2h-14' xml:id='l2h-14'></a>
184
183
  If the first flex binary in the path is not suitable or not the one desired
185
184
  you can specify an alternative location with the <b class="programopt">--with-flex</b>
186
185
  option, e.g:
195
194
 
196
195
<P>
197
196
</LI>
198
 
<LI><a name="l2h-15">&nbsp;</a>
 
197
<LI><a id='l2h-15' xml:id='l2h-15'></a>
199
198
  The python source is required to build the mod_python documentation.
200
199
 
201
200
<P>
202
 
<a name="l2h-16">&nbsp;</a>
 
201
<a id='l2h-16' xml:id='l2h-16'></a>
203
202
  You can safely ignore this option unless you want to build the the
204
203
  documentation. If you want to build the documentation, specify the path
205
204
  to your python source with the <b class="programopt">--with-python-src</b> option, eg.
219
218
<P>
220
219
 
221
220
<DIV CLASS="navigation">
222
 
<p><hr>
 
221
<div class='online-navigation'>
 
222
<p></p><hr />
223
223
<table align="center" width="100%" cellpadding="0" cellspacing="2">
224
224
<tr>
225
 
<td><a rel="prev" title="2.2 Compiling" 
226
 
  rel="prev" title="2.2 Compiling" 
227
 
  href="inst-compiling.html"><img src='previous.gif'
228
 
  border='0' height='32'  alt='Previous Page' width='32'></A></td>
229
 
<td><a rel="parent" title="2.2 Compiling" 
230
 
  rel="parent" title="2.2 Compiling" 
231
 
  href="inst-compiling.html"><img src='up.gif'
232
 
  border='0' height='32'  alt='Up One Level' width='32'></A></td>
233
 
<td><a rel="next" title="2.2.2 Running make" 
234
 
  rel="next" title="2.2.2 Running make" 
235
 
  href="inst-make.html"><img src='next.gif'
236
 
  border='0' height='32'  alt='Next Page' width='32'></A></td>
 
225
<td class='online-navigation'><a rel="prev" title="2.2 Compiling"
 
226
  href="inst-compiling.html"><img src='previous.png'
 
227
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
 
228
<td class='online-navigation'><a rel="parent" title="2.2 Compiling"
 
229
  href="inst-compiling.html"><img src='up.png'
 
230
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
 
231
<td class='online-navigation'><a rel="next" title="2.2.2 Running make"
 
232
  href="inst-make.html"><img src='next.png'
 
233
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
237
234
<td align="center" width="100%">Mod_python Manual</td>
238
 
<td><a rel="contents" title="Table of Contents" 
239
 
  rel="contents" title="Table of Contents" 
240
 
  href="contents.html"><img src='contents.gif'
241
 
  border='0' height='32'  alt='Contents' width='32'></A></td>
242
 
<td><img src='blank.gif'
243
 
  border='0' height='32'  alt='' width='32'></td>
244
 
<td><a rel="index" title="Index" 
245
 
  rel="index" title="Index" 
246
 
  href="genindex.html"><img src='index.gif'
247
 
  border='0' height='32'  alt='Index' width='32'></A></td>
 
235
<td class='online-navigation'><a rel="contents" title="Table of Contents"
 
236
  href="contents.html"><img src='contents.png'
 
237
  border='0' height='32'  alt='Contents' width='32' /></A></td>
 
238
<td class='online-navigation'><img src='blank.png'
 
239
  border='0' height='32'  alt='' width='32' /></td>
 
240
<td class='online-navigation'><a rel="index" title="Index"
 
241
  href="genindex.html"><img src='index.png'
 
242
  border='0' height='32'  alt='Index' width='32' /></A></td>
248
243
</tr></table>
 
244
<div class='online-navigation'>
249
245
<b class="navlabel">Previous:</b>
250
246
<a class="sectref" rel="prev" href="inst-compiling.html">2.2 Compiling</A>
251
247
<b class="navlabel">Up:</b>
252
248
<a class="sectref" rel="parent" href="inst-compiling.html">2.2 Compiling</A>
253
249
<b class="navlabel">Next:</b>
254
250
<a class="sectref" rel="next" href="inst-make.html">2.2.2 Running make</A>
255
 
<hr>
256
 
<span class="release-info">Release 3.2.10, documentation updated on July 19, 2006.</span>
 
251
</div>
 
252
</div>
 
253
<hr />
 
254
<span class="release-info">Release 3.3.1, documentation updated on January 29, 2007.</span>
257
255
</DIV>
258
256
<!--End of Navigation Panel-->
259
257