Psyco & Linux

Fausto Arinos Barbuto fbarbuto2002.no at spam.yahoo.ca
Fri Aug 12 06:32:33 CEST 2005


Hi Steve;

Steve M wrote:

>>     First, I tried the usual "python setup.py install" but that did not work.
 
> How exactly did it fail? Perhaps you can paste the error output from
> this command.

    Sure, he is the output:

linux:/home/fausto/Documents/psyco-1.4 # python setup.py install
PROCESSOR = 'ivm'
Copying c/ivm/prolog/insns-igen-h.i.default -> c/ivm/prolog/insns-igen-h.i
Copying c/ivm/prolog/insns-threaded.i.default -> c/ivm/prolog/insns-threaded.i
Copying c/ivm/prolog/insns-switch.i.default -> c/ivm/prolog/insns-switch.i
Copying c/ivm/prolog/insns-igen.i.default -> c/ivm/prolog/insns-igen.i
Copying c/ivm/prolog/mode_combine.pl.default -> c/ivm/prolog/mode_combine.pl
Copying c/ivm/prolog/insns-table.py.default -> c/ivm/prolog/insns-table.py
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.4
creating build/lib.linux-x86_64-2.4/psyco
copying psyco/core.py -> build/lib.linux-x86_64-2.4/psyco
copying psyco/kdictproxy.py -> build/lib.linux-x86_64-2.4/psyco
copying psyco/logger.py -> build/lib.linux-x86_64-2.4/psyco
copying psyco/profiler.py -> build/lib.linux-x86_64-2.4/psyco
copying psyco/support.py -> build/lib.linux-x86_64-2.4/psyco
copying psyco/__init__.py -> build/lib.linux-x86_64-2.4/psyco
copying psyco/classes.py -> build/lib.linux-x86_64-2.4/psyco
running build_ext
building 'psyco._psyco' extension
creating build/temp.linux-x86_64-2.4
creating build/temp.linux-x86_64-2.4/c
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall -g -fPIC -DALL_STATIC=1
-Ic/ivm -I/usr/include/python2.4 -c c/psyco.c -o build/temp.linux-x86_64-2.4/c/psyco.o
In file included from c/dispatcher.h:12,
                 from c/codemanager.h:10,
                 from c/psyco.c:3:
c/codegen.h:19:3: #error "sorry -- I guess it won't work like that on 64-bits machines"
In file included from c/initialize.h:46,
                 from c/psyco.c:13:
c/dispatcher.c: In function `fz_compress':
c/dispatcher.c:232: warning: cast from pointer to integer of different size
c/dispatcher.c:238: warning: cast to pointer from integer of different size
In file included from c/initialize.h:53,
                 from c/psyco.c:13:
c/codemanager.c: In function `psyco_shrink_code_buffer':
c/codemanager.c:252: warning: int format, different type arg (arg 3)
In file included from c/initialize.h:61,
                 from c/psyco.c:13:
c/Objects/pabstract.c:716:3: #error "omitted code from Python 2.3 here"
In file included from c/initialize.h:75,
                 from c/psyco.c:13:
c/Objects/pstructmember.c: In function `PsycoMember_GetOne':
c/Objects/pstructmember.c:16: warning: unused variable `w2'
c/Objects/compactobject.c: At top level:
c/codegen.c:711: warning: `integer_lshift' defined but not used
c/ivm/prolog/insns-igen.i:175: warning: `psyco_insn_assertdepth' defined but not used
c/ivm/prolog/insns-igen.i:197: warning: `psyco_insn_dynamicfreq' defined but not used
c/Objects/plongobject.c:21: warning: `PsycoLong_AsDouble' defined but not used
c/Objects/plistobject.c:116: warning: `PsycoList_SingletonNew' defined but not used
error: command 'gcc' failed with exit status 1

    Any ideas?  ;-)   Clueless in Edmonton...

---Fausto






More information about the Python-list mailing list