From: Grzegorz A. H. <gr...@te...> - 2001-12-19 21:20:45
|
On Fri, Dec 14, 2001 at 11:18:07PM +0100, Grzegorz Adam Hankiewicz wrote: > I get some weird messages from setup.py: > > [gregorio:69] [~/cvs/libs/pyallegro]$ ./setup.py install > running install > running build > running build_py > warning: build_py: file a.py (for module a) not found > warning: build_py: file l.py (for module l) not found > warning: build_py: file p.py (for module p) not found > warning: build_py: file y.py (for module y) not found > warning: build_py: file a.py (for module a) not found > warning: build_py: file l.py (for module l) not found > warning: build_py: file p.py (for module p) not found > warning: build_py: file y.py (for module y) not found > running build_ext > skipping '_alpy' extension (up-to-date) > running install_lib > not copying build/lib.linux-i686-1.5/_alpy.so (output up-to-date) Ok, so I get those warnings both with python 1.5 and 2.1, which means that alpy won't be installed. However I can force to use it running python from that directory. It doesn't work with 1.5 (hopefully this had been documented before I tried it), and 2.1 just gives a weird message and exists when I try to use allegro_init. [gregorio:6] [~/cvs/libs/pyallegro]$ python Python 1.5.2 (#0, Dec 27 2000, 13:59:38) [GCC 2.95.2 20000220 (Debian GNU/Linux)] on linux2 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> import alpy Traceback (innermost last): File "<stdin>", line 1, in ? File "alpy.py", line 23, in ? import _alpy, sys ImportError: /usr/lib/python1.5/site-packages/_alpy.so: undefined symbol: PyObject_DEL [gregorio:7] [~/cvs/libs/pyallegro]$ python2.1 Python 2.1.1 (#1, Aug 25 2001, 15:17:34) [GCC 2.95.2 20000220 (Debian GNU/Linux)] on linux2 Type "copyright", "credits" or "license" for more information. >>> import alpy >>> alpy.allegro_init() >>> Temporizador and here the interactive sesion ends. -- Grzegorz Adam Hankiewicz gr...@te... http://gradha.infierno.org/ |