System: Centos 7
I am following these commands but after running $ nimble scss it fails...
$ git clone https://github.com/zedeus/nitter
$ cd nitter
$ nimble build -d:release
Error:
[root@localhost nitter]# nimble scss
Verifying dependencies for nitter@0.1.0
Info: Dependency on jester@#baca3f already satisfied
Verifying dependencies for jester@0.5.0
Info: Dependency on httpbeast@>= 0.3.0 already satisfied
Verifying dependencies for httpbeast@0.4.1
Info: Dependency on asynctools@#0e6bdc3ed5bae8c7cc9 already satisfied
Verifying dependencies for asynctools@0.1.1
Info: Dependency on https://github.com/timotheecour/asynctools@#pr_fix_compilation already satisfied
Verifying dependencies for asynctools@0.1.1
Info: Dependency on karax@#5cf360c already satisfied
Warning: Package 'karax' has an incorrect structure. It should contain a single directory hierarchy for source files, named 'karax', but file 'ajax.nim' is in a directory named 'examples/ajax' instead. This will be an error in the future.
Hint: If 'examples/ajax' contains source files for building 'karax', rename it to 'karax'. Otherwise, prevent its installation by adding skipDirs = @["examples/ajax"] to the .nimble file.
Verifying dependencies for karax@1.3.0
Info: Dependency on ws@any version already satisfied
Verifying dependencies for ws@0.5.0
Info: Dependency on dotenv@>= 2.0.0 already satisfied
Verifying dependencies for dotenv@2.0.1
Info: Dependency on sass@#7dfdd03 already satisfied
Verifying dependencies for sass@0.3.0
Info: Dependency on nimcrypto@#4014ef9 already satisfied
Verifying dependencies for nimcrypto@0.5.4
Info: Dependency on markdown@#158efe3 already satisfied
Verifying dependencies for markdown@0.8.6
Info: Dependency on packedjson@#9e6fbb6 already satisfied
Verifying dependencies for packedjson@0.2.2
Info: Dependency on supersnappy@#6c94198 already satisfied
Verifying dependencies for supersnappy@2.1.3
Info: Dependency on redpool@#8b7c1db already satisfied
Verifying dependencies for redpool@0.1.0
Info: Dependency on https://github.com/zedeus/redis@#d0a0e6f already satisfied
Verifying dependencies for redis@0.3.0
Info: Dependency on https://github.com/zedeus/redis@#d0a0e6f already satisfied
Verifying dependencies for redis@0.3.0
Info: Dependency on zippy@#ca5989a already satisfied
Verifying dependencies for zippy@0.10.7
Info: Dependency on flatty@#e668085 already satisfied
Verifying dependencies for flatty@0.3.4
Info: Dependency on jsony@#ea811be already satisfied
Verifying dependencies for jsony@1.1.5
Executing task scss in /home/ritik/nitter/nitter.nimble
Verifying dependencies for nitter@0.1.0
Info: Dependency on jester@#baca3f already satisfied
Verifying dependencies for jester@0.5.0
Info: Dependency on httpbeast@>= 0.3.0 already satisfied
Verifying dependencies for httpbeast@0.4.1
Info: Dependency on asynctools@#0e6bdc3ed5bae8c7cc9 already satisfied
Verifying dependencies for asynctools@0.1.1
Info: Dependency on https://github.com/timotheecour/asynctools@#pr_fix_compilation already satisfied
Verifying dependencies for asynctools@0.1.1
Info: Dependency on karax@#5cf360c already satisfied
Verifying dependencies for karax@1.3.0
Info: Dependency on ws@any version already satisfied
Verifying dependencies for ws@0.5.0
Info: Dependency on dotenv@>= 2.0.0 already satisfied
Verifying dependencies for dotenv@2.0.1
Info: Dependency on sass@#7dfdd03 already satisfied
Verifying dependencies for sass@0.3.0
Info: Dependency on nimcrypto@#4014ef9 already satisfied
Verifying dependencies for nimcrypto@0.5.4
Info: Dependency on markdown@#158efe3 already satisfied
Verifying dependencies for markdown@0.8.6
Info: Dependency on packedjson@#9e6fbb6 already satisfied
Verifying dependencies for packedjson@0.2.2
Info: Dependency on supersnappy@#6c94198 already satisfied
Verifying dependencies for supersnappy@2.1.3
Info: Dependency on redpool@#8b7c1db already satisfied
Verifying dependencies for redpool@0.1.0
Info: Dependency on https://github.com/zedeus/redis@#d0a0e6f already satisfied
Verifying dependencies for redis@0.3.0
Info: Dependency on https://github.com/zedeus/redis@#d0a0e6f already satisfied
Verifying dependencies for redis@0.3.0
Info: Dependency on zippy@#ca5989a already satisfied
Verifying dependencies for zippy@0.10.7
Info: Dependency on flatty@#e668085 already satisfied
Verifying dependencies for flatty@0.3.4
Info: Dependency on jsony@#ea811be already satisfied
Verifying dependencies for jsony@1.1.5
Compiling tools/gencss (from package nitter) using c backend
could not load: libsass.so
(compile with -d:nimDebugDlOpen for more information)
Error: execution of an external program failed: '/home/ritik/nitter/tools/gencss'
Tip: 38 messages have been suppressed, use --verbose to show them.
tools.nim(36) doCmd
System: Centos 7 I am following these commands but after running $ nimble scss it fails... $ git clone https://github.com/zedeus/nitter $ cd nitter $ nimble build -d:release
Error: [root@localhost nitter]# nimble scss Verifying dependencies for nitter@0.1.0 Info: Dependency on jester@#baca3f already satisfied Verifying dependencies for jester@0.5.0 Info: Dependency on httpbeast@>= 0.3.0 already satisfied Verifying dependencies for httpbeast@0.4.1 Info: Dependency on asynctools@#0e6bdc3ed5bae8c7cc9 already satisfied Verifying dependencies for asynctools@0.1.1 Info: Dependency on https://github.com/timotheecour/asynctools@#pr_fix_compilation already satisfied Verifying dependencies for asynctools@0.1.1 Info: Dependency on karax@#5cf360c already satisfied Warning: Package 'karax' has an incorrect structure. It should contain a single directory hierarchy for source files, named 'karax', but file 'ajax.nim' is in a directory named 'examples/ajax' instead. This will be an error in the future. Hint: If 'examples/ajax' contains source files for building 'karax', rename it to 'karax'. Otherwise, prevent its installation by adding
skipDirs = @["examples/ajax"]
to the .nimble file. Verifying dependencies for karax@1.3.0 Info: Dependency on ws@any version already satisfied Verifying dependencies for ws@0.5.0 Info: Dependency on dotenv@>= 2.0.0 already satisfied Verifying dependencies for dotenv@2.0.1 Info: Dependency on sass@#7dfdd03 already satisfied Verifying dependencies for sass@0.3.0 Info: Dependency on nimcrypto@#4014ef9 already satisfied Verifying dependencies for nimcrypto@0.5.4 Info: Dependency on markdown@#158efe3 already satisfied Verifying dependencies for markdown@0.8.6 Info: Dependency on packedjson@#9e6fbb6 already satisfied Verifying dependencies for packedjson@0.2.2 Info: Dependency on supersnappy@#6c94198 already satisfied Verifying dependencies for supersnappy@2.1.3 Info: Dependency on redpool@#8b7c1db already satisfied Verifying dependencies for redpool@0.1.0 Info: Dependency on https://github.com/zedeus/redis@#d0a0e6f already satisfied Verifying dependencies for redis@0.3.0 Info: Dependency on https://github.com/zedeus/redis@#d0a0e6f already satisfied Verifying dependencies for redis@0.3.0 Info: Dependency on zippy@#ca5989a already satisfied Verifying dependencies for zippy@0.10.7 Info: Dependency on flatty@#e668085 already satisfied Verifying dependencies for flatty@0.3.4 Info: Dependency on jsony@#ea811be already satisfied Verifying dependencies for jsony@1.1.5 Executing task scss in /home/ritik/nitter/nitter.nimble Verifying dependencies for nitter@0.1.0 Info: Dependency on jester@#baca3f already satisfied Verifying dependencies for jester@0.5.0 Info: Dependency on httpbeast@>= 0.3.0 already satisfied Verifying dependencies for httpbeast@0.4.1 Info: Dependency on asynctools@#0e6bdc3ed5bae8c7cc9 already satisfied Verifying dependencies for asynctools@0.1.1 Info: Dependency on https://github.com/timotheecour/asynctools@#pr_fix_compilation already satisfied Verifying dependencies for asynctools@0.1.1 Info: Dependency on karax@#5cf360c already satisfied Verifying dependencies for karax@1.3.0 Info: Dependency on ws@any version already satisfied Verifying dependencies for ws@0.5.0 Info: Dependency on dotenv@>= 2.0.0 already satisfied Verifying dependencies for dotenv@2.0.1 Info: Dependency on sass@#7dfdd03 already satisfied Verifying dependencies for sass@0.3.0 Info: Dependency on nimcrypto@#4014ef9 already satisfied Verifying dependencies for nimcrypto@0.5.4 Info: Dependency on markdown@#158efe3 already satisfied Verifying dependencies for markdown@0.8.6 Info: Dependency on packedjson@#9e6fbb6 already satisfied Verifying dependencies for packedjson@0.2.2 Info: Dependency on supersnappy@#6c94198 already satisfied Verifying dependencies for supersnappy@2.1.3 Info: Dependency on redpool@#8b7c1db already satisfied Verifying dependencies for redpool@0.1.0 Info: Dependency on https://github.com/zedeus/redis@#d0a0e6f already satisfied Verifying dependencies for redis@0.3.0 Info: Dependency on https://github.com/zedeus/redis@#d0a0e6f already satisfied Verifying dependencies for redis@0.3.0 Info: Dependency on zippy@#ca5989a already satisfied Verifying dependencies for zippy@0.10.7 Info: Dependency on flatty@#e668085 already satisfied Verifying dependencies for flatty@0.3.4 Info: Dependency on jsony@#ea811be already satisfied Verifying dependencies for jsony@1.1.5 Compiling tools/gencss (from package nitter) using c backend could not load: libsass.so (compile with -d:nimDebugDlOpen for more information) Error: execution of an external program failed: '/home/ritik/nitter/tools/gencss' Tip: 38 messages have been suppressed, use --verbose to show them. tools.nim(36) doCmdstack trace: (most recent call last) /tmp/nimblecache-2440999355/nimscriptapi_1540420048.nim(210, 16) /home/ritik/nitter/nitter.nimble(31, 3) scssTask /root/.choosenim/toolchains/nim-2.0.2/lib/system/nimscript.nim(265, 7) exec /root/.choosenim/toolchains/nim-2.0.2/lib/system/nimscript.nim(265, 7) Error: unhandled exception: FAILED: nimble c --hint[Processing]:off -d:danger -r tools/gencss [OSError] Tip: 37 messages have been suppressed, use --verbose to show them. nimscriptwrapper.nim(160) execScript
[root@localhost nitter]# snap install sassc snap "sassc" is already installed, see 'snap help refresh' [root@localhost nitter]# yum install -y libsass Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile