erlyaws / yaws

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

Unable to install on Ubuntu 18.04 and OTP 21 #369

Closed micheleriva closed 5 years ago

micheleriva commented 5 years ago

Hi, I am trying to install Yaws on my Ubuntu 18.04 machine (OTP 21). I've tried to install it with apt-get but after that, if I try to run yaws in my shell I get "command not found" error. I've tryied to build it from source as written here, but after running ./configure --prefix=/usr; make, I get the following error:

configure: error: "Could not find pam_appl.h required for pam authentication"
make: *** No targets specified and no makefile found.  Stop.

full log here

what can I do? Thanks!

vinoski commented 5 years ago

In the README.md it explains what packages you need to install to build Yaws. The last one in the list is the one you're missing:

Install build dependencies. Required packages to compile Yaws are (based on debian packages):

build-essential autoconf/automake/libtool erlang - Required apps: erlang-{kernel/stdlib/sasl/erts} erlang-compiler erlang-crypto erlang-xmerl libpam0g-dev

micheleriva commented 5 years ago

Such a dumb error. I'm sorry and thank you!

vinoski commented 5 years ago

No worries, I still forget to install that particularly rpm myself from time to time.