Il giorno 25/feb/2011, alle ore 18.18, luigi scarso ha scritto: > On Fri, Feb 25, 2011 at 6:15 PM, Roberto De Ioris <[email protected]> wrote: >>>> edit plugins/erlang/uwsgiplugin.py >>> hm, better >>> export CFLAGS=-I/opt/otp/lib/erlang/lib/erl_interface-3.6.3/include > (no, it's better to edit plugins/erlang/uwsgiplugin.py) > >>> But now I have >>> cc1: warnings being treated as errors >>> plugins/pyerl/pyerl.c: In function ‘erl_to_py’: >>> plugins/pyerl/pyerl.c:79: warning: implicit declaration of function >>> ‘PyUnicode_FromString’ >>> plugins/pyerl/pyerl.c:79: warning: assignment makes pointer from >>> integer without a cast >>> >> >> Which python version are you using ? > # python --version > Python 2.5.2
Damn, it has not PyUnicode_FromString. I have reimplemented it converting the atom to a python string coerced to a unicode. I have not tested it, but it should work. -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
