Erlang 25.0.4 failed to compile in Fedora Release 36

./configure && make fails with the below error.

make[4]: *** No rule to make target 'x86_64-pc-linux-gnu/opt/jit/erl_compile_flags.h', needed by 'obj/x86_64-pc-linux-gnu/opt/jit/erl_bif_info.o'.  Stop.

Any idea if any package or library missing in Fedora Release 36

Solved it by installing the below package
sudo dnf install perl-File-Copy

3 Likes