[rabbitmq-discuss] Can't build rabbitmq-1.8.0... beam files are not generated.

DOBRO vertolet666 at yandex.ru
Mon Jun 21 15:43:34 BST 2010


I have installed Erlang R13B03.
I'm getting several errors during compilation :)

# make
python codegen.py body   codegen/amqp-0.8.json src/rabbit_framing.erl
xsltproc --stringparam modulename "`basename src/rabbit_ctl_usage.erl .erl`"
\
ocs/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.l.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_usagerl.tmp
src/rabbit_ctl_usage.erl.tmp2 xsltproc --stringparam modulename "`basename
src/rabbit_multi_usage.erl .erl`" \           docs/usage.xsl
docs/rabbitmq-mti.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/rbit_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
srcabbit_multi_usage.erl.tmp2 python codegen.py header codegen/amqp-0.8.json
include/rabbit_framing.hrl python codegen.py spec codegen/amqp-0.8.json
include/rabb_framing_spec.hrl escript generate_deps include src
\$\(EBIN_DIR\) deps.mk
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/gen_server2.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/delegate.erl

=ERROR REPORT==== 21-Jun-2010::18:37:16 ===
beam/beam_load.c(1317): Error loading module gen_server2:
  use of opcode 151; this emulator supports only up to 149

=ERROR REPORT==== 21-Jun-2010::18:37:16 ===
Loading of /home/rabbitmq/rabbitmq-server-1.8.0/ebin/gen_server2.beam
failed: badfile
src/delegate.erl:36: Warning: behaviour gen_server2 undefined
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/delegate_sup.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/file_handle_cache.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/pg_local.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/priority_queue.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_access_control.erl
src/rabbit_access_control.erl:165: Warning: regexp:match/2: the regexp
module is deprecated (will be removed in R15A); use the re module instead
src/rabbit_access_control.erl:294: Warning: regexp:parse/1: the regexp
module is deprecated (will be removed in R15A); use the re module instead
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_alarm.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_amqqueue.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_amqqueue_process.erl

=ERROR REPORT==== 21-Jun-2010::18:37:26 ===
beam/beam_load.c(1317): Error loading module gen_server2:
  use of opcode 151; this emulator supports only up to 149


=ERROR REPORT==== 21-Jun-2010::18:37:27 ===
Loading of /home/rabbitmq/rabbitmq-server-1.8.0/ebin/gen_server2.beam
failed: badfile
src/rabbit_amqqueue_process.erl:36: Warning: behaviour gen_server2 undefined
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/supervisor2.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_amqqueue_sup.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_backing_queue.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_basic.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_binary_generator.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_binary_parser.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_channel.erl

=ERROR REPORT==== 21-Jun-2010::18:37:36 ===
beam/beam_load.c(1317): Error loading module gen_server2:
  use of opcode 151; this emulator supports only up to 149


=ERROR REPORT==== 21-Jun-2010::18:37:36 ===
Loading of /home/rabbitmq/rabbitmq-server-1.8.0/ebin/gen_server2.beam
failed: badfile
src/rabbit_channel.erl:36: Warning: behaviour gen_server2 undefined
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_control.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_dialyzer.erl
src/rabbit_dialyzer.erl:59: Warning: regexp:split/2: the regexp module is
deprecated (will be removed in R15A); use the re module instead
src/rabbit_dialyzer.erl:68: Warning: regexp:split/2: the regexp module is
deprecated (will be removed in R15A); use the re module instead
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_error_logger.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_error_logger_file_h.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_exchange.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_exchange_type.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_exchange_type_direct.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_exchange_type_fanout.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_exchange_type_headers.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_exchange_type_registry.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_exchange_type_topic.erl
src/rabbit_exchange_type_topic.erl:68: Warning: regexp:split/2: the regexp
module is deprecated (will be removed in R15A); use the re module instead
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_framing_channel.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_guid.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_heartbeat.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_hooks.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_invariable_queue.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_limiter.erl

=ERROR REPORT==== 21-Jun-2010::18:37:57 ===
beam/beam_load.c(1317): Error loading module gen_server2:
  use of opcode 151; this emulator supports only up to 149


=ERROR REPORT==== 21-Jun-2010::18:37:57 ===
Loading of /home/rabbitmq/rabbitmq-server-1.8.0/ebin/gen_server2.beam
failed: badfile
src/rabbit_limiter.erl:34: Warning: behaviour gen_server2 undefined
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_load.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_log.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
src/rabbit_memory_monitor.erl

=ERROR REPORT==== 21-Jun-2010::18:38:00 ===
beam/beam_load.c(1317): Error loading module gen_server2:
  use of opcode 151; this emulator supports only up to 149



David Wragg-4 wrote:
> 
> DOBRO <vertolet666 at yandex.ru> writes:
>> I've upgraded libxml2 to 2.7.7 and libxslt to 1.1.26.
>> Now I'm getting another error. Here is the full output from make:
> 
> This is likely to be a problem due to compiling under Erlang R14A.  R14A
> is a test version that has only just been released, and we are aware
> that there are some problems building rabbit under it.
> 
> Unless you really want to experiment with the bleeding edge, you should
> stick to an R13B release of Erlang.
> 
> David
> 
> -- 
> David Wragg
> Staff Engineer, RabbitMQ
> SpringSource, a division of VMware
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> 
> 

-- 
View this message in context: http://old.nabble.com/Can%27t-build-rabbitmq-1.8.0...-beam-files-are-not-generated.-tp28947017p28949390.html
Sent from the RabbitMQ mailing list archive at Nabble.com.



More information about the rabbitmq-discuss mailing list