Package: libapache2-mod-python
Severity: serious
Justification: no longer builds from source

After dropping all the references to python2.2, I did not manage to get
libapache2-mod-python build. configure fails as following:

rm -f config.cache config.status
export PYTHON_BIN=/usr/bin/python2.3
env PYTHON_BIN=/usr/bin/python2.3 \
        ./configure --with-apxs=/usr/bin/apxs2 --prefix=/usr \
                --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info \
                --with-python-version=2.3
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for main in -lm... yes
checking for an ANSI C-conforming const... yes
checking your blood pressure... a bit high, but we can proceed
configure: checking whether apxs is available...
checking for --with-apxs... /usr/bin/apxs2 executable, good
checking for Apache libexec directory... /usr/lib/apache2/modules
checking for Apache include directory... -I/usr/include/apache2
checking for --with-python... no
checking Python version... 2.3
checking Python install prefix... /usr
checking for Py_NewInterpreter in -lpython2.3... yes
checking what libraries Python was linked with... -lpython2.3   -lpthread -ldl  
-lutil   -lm
checking linker flags used to link Python...
checking where Python include files are... -I/usr/include/python2.3
./configure: line 3214: syntax error near unexpected token `('
./configure: line 3214: `  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`'
make: [install] Error 2 (ignored)
/usr/bin/make clean && DEB_DEFINES="-DLONG_LONG=PY_LONG_LONG" /usr/bin/make
make[1]: Entering directory `/tmp/buildd/libapache2-mod-python-3.1.3'
make[1]: *** No rule to make target `clean'.  Stop.
make[1]: Leaving directory `/tmp/buildd/libapache2-mod-python-3.1.3'
make: *** [install] Error 2

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.1
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to