erlyaws / yaws

Yaws webserver
https://erlyaws.github.io
BSD 3-Clause "New" or "Revised" License
1.28k stars 267 forks source link

Node crash due to missing runtime dependency #331

Closed leoliu closed 6 years ago

leoliu commented 6 years ago

Cannot start (get a crash dump instead) a release with embedded Yaws due to {undef, {compile, file, [.....]}}. Yaws has run-time dependency on OTP compiler which is missing in the yaws.app file.

vinoski commented 6 years ago

If you're building Yaws via automake, you can add compiler to the yaws.app file by passing the --enable-compiler command-line option to configure. If you're building via rebar you can set the OS environment variable YAWS_APPDEPS=compiler for the rebar build process.

leoliu commented 6 years ago

Thanks a lot.