Commits

Rob van der Linde committed 67dac7d

Update README.md for Raspberry Pi

Comments (0)

Files changed (1)

-RVCMS Content Management System for Django
-==========================================
+Content Management System for Django
+====================================
 
 Temporary installation instructions
 -----------------------------------
 
     sudo apt-get install python-dev libjpeg-dev libfreetype6-dev zlib1g-dev tk-dev liblcms1-dev libenchant-dev
 
-And run these commands, or the PIL build process won't find all the required libraries:
+Create required symlinks so that PIL is able to build in a virtualenv
+---------------------------------------------------------------------
+
+64-Bit:
 
     sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib
     sudo ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib
     sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib
     sudo ln -s /usr/lib/x86_64-linux-gnu/liblcms.so /usr/lib
 
-or:
+32-Bit:
 
     sudo ln -s /usr/lib/i386-linux-gnu/libjpeg.so /usr/lib
     sudo ln -s /usr/lib/i386-linux-gnu/libfreetype.so /usr/lib
     sudo ln -s /usr/lib/i386-linux-gnu/libz.so /usr/lib
     sudo ln -s /usr/lib/i386-linux-gnu/liblcms.so /usr/lib
 
-Now run the following to install the CMS in a virtualenv:
+Raspberry Pi (Raspbian Wheezy):
+
+    sudo ln -s /usr/lib/arm-linux-gnueabihf/libjpeg.so /usr/lib
+    sudo ln -s /usr/lib/arm-linux-gnueabihf/libfreetype.so /usr/lib
+    sudo ln -s /usr/lib/arm-linux-gnueabihf/libz.so /usr/lib
+    sudo ln -s /usr/lib/arm-linux-gnueabihf/liblcms.so /usr/lib
+
+Installing the CMS into a virtualenv
+------------------------------------
 
-    virtualenv --no-site-packages rvcms-env
+    virtualenv rvcms-env
     cd rvcms-env
     source bin/activate
     git clone git@bitbucket.org:robvdl/rvcms.git