Outils pour utilisateurs

Outils du site


devweb:less (lu 493 fois)

Ceci est une ancienne révision du document !


LESS

Homepage ⇒ http://lesscss.org/

Installation

# être root

su root
cd ~

# Download latest version of node.js
# please replace the url with the newest available version, which you can find here http://nodejs.org/#download

wget http://nodejs.org/dist/node-v0.4.7.tar.gz

# extract node.js install package

tar xfvz node-v0.4.7.tar.gz

# change working directory

cd node-v0.4.7

# configure

./configure

# compile it

make -j4

# install it

make install

# go back to home

cd ~

# download less

wget --no-check-certificate https://github.com/cloudhead/less.js/tarball/master

# extract

tar xfvz cloudhead-less.js-v1.0-336-g853604a.tar.gz
mv cloudhead-less.js-853604a lesscss
mv lesscss/ /usr/local/
cd /usr/local/bin/
ln -s ../lesscss/bin/lessc

/ NOTES */
When you run “./configure” you might get an error that no g++,c++… compiler is available.
You can run “apt-get install build-essential” to solve this.

If you get an error that no openSSL is not available you can either configure it without them (–without-ssl) or you can install libssl by running: apt-get install libssl-dev

devweb/less.1379793361.txt.gz · Dernière modification: 21-09-2013 21:56 de edmc73