|
From: Dalibor T. <dt...@fo...> - 2002-07-09 13:37:33
|
Hi,
maybe I am missing something (I am not a python expert) but I have
troubles installing the PyDNS (2.3.0) on RH 7.2 with Python 1.5.2.
Your setup.py imports the DNS library so the command 'python setup.py
install' fails because there is no such module installed yet. After I
removed the import and replaced the version with '2.3.0' string the
installation process starts but it is not able to compile some modules
(see the script output below).
Does the PyDNS require newer version of python?
Regards
Dalibor Toman
[root@sns pydns-2.3.0]# python setup.py install | more
File "/usr/lib/python1.5/site-packages/DNS/Base.py", line 223
DnsRequest.__init__(self, *name, **args)
^
SyntaxError: invalid syntax
File "/usr/lib/python1.5/site-packages/DNS/Lib.py", line 39
from struct import pack as struct_pack
^
SyntaxError: invalid syntax
File "/usr/lib/python1.5/site-packages/DNS/Base.py", line 223
DnsRequest.__init__(self, *name, **args)
^
SyntaxError: invalid syntax
File "/usr/lib/python1.5/site-packages/DNS/Lib.py", line 39
from struct import pack as struct_pack
^
SyntaxError: invalid syntax
byte-compiling /usr/lib/python1.5/site-packages/DNS/Base.py to
Base.pyo
skipping byte-compilation of
/usr/lib/python1.5/site-packages/DNS/Class.py to Class.pyo
byte-compiling /usr/lib/python1.5/site-packages/DNS/Lib.py to Lib.pyo
skipping byte-compilation of
/usr/lib/python1.5/site-packages/DNS/Opcode.py to Opcode.pyo
skipping byte-compilation of
/usr/lib/python1.5/site-packages/DNS/Status.py to Status.pyo
skipping byte-compilation of
/usr/lib/python1.5/site-packages/DNS/Type.py to Type.pyo
skipping byte-compilation of
/usr/lib/python1.5/site-packages/DNS/__init__.py to __init__.pyo
skipping byte-compilation of
/usr/lib/python1.5/site-packages/DNS/lazy.py to lazy.pyo
skipping byte-compilation of
/usr/lib/python1.5/site-packages/DNS/win32dns.py to win32dns.pyo
running install
running build
running build_py
not copying DNS/Base.py (output up-to-date)
not copying DNS/Class.py (output up-to-date)
not copying DNS/Lib.py (output up-to-date)
not copying DNS/Opcode.py (output up-to-date)
not copying DNS/Status.py (output up-to-date)
not copying DNS/Type.py (output up-to-date)
not copying DNS/__init__.py (output up-to-date)
not copying DNS/lazy.py (output up-to-date)
not copying DNS/win32dns.py (output up-to-date)
running install_lib
not copying build/lib/DNS/Base.py (output up-to-date)
not copying build/lib/DNS/Class.py (output up-to-date)
not copying build/lib/DNS/Lib.py (output up-to-date)
not copying build/lib/DNS/Opcode.py (output up-to-date)
not copying build/lib/DNS/Status.py (output up-to-date)
not copying build/lib/DNS/Type.py (output up-to-date)
not copying build/lib/DNS/__init__.py (output up-to-date)
not copying build/lib/DNS/lazy.py (output up-to-date)
not copying build/lib/DNS/win32dns.py (output up-to-date)
byte-compiling /usr/lib/python1.5/site-packages/DNS/Base.py to
Base.pyc
skipping byte-compilation of
/usr/lib/python1.5/site-packages/DNS/Class.py to Class.pyc
byte-compiling /usr/lib/python1.5/site-packages/DNS/Lib.py to Lib.pyc
skipping byte-compilation of
/usr/lib/python1.5/site-packages/DNS/Opcode.py to Opcode.pyc
skipping byte-compilation of
/usr/lib/python1.5/site-packages/DNS/Status.py to Status.pyc
skipping byte-compilation of
/usr/lib/python1.5/site-packages/DNS/Type.py to Type.pyc
skipping byte-compilation of
/usr/lib/python1.5/site-packages/DNS/__init__.py to __init__.pyc
skipping byte-compilation of
/usr/lib/python1.5/site-packages/DNS/lazy.py to lazy.pyc
skipping byte-compilation of
/usr/lib/python1.5/site-packages/DNS/win32dns.py to win32dns.pyc
writing byte-compilation script '/usr/tmp/@7783.1.py'
/usr/bin/python -O /usr/tmp/@7783.1.py
removing /usr/tmp/@7783.1.py
|