On Thu, Dec 20, 2012 at 03:02:59PM -0500, joe M wrote:
> On Thu, Dec 20, 2012 at 1:49 PM, joe M <[email protected]> wrote:
> > Hello,
> >
> > The latest mercurial version of vim fails with the below error. python
> > --version == 2.7.3
> >
> > gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -pipe -ftracer
> > -fgcse-after-reload -march=corei7-avx -mcx16 -msahf -mno-movbe
> > -mno-aes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4
> > -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -msse4.2
> > -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param
> > l1-cache-size=32 --param l1-cache-line-size=64 --param
> > l2-cache-size=3072 -mtune=corei7-avx -U_FORTIFY_SOURCE
> > -D_FORTIFY_SOURCE=1     -I/usr/include  -D_LARGEFILE64_SOURCE=1   -o
> > objects/if_tcl.o if_tcl.c
> > if_python3.c:84:0: warning: "PyString_Check" redefined [enabled by default]
> > In file included from /usr/include/python2.7/Python.h:94:0,
> >                  from if_python3.c:59:
> > /usr/include/python2.7/stringobject.h:58:0: note: this is the location
> > of the previous definition
> 
> As an fyi, The above error is happening when I have the compilation
> option "--enable-python3interp=dynamic  "

Why are you trying to build the Python3 bindings using Python2?

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <[email protected]>

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui