Skip to content

install.sh failed on Windows10(msys64) #225

@cjun714

Description

@cjun714
  • vim or neovim?
    • gvim
  • Output of vim --version: 8.1.429
  • Operating system:
    • Windows + msys64 + gcc 8.2.0 + mingw-w64-x86_64-python3
  • Configurations related to LeaderF in vimrc:
Plug 'Yggdroot/LeaderF', { 'do': './install.sh' }

Describe your question, feature request, or bug.

Run install.sh failed.
lib can be compiled, but script failed at cp lib to autoload/leaderf/python .

Steps to reproduce

> cd ~/.vim/plugged/LeaderF
> ./install.sh
Begin to compile C extension of Python3 ...
...
cp: cannot stat 'build/lib*3.?/*.so': No such file or directory
> ll ./autoload/leaderf/fuzzyMatch_C/build/lib.mingw-3.7/
total 120K
-rwxr-xr-x 1 John None 61K Sep 27 17:32 fuzzyEngine-cpython-37m.dll*
-rwxr-xr-x 1 John None 54K Sep 27 17:32 fuzzyMatchC-cpython-37m.dll*

In install.sh, should use cp build/lib*3.?/* ../python instead of cp build/lib*3.?/*.so ../python
In msys64, dynamic lib suffix is always '.dll' not '.so'

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions