Unable to install dependency sassc 2.3.0
mroberts1 opened this issue ยท comments
I've been trying to install this on MacOS (currently Big Sur) for months, without success.
always fails on the install of sassc 2.3.0, with 13 errors (see below).
There appeared to be some kind of conflict with XCode Command Line Developer Tools, but when I uninstalled this and tried to reinstall sassc 2.3.0 I received the alert that the XCode tools were not installed and inviting me to reinstall them. So there seems no way out.
Please let me know if you have any suggestions.
digital-garden on ๎ master [?] via ๐ ruby-2.7.0
โ gem install sassc -v 2.3.0
Building native extensions. This could take a while...
ERROR: Error installing sassc:
ERROR: Failed to build gem native extension.
current directory: /Users/dokoissho/.rvm/gems/ruby-2.7.0/gems/sassc-2.3.0/ext
/Users/dokoissho/.rvm/rubies/ruby-2.7.0/bin/ruby -I /Users/dokoissho/.rvm/rubies/ruby-2.7.0/lib/
ruby/site_ruby/2.7.0 -r ./siteconf20210106-16400-1c84x3n.rb extconf.rb
creating Makefile
current directory: /Users/dokoissho/.rvm/gems/ruby-2.7.0/gems/sassc-2.3.0/ext
make "DESTDIR=" clean
current directory: /Users/dokoissho/.rvm/gems/ruby-2.7.0/gems/sassc-2.3.0/ext
make "DESTDIR="
compiling ./libsass/src/ast.cpp
In file included from ./libsass/src/ast.cpp:5:
In file included from ./libsass/src/ast.hpp:9:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_ma
p:409:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table
:18:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:317:9: error: no member name
d 'signbit' in the global namespace
using ::signbit;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:318:9: error: no member name
d 'fpclassify' in the global namespace
using ::fpclassify;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:319:9: error: no member name
d 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:752:12: note: 'finite' de
clared here
extern int finite(double)
^
In file included from ./libsass/src/ast.cpp:5:
In file included from ./libsass/src/ast.hpp:9:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_ma
p:409:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table
:18:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:320:9: error: no member name
d 'isinf' in the global namespace
using ::isinf;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:321:9: error: no member name
d 'isnan' in the global namespace
using ::isnan;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:322:9: error: no member name
d 'isnormal' in the global namespace
using ::isnormal;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:323:7: error: no member name
d 'isgreater' in the global namespace; did you mean '::std::greater'?
using ::isgreater;
^~
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:738:29: note: '::std::g
reater' declared here
struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool>
^
In file included from ./libsass/src/ast.cpp:5:
In file included from ./libsass/src/ast.hpp:9:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_ma
p:409:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table
:18:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:324:7: error: no member name
d 'isgreaterequal' in the global namespace; did you mean '::std::greater_equal'?
using ::isgreaterequal;
^~
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:767:29: note: '::std::g
reater_equal' declared here
struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool>
^
In file included from ./libsass/src/ast.cpp:5:
In file included from ./libsass/src/ast.hpp:9:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_ma
p:409:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table
:18:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:325:9: error: no member name
d 'isless' in the global namespace
using ::isless;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:326:9: error: no member name
d 'islessequal' in the global namespace
using ::islessequal;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:327:9: error: no member name
d 'islessgreater' in the global namespace
using ::islessgreater;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:328:9: error: no member name
d 'isunordered' in the global namespace
using ::isunordered;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:329:9: error: no member name
d 'isunordered' in the global namespace
using ::isunordered;
~~^
13 errors generated.
make: *** [ast.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/dokoissho/.rvm/gems/ruby-2.7.0/gems/sassc-2.3.0 for in
spection.
Results logged to /Users/dokoissho/.rvm/gems/ruby-2.7.0/extensions/x86_64-darwin-19/2.7.0/sassc-
2.3.0/gem_make.out
Closing as outdated, feel free to share a solution if you found one in the meantime. :)