Ставлю из портов(обновлены) apache22 на:
- uname -a
FreeBSD some-site.org.ua 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
- ...
buildconf: checking installation...
buildconf: python not found.
You need python installed
to build APR from SVN.
*** Error code 1
Stop in /usr/ports/devel/apr1.
*** Error code 1
Stop in /usr/ports/devel/apr1.
*** Error code 1
Stop in /usr/ports/www/apache22.
*** Error code 1
Stop in /usr/ports/www/apache22.
python32-3.2.2_1 = up-to-date with port
Опять запускаю апач
- ...
Generating 'make' outputs ...
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site
*** Error code 1
Stop in /usr/ports/devel/apr1.
*** Error code 1
Stop in /usr/ports/devel/apr1.
*** Error code 1
Stop in /usr/ports/www/apache22.
*** Error code 1
Stop in /usr/ports/www/apache22.
setenv PYTHONHOME /usr/local/lib/python3.2
setenv PYTHONPATH /usr/local/lib/python3.2
Вылазит:
- ...
Generating 'make' outputs ...
File "/usr/local/lib/python3.2/site.py", line 159
file=sys.stderr)
^
SyntaxError: invalid syntax
*** Error code 1
Stop in /usr/ports/devel/apr1.
*** Error code 1
Stop in /usr/ports/devel/apr1.
*** Error code 1
Stop in /usr/ports/www/apache22.
*** Error code 1
Stop in /usr/ports/www/apache22.
С другими версиями питона тоже самое.
Подскажите плыз где косяк??