You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried makepkg several times but failed. I noticed that you provides the patches but it didn't help much. Can you provide one (with lua, perl, python, ruby enabled) to pacman please? Thx a lot!
@jchain I think you need to use makepkg-mingw not makepkg.
They are two different tools.
makepkg is for building MSYS2-PACKAGES and
makepkg-mingw is for MINGW-PACKAGES
Well you would probably want vim to be an msys2 program - as it is currently - rather that a native Windows one .. So you'd need to port lua to msys2 as well.. Unless you are site you want a native Windows vim of course.
you must first build msys2 lua package, you can grab archlinux PKGBUILD, then you should build vim with lua. by the way, you also can build luajit with msvc, then build msys2 vim with luajit(no dynamatic). yes, I use luajit for neocomplete.
I confirm that I can build msys-vim with lua support. My successful steps:
Download and make install lua from www.lua.org with command make mingw and make install
Download the source code from www.vim.org. No need to use makepkg. All you need is to patch the source code with pretend_cygwin_msys.patch to enable +clipboard
configure with your options, like --enable-luainterp and --with-lua-prefix=/usr/local. Refer to PKGBUILD for a complete example.
Activity
Alexpux commentedon Jun 18, 2014
I don't build lua for MSYS, only for MINGW
martell commentedon Jun 18, 2014
@jchain I think you need to use makepkg-mingw not makepkg.
They are two different tools.
makepkg is for building MSYS2-PACKAGES and
makepkg-mingw is for MINGW-PACKAGES
mingwandroid commentedon Jun 18, 2014
Well you would probably want vim to be an msys2 program - as it is currently - rather that a native Windows one .. So you'd need to port lua to msys2 as well.. Unless you are site you want a native Windows vim of course.
mingwandroid commentedon Jun 18, 2014
Sure.. Not site. Stupid phone keyboard (user).
Haylon commentedon Aug 27, 2014
you must first build msys2 lua package, you can grab archlinux PKGBUILD, then you should build vim with lua. by the way, you also can build luajit with msvc, then build msys2 vim with luajit(no dynamatic). yes, I use luajit for neocomplete.
Konfekt commentedon Nov 21, 2014
Hello, could you give an address what to grab and by which commands to build lua and vim?
jchain commentedon Nov 25, 2014
I confirm that I can build msys-vim with lua support. My successful steps:
make mingw
andmake install
makepkg
. All you need is to patch the source code withpretend_cygwin_msys.patch
to enable+clipboard
configure
with your options, like--enable-luainterp
and--with-lua-prefix=/usr/local
. Refer toPKGBUILD
for a complete example.make
andmake install
. Done.Konfekt commentedon Nov 26, 2014
Thank you, almost worked:
make
givesSeems to have to do with the msys2 path conversion magic.
Perhaps it is more convient instead of step 2,3,4 to add the missing lines in setp 3. to PKGBuild?
The Pkgbuild already has
--enable-luainterp=dynamic
. What does this tell configure ?Alexpux commentedon Nov 26, 2014
Seems you have something bad in configure options.
Konfekt commentedon Nov 26, 2014
Well I tried
Alexpux commentedon Nov 26, 2014
MSYS2 convert paths only for native Windows applications not MSYS one. So I wonder how build command goes to auto/pathdef.c.
Konfekt commentedon Nov 26, 2014
Well, how could I find out about the build command? Leaving out
--with-lua-prefix=/usr/local
does not change anything though by the way.Alexpux commentedon Nov 26, 2014
This:
is link command.
Need to understand how it go to source.
Konfekt commentedon Nov 26, 2014
So executing the above line gives
9 remaining items