On Monday, 9 April 2012 19:17:17 UTC+8, Senthil Kumaran  wrote:
> That's a useful clue. I have the source of Python and I see that those 
> modules defined Module/config.c in the Python source. Instead of pointing to 
> source, I pointed to default install of Python from Ubuntu. Perhaps some 
> problem lies there, let me try in to source or a local prefixed install of 
> Python from source and then try to compile vim against it.

That was it. I compiled Python from Source location and did an alternate 
installl and then pointed to it. The vim compile was successful. The problem 
then seems to be python installed via Ubuntu.

However, I am facing another problem, the compilation seems to make the path my 
system python instead of local installed python. I get this error when I try to 
start vim

  File "/usr/lib/python2.7/site.py", line 562, in <module>
    main()
  File "/usr/lib/python2.7/site.py", line 544, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/lib/python2.7/site.py", line 271, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/lib/python2.7/site.py", line 246, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/lib/python2.7/site.py", line 236, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/lib/python2.7/sysconfig.py", line 543, in get_config_var
    return get_config_vars().get(name)
  File "/usr/lib/python2.7/sysconfig.py", line 442, in get_config_vars
    _init_posix(_CONFIG_VARS)
  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'

-- 
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