[rabbitmq-discuss] RabbitMQ 2.1.1: Building from sources: No rule to make target deps.mk ?!

Matthew Sackman matthew at rabbitmq.com
Sun Nov 28 14:12:04 GMT 2010


Hi Frank,

On Sun, Nov 28, 2010 at 02:55:19PM +0100, Frank Gönninger wrote:
> Am 28.11.2010 um 14:49 schrieb Matthew Sackman:
> 
> > On Sun, Nov 28, 2010 at 02:42:44PM +0100, Frank Gönninger wrote:
> >> I am trying to build 2.1.1 from sources. I am using GNU make version 3.81. Still I am getting a "no rule to make target deps.mk" error. I checked the Makefile and it clearly has such a rule. Hmm - anybody seen this before? Any ideas ? TIA!
> > 
> > Can you just confirm you have codegen and server directories as siblings
> > within the public-umbrella repo?
> 
> $ cd rabbitmq-server-2.1.1/
> ... that's what I'm seeing. If thatÄs the "public-umbrella repo" I don't know.


Agh, my mistake, sorry - I'd failed to remember how our source releases
work. However, when I download
http://www.rabbitmq.com/releases/rabbitmq-server/v2.1.1/rabbitmq-server-2.1.1.tar.gz
and unpack, and issue make in there, I get:

$ make
python codegen.py body codegen/amqp-rabbitmq-0.9.1.json src/rabbit_framing_amqp_0_9_1.erl
python codegen.py body codegen/amqp-rabbitmq-0.8.json src/rabbit_framing_amqp_0_8.erl
xsltproc --stringparam modulename "`basename src/rabbit_ctl_usage.erl .erl`" \
                docs/usage.xsl docs/rabbitmqctl.1.xml > src/rabbit_ctl_usage.erl.tmp
sed -e 's/"/\\"/g' -e 's/%QUOTE%/"/g' src/rabbit_ctl_usage.erl.tmp > src/rabbit_ctl_usage.erl.tmp2
fold -s src/rabbit_ctl_usage.erl.tmp2 > src/rabbit_ctl_usage.erl.tmp3
mv src/rabbit_ctl_usage.erl.tmp3 src/rabbit_ctl_usage.erl
rm src/rabbit_ctl_usage.erl.tmp src/rabbit_ctl_usage.erl.tmp2
xsltproc --stringparam modulename "`basename src/rabbit_multi_usage.erl .erl`" \
                docs/usage.xsl docs/rabbitmq-multi.1.xml > src/rabbit_multi_usage.erl.tmp
sed -e 's/"/\\"/g' -e 's/%QUOTE%/"/g' src/rabbit_multi_usage.erl.tmp > src/rabbit_multi_usage.erl.tmp2
fold -s src/rabbit_multi_usage.erl.tmp2 > src/rabbit_multi_usage.erl.tmp3
mv src/rabbit_multi_usage.erl.tmp3 src/rabbit_multi_usage.erl
rm src/rabbit_multi_usage.erl.tmp src/rabbit_multi_usage.erl.tmp2
python codegen.py --ignore-conflicts header codegen/amqp-rabbitmq-0.9.1.json codegen/amqp-rabbitmq-0.8.json include/rabbit_framing.hrl
rm -f deps.mk
escript generate_deps include src \$\(EBIN_DIR\) deps.mk
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/bpqueue.erl
...

What output do you get?

Matthew


More information about the rabbitmq-discuss mailing list