On Sun, Jul 10, 2011 at 04:23:17PM +0400, ZyX wrote:
> Reply to message «Re: Vim taken from 
> http://tuxproject.de.nyud.net/projects/vim/ 
> crashes under wine», 
> sent 15:31:06 10 July 2011, Sunday
> by ZyX:
> 
> Building using
>     make -f Make_ming.mak -j5 'CROSS=yes' 'ARCH=i686' 'FEATURES=huge' \
>                               'CROSS_COMPILE=i686-mingw32-' \
>                               'PYTHON=/home/zyx/.wine/dosdevices/c:/Python27' 
> \
>                               'PYTHON_VER=27' 'DYNAMIC_PYTHON=yes' 'GUI=yes' \
>                               'NETBEANS=no' gvim.exe
> fails because it cannot find Python.h. It appears that Make_ming.mak is not 
> going to add -I/path/to/python to compiler flags. Why?

According to the makefile, it's being set:

200 # my include files are in 'win32inc' on Linux, and 'include' in the standard
201 # NT distro (ActiveState)
202 ifeq ($(CROSS),no)
203 PYTHONINC=-I $(PYTHON)/include
204 else
205 PYTHONINC=-I $(PYTHON)/win32inc
206 endif
...
662 $(OUTDIR)/if_python.o : if_python.c $(INCL)
663         $(CC) -c $(CFLAGS) $(PYTHONINC) 
-DDYNAMIC_PYTHON_DLL=\"python$(PYTHON_VER).dll\" $< -o $@


My guess is that $(PYTHON)/win32inc isn't the correct path for your setup.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <james...@jamessan.com>

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui