pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Problems with mod_python compile on NetBSD 3.0.1
Hi,
I've successfully compiled Python 2.4 and I have Apache 2.2.8 successfully
running and even have mod_php working.
I'm trying to add mod_python to this mix. I'm using the latest pkgsrc.tar.gz
I go to "pkgsrc/www/ap2-python/" and do "make update" and this comes out:
<lots of stuff deleted>
Compiling /usr/pkg/lib/python2.4/xml/dom/xmlbuilder.py ...
Listing /usr/pkg/lib/python2.4/xml/parsers ...
Compiling /usr/pkg/lib/python2.4/xml/parsers/__init__.py ...
Compiling /usr/pkg/lib/python2.4/xml/parsers/expat.py ...
Listing /usr/pkg/lib/python2.4/xml/sax ...
Compiling /usr/pkg/lib/python2.4/xml/sax/__init__.py ...
Compiling /usr/pkg/lib/python2.4/xml/sax/_exceptions.py ...
Compiling /usr/pkg/lib/python2.4/xml/sax/expatreader.py ...
Compiling /usr/pkg/lib/python2.4/xml/sax/handler.py ...
Compiling /usr/pkg/lib/python2.4/xml/sax/saxutils.py ...
Compiling /usr/pkg/lib/python2.4/xml/sax/xmlreader.py ...
Compiling /usr/pkg/lib/python2.4/xmllib.py ...
Compiling /usr/pkg/lib/python2.4/xmlrpclib.py ...
Compiling /usr/pkg/lib/python2.4/zipfile.py ...
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/python24/work/Python-2.4.5
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/python24
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/python24
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/python24
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/python24
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/www/ap2-python
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/www/ap2-python
# python2.4
Python 2.4.5 (#1, Jun 2 2008, 04:06:42)
[GCC 3.3.3 (NetBSD nb3 20040520)] on netbsd3
Type "help", "copyright", "credits" or "license" for more information.
^D
I don't know how to go about debugging this - any suggestions?
Thanks!
-Mike
p.s. I also have Python 2.3 and Python 2.5 installed on this machine; in fact, my
"default" Python is 2.5 and that's what I use to run Spambayes - which works
fine. It seems that mod_python requires python 2.4 however.
$ pkg_info|grep py
python23-pth-2.3.4nb3 Interpreted, interactive, object-oriented programming
language
py23pth-curses-0nb3 Curses module for Python
py23pth-cursespanel-0nb2 Curses panel module for Python
python23-2.3.5nb10 Interpreted, interactive, object-oriented programming
language
python-mode-4.54nb1 Emacs mode for editing python files
python25-2.5.2nb1 Interpreted, interactive, object-oriented programming
language
Oddly, python24-2.4.5 does not appear on this list, yet:
$ ls /usr/pkg/bin/py*
/usr/pkg/bin/pydoc2.3* /usr/pkg/bin/python*
/usr/pkg/bin/python2.5*
/usr/pkg/bin/pydoc2.5* /usr/pkg/bin/python2.3*
/usr/pkg/bin/python2.5-config*
/usr/pkg/bin/pydoc2p3* /usr/pkg/bin/python2.4*
/usr/pkg/bin/python2p3*
/usr/pkg/bin/pydoc2p4* /usr/pkg/bin/python2.4.3*
/usr/pkg/bin/python2p4*
NetBSD 3.0.1 (S) #0: Sun Jul 30 02:26:46 PDT 2006
mac%S.Culver.Net@localhost:/usr/obj/sys/arch/i386/compile/S
total memory = 1023 MB
Home |
Main Index |
Thread Index |
Old Index