-
-
Save Chitrank-Dixit/b045f00bc297db31ce92 to your computer and use it in GitHub Desktop.
Installing/Compiling libsass and sassc on Ubuntu 14.04+/Linux Mint 17+ (needed by node-sass)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on https://github.com/sass/libsass/wiki/Building-with-autotools | |
# Install dependencies | |
apt-get install automake libtool | |
# Fetch sources | |
git clone https://github.com/sass/libsass.git | |
git clone https://github.com/sass/sassc.git libsass/sassc | |
# Create configure script | |
cd libsass | |
autoreconf --force --install | |
cd .. | |
# Create custom makefiles for **shared library**, for more info read: | |
# 'Difference between static and shared libraries?' before installing libsass http://stackoverflow.com/q/2649334/802365 | |
cd libsass | |
autoreconf --force --install | |
./configure \ | |
--disable-tests \ | |
--enable-shared \ | |
--prefix=/usr | |
cd .. | |
# Build the library | |
make -C libsass -j5 | |
# Install the library | |
sudo make -C libsass -j5 install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment