Skip to content

failed to install extlzma #4

Closed
Closed
@mercury233

Description

@mercury233

I had to download XZ Utils and manually install the lzma files to the include and lib dir of ruby mingw64 on windows.
Other wise it will run into

ERROR:  Error installing mikunyan:
        ERROR: Failed to build gem native extension.

    current directory: C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/extlzma-0.4/ext
C:/Ruby27-x64/bin/ruby.exe -I C:/Ruby27-x64/lib/ruby/2.7.0 -r ./siteconf20220120-11328-6dmyvn.rb extconf.rb
checking for lzma.h... no
checking for -llzma... no
extconf.rb: dependency files are not found (lzma.h liblzma.a).
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Maybe the document should be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions