[erlang-questions] Makefile not generated for erlang folder

Chris Hicks iammononym@REDACTED
Fri Dec 22 18:32:45 CET 2017


Hello folks,

I'm using the otp_src_20.0.tar.gz downloaded from Erlang.com and following
the instructions found here:
http://erlang.org/doc/installation_guide/INSTALL.html

However, when I attempt to run `make` everything works fine until right
after the hipe application. The error I get is as follows:

make[2]: Leaving directory `<root folder>/build/private/src/lib/hipe'
make[2]: Entering directory `<root folder>/build/private/src/lib/erlang'
make[2]: *** No rule to make target `opt'.  Stop.

When looking at the erlang folder the Makefile has not been generated. The
build process is being handled by a custom build system and is kicked off
by a custom build script, which really just makes sure the required
libraries are linked so that they can be found when running `./configure`
and `make`

The relevant parts of the script are as follows, minus some long paths for
readability:

export ERL_TOP=$WRITABLE_SRC_DIR
SSL_CONFIG=" --with-ssl-zlib=<zlib path here> --with-ssl=<ssl path here>"
tar -xzf otp_src_20.0.tar.gz --strip-components 1 -C "$WRITABLE_SRC_DIR"
./configure "--prefix=$INSTALL_DIR" $SSL_CONFIG
make -j "$CPU_COUNT"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20171222/2f6c3e99/attachment.htm>


More information about the erlang-questions mailing list