On Tuesday, 10 April 2012 22:04:14 UTC+8, Senthil Kumaran  wrote:

>   File "/usr/lib/python2.7/sysconfig.py", line 303, in _init_posix
>     makefile = _get_makefile_filename()
>   File "/usr/lib/python2.7/sysconfig.py", line 297, in _get_makefile_filename
>     return 
> os.path.join(get_path('platstdlib').replace("/usr/local","/usr",1), "config" 
> + (sys.pydebug and "_d" or ""), "Makefile")
> AttributeError: 'module' object has no attribute 'pydebug'

Hello,

How can I make vim compilation to take a custom PYTHON_CFLAGS value.
I tried, 

PYTHON_CLAGS=-I/home/senthil/localpython/include/python2.7

in the shell before compilation and then tried to change that value in 
Makefile. but it python linker still points to system python ( Ubuntu one does 
not seem to help vim python configure).

After setting the PYTHON_CFLAGS, I would like to run:

./configure  --enable-pythoninterp --with-features=huge 
--with-python-config-dir=/home/senthil/localpython/lib/python2.7/config


Thanks,
Senthil

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui