[rabbitmq-discuss] [External] Re: (no subject)

Simon MacMullen simon at rabbitmq.com
Tue Jun 4 13:35:30 BST 2013

You might get better responses on how to build Erlang on 
erlang-questions: http://erlang.org/mailman/listinfo/erlang-questions

Having said that, I think configure is just looking for an executable 
"perl" on the path. So you might want to fix that.

Cheers, Simon

On 04/06/13 13:04, Leach, Matthew [USA] wrote:
> Wow, thanks for the quick responses.  I did get erlang installed but am running into the following error when I try to run ./configure in erlang directory
> I did install perl but not sure what is causing it to not be recognized
> Any help is much appreciated
> # ./configure
> Ignoring the --cache-file argument since it can cause the system to be erroneously configured
> Disabling caching
> checking build system type... i386-pc-solaris2.10
> checking host system type... i386-pc-solaris2.10
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking for ld... no
> checking for GNU make... yes (gmake)
> checking for a BSD-compatible install... /opt/rabbitmq/otp_src_R16B/erts/autoconf/install-sh -c
> checking whether ln -s works... yes
> checking for ranlib... :
> checking ERTS version... 5.10.1
> checking OTP release... R16B
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating make/output.mk
> config.status: creating make/emd2exml
> configure: configuring in lib
> configure: running /bin/bash '/opt/rabbitmq/otp_src_R16B/lib/configure' --prefix=/usr/local  --cache-file=/dev/null --srcdir=/opt/rabbitmq/otp_src_R16B/lib
> configure: creating ./config.status
> configure: configuring in snmp/.
> configure: running /bin/bash '/opt/rabbitmq/otp_src_R16B/lib/snmp/./configure' --prefix=/usr/local  '--prefix=/usr/local' '--cache-file=/dev/null' '--srcdir=/opt/rabbitmq/otp_src_R16B/lib' --cache-file=/dev/null --srcdir=/opt/rabbitmq/otp_src_R16B/lib/snmp/.
> checking build system type... i386-pc-solaris2.10
> checking host system type... i386-pc-solaris2.10
> checking for perl... no_perl
> configure: error: Perl is required to generate v2 to v1 mib converter script
> configure: error: /bin/bash '/opt/rabbitmq/otp_src_R16B/lib/snmp/./configure' failed for snmp/.
> configure: error: /bin/bash '/opt/rabbitmq/otp_src_R16B/lib/configure' failed for lib
> -----Original Message-----
> From: Simon MacMullen [mailto:simon at rabbitmq.com]
> Sent: Tuesday, June 04, 2013 5:09 AM
> To: Discussions about RabbitMQ
> Cc: Leach, Matthew [USA]
> Subject: [External] Re: [rabbitmq-discuss] (no subject)
> On 03/06/13 19:09, Leach, Matthew [USA] wrote:
>> sbin/rabbitmq-server: bin/sh: bad interpreter: No such file or
>> directory
> What Emile and Alvaro said about Erlang is correct. But note that this particular error would arise if you edited the first line of the rabbitmq-server script from
> #!/bin/sh
> to
> #!bin/sh
> So please be cautious when editing these scripts.
> Cheers, Simon
> --
> Simon MacMullen
> RabbitMQ, Pivotal

Simon MacMullen
RabbitMQ, Pivotal

More information about the rabbitmq-discuss mailing list