Skip to content
This repository was archived by the owner on Mar 16, 2022. It is now read-only.
This repository was archived by the owner on Mar 16, 2022. It is now read-only.

Makefile:267: *** multiple target patterns. Stop. #20

@gbourdon

Description

@gbourdon

While installing the sodium gem on Windows 10, I was presented with the following error:

 C:\Windows\system32>gem install sodium
 Temporarily enhancing PATH for MSYS/MINGW...
 Building native extensions.  This could take a while...
 ERROR:  Error installing sodium:
         ERROR: Failed to build gem native extension.

    current directory: C:/Program Files/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sodium-0.7.1/ext/sodium    /memory
"C:/Program Files/Ruby24-x64/bin/ruby.exe" -r ./siteconf20180126-6504-7dvr1s.rb extconf.rb
creating Makefile

current directory: C:/Program Files/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sodium-0.7.1/ext/sodium/memory
make "DESTDIR=" clean
Makefile:267: *** multiple target patterns.  Stop.

current directory: C:/Program Files/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sodium-0.7.1/ext/sodium/memory
make "DESTDIR="
Makefile:267: *** multiple target patterns.  Stop.

make failed, exit code 2

Gem files will remain installed in C:/Program Files/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sodium-0.7.1 for inspection.
Results logged to C:/Program Files/Ruby24-x64/lib/ruby/gems/2.4.0/extensions/x64-mingw32/2.4.0/sodium-0.7.1/gem_make.out

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