[erlang-questions] Makefile not generated for erlang folder
Fri Dec 22 18:32:45 CET 2017
I'm using the otp_src_20.0.tar.gz downloaded from Erlang.com and following
the instructions found here:
However, when I attempt to run `make` everything works fine until right
after the hipe application. The error I get is as follows:
make: Leaving directory `<root folder>/build/private/src/lib/hipe'
make: Entering directory `<root folder>/build/private/src/lib/erlang'
make: *** 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`
The relevant parts of the script are as follows, minus some long paths for
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...
More information about the erlang-questions