On Fri, Mar 07, 2014 at 02:58:23AM -0800, nkmathew wrote:
> I've been trying to build Vim74 from sources obtained from here,
> http://www.vim.org/sources.php, without much luck.

That page lists multiple options for obtaining sources.  Which one did
you choose?

> It builds ok without any languages enabled but chokes every time I
> enable Python or Lua. My goal is to build it with Lua support since
> python support comes with the installer.
> 
> These are the error messages I get:
> 
> ~~~~~~~~~~~~~~~~[ Python ]~~~~~~~~~~~~~~~
>     gobji386/if_python.o:if_python.c:(.text+0x979): undefined reference to 
> `get_option_value_strict'
>     gobji386/if_python.o:if_python.c:(.text+0x11ce): undefined reference to 
> `dict_lookup'
>     gobji386/if_python.o:if_python.c:(.text+0x1f42): undefined reference to 
> `get_win_number'
>     gobji386/if_python.o:if_python.c:(.text+0x1fa8): undefined reference to 
> `get_tab_number'
>     gobji386/if_python.o:if_python.c:(.text+0x5a74): undefined reference to 
> `win_find_tabpage'
>     gobji386/if_python.o:if_python.c:(.text+0x5be5): undefined reference to 
> `get_option_value_strict'
>     gobji386/if_python.o:if_python.c:(.text+0x6f6c): undefined reference to 
> `get_win_number'
>     gobji386/if_python.o:if_python.c:(.text+0x80d3): undefined reference to 
> `get_tab_number'
>     gobji386/if_python.o:if_python.c:(.text+0x8383): undefined reference to 
> `dict_lookup'
>     gobji386/if_python.o:if_python.c:(.text+0x84cc): undefined reference to 
> `dict_lookup'
>     gobji386/if_python.o:if_python.c:(.text+0x866d): undefined reference to 
> `dict_lookup'
>     gobji386/if_python.o:if_python.c:(.text+0x89c3): undefined reference to 
> `dict_lookup'
>     gobji386/if_python.o:if_python.c:(.text+0x8b6b): undefined reference to 
> `dict_lookup'
>     gobji386/if_python.o:if_python.c:(.text+0x9b1d): undefined reference to 
> `get_win_number'
> ~~~~~~~~~~~~~~~~[ Lua ]~~~~~~~~~~~~~~~
>     gobji386/if_lua.o:if_lua.c:(.text+0xfba): undefined reference to 
> `dict_lookup'
> 
> The paths to the libraries in the makefile(.\src\Make_ming.mak) look like 
> this:
>     PYTHON=C:/python27
>     LUA="C:/Program Files/LuaJIT-2.0.2"
> 
> Which libraries am I missing?

These are references to vim's internal functions.  If the build fails,
the error most likely lies in vim's Makefile.

Please test the latest vim version from Mercurial (because manually
downloading and applying 193 patches by hand would be very tedious).

There was a similar build problem for Perl fixed in patch 7.4.117.  It's
possible the same patch could've fixed build problems for other
interpreters as well.

Marius Gedminas
-- 
Those parts of the system that you can hit with a hammer (not advised)
are called hardware; those program instructions that you can only curse
at are called software.
                -- Levitating Trains and Kamikaze Genes: Technological
                   Literacy for the 1990's.

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui