=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum SHA1 OK for mod_python-3.3.1.tgz
=> Checksum RMD160 OK for mod_python-3.3.1.tgz
===> Installing dependencies for ap22-py31-python-3.3.1
==========================================================================
The following variables will affect the build process of this package,
ap22-py31-python-3.3.1.  Their current value is shown below:

        * PKG_APACHE_DEFAULT = apache22
        * PYTHON_VERSION_DEFAULT = 26

Based on these variables, the following variables have been set:

        * APACHE_PKG_PREFIX = ap22
        * PKG_APACHE = apache22
        * PYPACKAGE = python31

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb5
=> Build dependency perl>=5.0: found perl-5.14.2nb1
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency python31>=3.1: found python31-3.1.4nb1
=> Full dependency apache>=2.2.14nb1: found apache-2.2.21nb1
===> Overriding tools for ap22-py31-python-3.3.1
===> Extracting for ap22-py31-python-3.3.1
===> Patching for ap22-py31-python-3.3.1
=> Applying pkgsrc patches for ap22-py31-python-3.3.1
===> Creating toolchain wrappers for ap22-py31-python-3.3.1
/bin/mkdir -p /tmp/pkgsrc/www/ap2-python/work/.buildlink/bin && /bin/ln -fs apr-1-config /tmp/pkgsrc/www/ap2-python/work/.buildlink/bin/apr-config
/bin/mkdir -p /tmp/pkgsrc/www/ap2-python/work/.buildlink/bin && /bin/ln -fs apu-1-config /tmp/pkgsrc/www/ap2-python/work/.buildlink/bin/apu-config
===> Configuring for ap22-py31-python-3.3.1
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
checking for x86_64-unknown-linux-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 -o pbulk -g pbulk
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/pkg/sbin/apxs executable, good
checking Apache version... 2.2.21
checking for Apache libexec directory... /usr/pkg/lib/httpd
checking for Apache include directory... -I/usr/pkg/include/httpd
checking for --with-python... /usr/pkg/bin/python3.1
checking Python version...   File "<string>", line 1
    import sys; print sys.version[:3]
                        ^
SyntaxError: invalid syntax
  File "<string>", line 1
    import sys; print sys.version[:1]
                        ^
SyntaxError: invalid syntax

configure: error: This version of mod_python only works with Python major version 2. The one you have seems to be .
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/www/ap2-python
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/www/ap2-python