[mod_python] Compiling on a Debian Potato with Apache binary (and apache-dev)

Erno Kuusela erno at iki.fi
Sun Jul 9 03:49:08 EST 2000

| I am running Debian GNU/Linux 2.2 (potato) [...]

| To compile this, I just did it via the method mentioned in the
| documentation (as a Apache DSO):
| 	apxs -I /usr/include/python1.5 -c mod_python.c \
| 	/usr/lib/python1.5/config/libpython1.5.a -lpthread

the debian-packaged python also comes with a shared library,
so linking with -lpython1.5 instead will save you some
disk space and pehaps ram.

  -- erno

More information about the Mod_python mailing list