1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
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>
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">
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>
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>
52
51
<!--End of Navigation Panel-->
54
<H2><A NAME="SECTION004210000000000000000"> </A>
55
<a name="l2h-4"> </a>
53
<H2><A NAME="SECTION004210000000000000000"></A><A NAME="inst-configure"></A>
54
<a id='l2h-4' xml:id='l2h-4'></a>
57
56
2.2.1 Running ./configure
88
<LI><a name="l2h-7"> </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>.
95
<a name="l2h-9"> </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:
221
220
<DIV CLASS="navigation">
221
<div class='online-navigation'>
223
223
<table align="center" width="100%" cellpadding="0" cellspacing="2">
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>
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>
256
<span class="release-info">Release 3.2.10, documentation updated on July 19, 2006.</span>
254
<span class="release-info">Release 3.3.1, documentation updated on January 29, 2007.</span>
258
256
<!--End of Navigation Panel-->