sass / sassc-ruby

Use libsass with Ruby!
MIT License
367 stars 156 forks source link

SASSC 2.4.0 Install error on Windows x64 : Error junk `:' after expression #235

Open blackjyn opened 2 years ago

blackjyn commented 2 years ago

Help needed please

D:\>ruby -v
ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x64-mingw-ucrt]

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

    current directory: C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/sassc-2.4.0/ext
C:/Ruby31-x64/bin/ruby.exe -I C:/Ruby31-x64/lib/ruby/site_ruby/3.1.0 -r ./siteco
nf20220413-632-tjxszh.rb extconf.rb
creating Makefile

current directory: C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/sassc-2.4.0/ext
make DESTDIR\= clean

current directory: C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/sassc-2.4.0/ext
make DESTDIR\=
compiling ./libsass/src/ast.cpp
{standard input}: Assembler messages:
{standard input}:7466: Error: junk `:' after expression
make: *** [Makefile:238: ast.o] Error 1

make failed, exit code 2

Gem files will remain installed in C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/sassc-
2.4.0 for inspection.
Results logged to C:/Ruby31-x64/lib/ruby/gems/3.1.0/extensions/x64-mingw-ucrt/3.
1.0/sassc-2.4.0/gem_make.out