[rabbitmq-discuss] [bug] umbrella common.mk
Matwey V. Kornilov
matwey.kornilov at gmail.com
Mon Apr 2 12:07:43 BST 2012
Hi Steve, Emile,
* Platform details/Installation details:
My OS: openSUSE 12.1, GNU Make 3.82, Erlang/OTP R15B,
x86 cpu, reiserfs 3.6 filesystem.
I am trying to compile RabbitMQ 2.8.1 from source package.
* Directory details/Command sequence/What happens:
matwey@?:~/temp/my:test:dir> pwd
/home/matwey/temp/my:test:dir
matwey@?:~/temp/my:test:dir> wget http://www.rabbitmq.com/releases/rabbitmq-server/v2.8.1/rabbitmq-server-2.8.1.tar.gz
<<I've skipped wget output>>
2012-04-02 14:53:16 (475 KB/s) - `rabbitmq-server-2.8.1.tar.gz' saved [2644402/2644402]
matwey@?:~/temp/my:test:dir> tar -zxf rabbitmq-server-2.8.1.tar.gz
matwey@?:~/temp/my:test:dir> cd rabbitmq-server-2.8.1/
matwey@?:~/temp/my:test:dir/rabbitmq-server-2.8.1> 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
<<I've skipped erlang compiling>>
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_channel.erl
[ -d "plugins-src/rabbitmq-server" ] || ln -s "/home/matwey/temp/my:test:dir/rabbitmq-server-2.8.1" "plugins-src/rabbitmq-server"
mkdir -p plugins
PLUGINS_SRC_DIR="" make -C "plugins-src" plugins-dist PLUGINS_DIST_DIR="/home/matwey/temp/my:test:dir/rabbitmq-server-2.8.1/plugins" VERSION=0.0.0
make[1]: Entering directory `/home/matwey/temp/my:test:dir/rabbitmq-server-2.8.1/plugins-src'
make -f all-packages.mk all-releasable VERSION=0.0.0
make[2]: Entering directory `/home/matwey/temp/my:test:dir/rabbitmq-server-2.8.1/plugins-src'
common.mk:87: *** target pattern contains no `%'. Stop.
make[2]: Leaving directory `/home/matwey/temp/my:test:dir/rabbitmq-server-2.8.1/plugins-src'
make[1]: *** [release] Error 2
make[1]: Leaving directory `/home/matwey/temp/my:test:dir/rabbitmq-server-2.8.1/plugins-src'
make: *** [plugins] Error 2
* What I expected:
matwey@?:~/temp/dir_wo_columns> pwd
/home/matwey/temp/dir_wo_columns
matwey@?:~/temp/dir_wo_columns> wget http://www.rabbitmq.com/releases/rabbitmq-server/v2.8.1/rabbitmq-server-2.8.1.tar.gz
<<I've skipped wget output>>
2012-04-02 14:58:30 (425 KB/s) - `rabbitmq-server-2.8.1.tar.gz' saved [2644402/2644402]
matwey@?:~/temp/dir_wo_columns> tar -zxf rabbitmq-server-2.8.1.tar.gz
matwey@?:~/temp/dir_wo_columns> cd rabbitmq-server-2.8.1/
matwey@?:~/temp/dir_wo_columns/rabbitmq-server-2.8.1> 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
<<I've skipped erlang compiling>>
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_channel.erl
[ -d "plugins-src/rabbitmq-server" ] || ln -s "/home/matwey/temp/dir_wo_columns/rabbitmq-server-2.8.1" "plugins-src/rabbitmq-server"
mkdir -p plugins
PLUGINS_SRC_DIR="" make -C "plugins-src" plugins-dist PLUGINS_DIST_DIR="/home/matwey/temp/dir_wo_columns/rabbitmq-server-2.8.1/plugins" VERSION=0.0.0
make[1]: Entering directory `/home/matwey/temp/dir_wo_columns/rabbitmq-server-2.8.1/plugins-src'
make -f all-packages.mk all-releasable VERSION=0.0.0
make[2]: Entering directory `/home/matwey/temp/dir_wo_columns/rabbitmq-server-2.8.1/plugins-src'
[elided] generate deps
[elided] fix test deps
<<I've skipped plugins building>>
cp rabbitmq-auth-mechanism-ssl/dist/*.ez /home/matwey/temp/dir_wo_columns/rabbitmq-server-2.8.1/plugins
make[2]: Leaving directory `/home/matwey/temp/dir_wo_columns/rabbitmq-server-2.8.1/plugins-src'
make[1]: Leaving directory `/home/matwey/temp/dir_wo_columns/rabbitmq-server-2.8.1/plugins-src'
echo "Put your EZs here and use rabbitmq-plugins to enable them." > plugins/README
rm -f plugins/rabbit_common*.ez
More information about the rabbitmq-discuss
mailing list