[erlang-questions] compiling github's master from scratch

Cyryl Płotnicki-Chudyk <>
Thu Apr 26 07:29:04 CEST 2012


Hello !
I have problems compiling the master branch from scratch, both on
linux and macos.

[ dev]$ git clone https://github.com/erlang/otp.git
Cloning into 'otp'...
remote: Counting objects: 78204, done.
remote: Compressing objects: 100% (20703/20703), done.
remote: Total 78204 (delta 60145), reused 73570 (delta 56113)
Receiving objects: 100% (78204/78204), 56.08 MiB | 724 KiB/s, done.
Resolving deltas: 100% (60145/60145), done.
[ dev]$ cd otp/
[ otp]$ ls
aclocal.m4  configure.in            INSTALL-CROSS.md  make
prebuild.delete   README.md            TAR.include
AUTHORS     EPLICENCE               INSTALL.md        Makefile.in
prebuild.skip     README.md.txt        xcomp
bin         erl-build-tool-vars.sh  INSTALL-WIN32.md  otp_build
README.bootstrap  README.systemtap.md
bootstrap   erts                    lib               plt
README.dtrace.md  system
[ otp]$ autoconf
[ otp]$ ./configure
Ignoring the --cache-file argument since it can cause the system to be
erroneously configured
Disabling caching
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... 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... ld
checking for GNU make... yes (make)
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking ERTS version... 5.10
checking OTP release... R16B
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating make/emd2exml
=== configuring in lib (/home/cyryl/dev/otp/lib)
configure: WARNING: no configuration information is in lib
=== configuring in erts (/home/cyryl/dev/otp/erts)
configure: running /bin/sh /home/cyryl/dev/otp/erts/autoconf/configure
--disable-option-checking '--prefix=/usr/local'
--cache-file=/dev/null --srcdir=/home/cyryl/dev/otp/erts
/bin/sh: /home/cyryl/dev/otp/erts/autoconf/configure: No such file or directory
configure: error: /home/cyryl/dev/otp/erts/autoconf/configure failed for erts
[ otp]$ git branch
* master

Is it me or is it a bug ? If so - should I try to fix it or wait for
some patch ?


-- 
cyryl



More information about the erlang-questions mailing list