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

« back to all changes in this revision

Viewing changes to README

  • Committer: Bazaar Package Importer
  • Author(s): Piotr Ozarowski
  • Date: 2007-02-21 18:24:29 UTC
  • mfrom: (1.1.8 feisty)
  • Revision ID: james.westby@ubuntu.com-20070221182429-9okop7e0qpi24l85
Tags: 3.2.10-4
* Added XS-Vcs-Svn field
* Removed "db_purge" part from libapache2-mod-python.postrm
  (dh_installdebconf is generating a rule that will not fail if debconf is
  already removed)
* Added initial Spanish debconf translation from Manuel Porras Peralta.
  (closes: #411235)
* Added initial Portuguese debconf translation from Pedro Ribeiro.
  (closes: #411742)
* Added initial Galician debconf translation from Jacobo Tarrio.
  (closes: #411831)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
 
5
5
1. Getting Started
6
 
2. New in 3.0
7
 
3. Migrating from Mod_Python 2.7.8
8
 
4. OS Hints
9
 
 
 
6
2. Flex
 
7
3. New in 3.2
 
8
4. New in 3.0
 
9
5. Migrating from Mod_Python 2.7.8
 
10
6. OS Hints
10
11
 
11
12
 
12
13
1. Getting Started
27
28
 
28
29
        If the above worked - read the tutorial in the doc directory.
29
30
 
30
 
 
31
 
2. New in 3.0
 
31
2. ./configure will generate a WARNING if it cannot find flex, or it 
 
32
is the wrong version. Generally you can ignore this warning and still
 
33
successfully compile mod_python.
 
34
 
 
35
The parser used by psp is written in C generated using flex. This
 
36
requires a reentrant version of flex, which at this time is 2.5.31.
 
37
Most platforms however ship with version 2.5.4 which is not suitable,
 
38
so a pre-generated copy of src/psp_parser.c is included with the source.
 
39
If you make changes to src/psp_parser.l and need to recompile the 
 
40
src/psp_parser.c file, you must get the correct flex version.
 
41
 
 
42
You can specify the path the flex binary by using 
 
43
./configure --with-flex=/path/to/flex/binary.
 
44
 
 
45
3. New in 3.2
 
46
   Please refer to doc-html/ for more information.
 
47
 
 
48
4. New in 3.0
32
49
 
33
50
o  Compatibility with Apache Httpd 2.0 and Python 2.2. (Apache Httpd
34
51
   1.3 and versions of Python prior to 2.2 will not work.)
42
59
o  A basic test suite.
43
60
o  Many other miscellaneous and internal changes.
44
61
 
45
 
3. Migrating from Mod_Python 2.7.8.
 
62
5. Migrating from Mod_Python 2.7.8.
46
63
 
47
64
First, this version of Mod_Python requires Apache Httpd 2, and Python
48
65
2.2. (Python 2.2.2 and Apache Httpd 2.0.43 are latest at the time of
75
92
   It appears that req.server.port is 0 always, but if you need the local
76
93
   port number, you can look at req.connection.local_addr.
77
94
 
78
 
4. OS Hints
 
95
6. OS Hints
79
96
 
80
97
FreeBSD:        
81
98
 
151
168
I don't know what the *right* solution for this is, but here is a
152
169
trick that works: define DYLD_FORCE_FLAT_NAMESPACE environment
153
170
variable prior to launching httpd.
 
171
 
 
172
Linux/Debian:
 
173
 
 
174
For apache2 installations, use apxs2 rather than apxs:
 
175
  ./configure --with-apxs=/usr/bin/apxs2
 
176
  make
 
177
  (su)
 
178
  make install