Skip to content

Commit 8c5082f

Browse files
committed
Prerequisites are hard, let's document them instead of forcing apt-get.
1 parent 3a978f7 commit 8c5082f

File tree

1 file changed

+23
-7
lines changed

1 file changed

+23
-7
lines changed

Makefile

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,30 @@
99
all:
1010
@echo "Review README in the directory with your langage of choice."
1111

12-
13-
# Test all combinations of languages
14-
test: prerequisites dotnet/.ok erlang/.ok java/.ok python/.ok php/.ok ruby/.ok
12+
### Test all combinations of languages
13+
#
14+
#
15+
# Running everything requires quite a lot of dependencies you need at
16+
# least (as tested on debian 5.0):
17+
#
18+
# apt-get install python-virtualenv git-core php5-cli \
19+
# ruby1.8 ruby1.8-dev rdoc1.8 unzip mono-gmcs sun-java5-jdk
20+
#
21+
#
22+
# You also need recent erlang, you may install it from sources following
23+
# this commands:
24+
# cd /usr/src
25+
# apt-get -y install libncurses-dev libssl-dev
26+
# [ -e otp_src_R14B03.tar.gz ] || wget http://www.erlang.org/download/otp_src_R14B03.tar.gz
27+
# [ -e otp_src_R14B03 ] || tar xzf otp_src_R14B03.tar.gz
28+
# cd otp_src_R14B03/
29+
# ./configure
30+
# make
31+
# make install
32+
#
33+
test: dotnet/.ok erlang/.ok java/.ok python/.ok php/.ok ruby/.ok
1534
python test.py
1635

17-
.PHONY: prerequisites
18-
prerequisites:
19-
dpkg -L python-virtualenv git-core php5-cli ruby1.8 ruby1.8-dev > /dev/null
20-
2136
R=http://www.rabbitmq.com/releases
2237
dotnet/.ok:
2338
(cd dotnet && \
@@ -61,6 +76,7 @@ clean::
6176
python/.ok:
6277
(cd python && \
6378
virtualenv venv && \
79+
./venv/bin/easy_install pip && \
6480
./venv/bin/pip install pika==0.9.5 && \
6581
touch .ok)
6682
clean::

0 commit comments

Comments
 (0)