Erlang on BeOS

Daniel Solaz <>
Sat Aug 7 22:46:31 CEST 1999


Hello.  I just tried to build Erlang on BeOS again and I've found what
(to me) seems like a configure problem.  Let me explain:

The configure script can't figure out the host type.  So I told it to
try 'i686-unknown-linux', since this the same linux box I usually run
Erlang on, and that's what the linux configure script used to build it. 
To my surprise, I've found the BeOS is pretty compatible.

All seems to go well except for the erts subdirectory.  For some reason,
the host type gets lost when going in there and configure says 'can not
guess host type'.  All other subdirectories are correctly configured.

Naturally, make fails in erts/system, which happens to be the first
place it goes into.

To me this looks like a configure problem, but I know virtually nothing
about autoconf and configure.  Can someone please tell me where to look
for something that could be wrong in the different configure scripts,
and what would that look like?

Thanks in advance.
-Daniel
-------------- next part --------------
beos45:~/tmp/erlang-47.4.1$ ./configure --host=i686-unknown-linux --prefix=/boot/home/config                                                                    checking host system type... i686-unknown-linux
checking for GNU make... yes (make)
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
Running configure in erts/autoconf...
creating cache /boot/home/tmp/erlang-47.4.1/erts/autoconf/i686-unknown-linux/config.cache
checking host system type... configure: error: can not guess host type; you must specify one
creating ./config.status
creating Makefile
configuring in lib
running /bin/sh /boot/home/tmp/erlang-47.4.1/lib/configure  --host=i686-unknown-linux --prefix=/boot/home/config --cache-file=.././config.cache --srcdir=/boot/home/tmp/erlang-47.4.1/lib
checking host system type... i686-unknown-linux
creating ./config.status
configuring in os_mon
running /bin/sh /boot/home/tmp/erlang-47.4.1/lib/os_mon/configure  --host=i686-unknown-linux --prefix=/boot/home/config --cache-file=../.././config.cache --srcdir=/boot/home/tmp/erlang-47.4.1/lib/os_mon
checking host system type... i686-unknown-linux
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for kstat_open in -lkstat... no
creating ./config.status
creating c_src/i686-unknown-linux/Makefile
configuring in orber
running /bin/sh /boot/home/tmp/erlang-47.4.1/lib/orber/configure  --host=i686-unknown-linux --prefix=/boot/home/config --cache-file=../.././config.cache --srcdir=/boot/home/tmp/erlang-47.4.1/lib/orber
checking host system type... i686-unknown-linux
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for connect... yes
checking for gethostbyname... yes
checking for gethostbyname_r... no
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking for INADDR_LOOPBACK in netinet/in.h... yes
creating ./config.status
creating c_src/i686-unknown-linux/Makefile
configuring in ig
running /bin/sh /boot/home/tmp/erlang-47.4.1/lib/ig/configure  --host=i686-unknown-linux --prefix=/boot/home/config --cache-file=../.././config.cache --srcdir=/boot/home/tmp/erlang-47.4.1/lib/ig
checking host system type... i686-unknown-linux
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
creating ./config.status
creating c_src/i686-unknown-linux/Makefile
configuring in ic
running /bin/sh /boot/home/tmp/erlang-47.4.1/lib/ic/configure  --host=i686-unknown-linux --prefix=/boot/home/config --cache-file=../.././config.cache --srcdir=/boot/home/tmp/erlang-47.4.1/lib/ic
checking host system type... i686-unknown-linux
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
creating ./config.status
creating c_src/i686-unknown-linux/Makefile
configuring in jive
running /bin/sh /boot/home/tmp/erlang-47.4.1/lib/jive/configure  --host=i686-unknown-linux --prefix=/boot/home/config --cache-file=../.././config.cache --srcdir=/boot/home/tmp/erlang-47.4.1/lib/jive
checking for javac... no
creating ./config.status
creating Makefile

beos45:~/tmp/erlang-47.4.1$ make
cd erts/system && ERL_TOP=/boot/home/tmp/erlang-47.4.1 make EMULATOR=jam opt
make[1]: Entering directory `/boot/home/tmp/erlang-47.4.1/erts/system'
Makefile:8: /boot/home/tmp/erlang-47.4.1/internal_tools/make//otp.mk: No such file or directory
make[1]: *** No rule to make target `/boot/home/tmp/erlang-47.4.1/internal_tools/make//otp.mk'.  Stop.
make[1]: Leaving directory `/boot/home/tmp/erlang-47.4.1/erts/system'
make: *** [emulator] Error 2
beos45:~/tmp/erlang-47.4.1$ 


More information about the erlang-questions mailing list