Skip to content
Browse files

Prerequisites are hard, let's document them instead of forcing apt-get.

  • Loading branch information...
1 parent 3a978f7 commit 8c5082f2b8cafc01970b253e206e240900d2ac8f @majek majek committed
Showing with 23 additions and 7 deletions.
  1. +23 −7 Makefile
View
30 Makefile
@@ -9,15 +9,30 @@
all:
@echo "Review README in the directory with your langage of choice."
-
-# Test all combinations of languages
-test: prerequisites dotnet/.ok erlang/.ok java/.ok python/.ok php/.ok ruby/.ok
+### Test all combinations of languages
+#
+#
+# Running everything requires quite a lot of dependencies you need at
+# least (as tested on debian 5.0):
+#
+# apt-get install python-virtualenv git-core php5-cli \
+# ruby1.8 ruby1.8-dev rdoc1.8 unzip mono-gmcs sun-java5-jdk
+#
+#
+# You also need recent erlang, you may install it from sources following
+# this commands:
+# cd /usr/src
+# apt-get -y install libncurses-dev libssl-dev
+# [ -e otp_src_R14B03.tar.gz ] || wget http://www.erlang.org/download/otp_src_R14B03.tar.gz
+# [ -e otp_src_R14B03 ] || tar xzf otp_src_R14B03.tar.gz
+# cd otp_src_R14B03/
+# ./configure
+# make
+# make install
+#
+test: dotnet/.ok erlang/.ok java/.ok python/.ok php/.ok ruby/.ok
python test.py
-.PHONY: prerequisites
-prerequisites:
- dpkg -L python-virtualenv git-core php5-cli ruby1.8 ruby1.8-dev > /dev/null
-
R=http://www.rabbitmq.com/releases
dotnet/.ok:
(cd dotnet && \
@@ -61,6 +76,7 @@ clean::
python/.ok:
(cd python && \
virtualenv venv && \
+ ./venv/bin/easy_install pip && \
./venv/bin/pip install pika==0.9.5 && \
touch .ok)
clean::

0 comments on commit 8c5082f

Please sign in to comment.
Something went wrong with that request. Please try again.