Where is libintl3 and libiconv2 for gnu make on windows, needed to compile vim with ruby on MinGW

后端 未结 2 866
借酒劲吻你
借酒劲吻你 2021-02-20 09:07

I am trying to run gnu make for windows, but it wouldn\'t run because libint3.dll was not found.

Sure enough, http://gnuwin32.sourceforge.net/packages/make.

2条回答
  •  感情败类
    2021-02-20 10:07

    On the page you linked to (http://gnuwin32.sourceforge.net/packages/make.htm) there is a link to the Dependencies for make (http://gnuwin32.sourceforge.net/downlinks/make-dep-zip.php). If you download this (I just tried it), it contains the two libraries that you're looking for. If you have trouble with the download, try another sourceforge mirror.


    Regarding compiling Vim, I found that the easiest way to do this is to use Cygwin. Install it (you'll need to select a lot of the development libraries). Open up a bash window and enter the following. You'll obviously want to tweak the paths to and versions of perl, python, ruby and xpm (or remove them if you don't want them).

    USERNAME=Al USERDOMAIN= make -f Make_cyg.mak GUI=yes PERL=c:/applications/development/activeperl DYNAMIC_PERL=yes PYTHON=c:/applications/development/python25 DYNAMIC_PYTHON=yes RUBY=c:/applications/development/ruby DYNAMIC_RUBY=yes OLE=yes USEDLL=no CSCOPE=yes FEATURES=HUGE XPM=c:/applications/development/xpm PERL_VER=58 PYTHON_VER=25 RUBY_VER=18 RUBY_VER_LONG=1.8
    

    I also found it was necessary (with Ruby 1.8) to edit the ruby.h file in ruby/lib/ruby/1.8/i386-mswin32/config.h and comment out the check at the start of the file that checks the MSC version (first three lines). For XPM, you'll need the xpm library file from the XPM website and also the source files (simx.h, xpm.h and xpm4.dll). simx.h and xpm.h go into the include directory and xpm4.dll goes into the install directory.

提交回复
热议问题