From: Jonas P. <ma...@jl...> - 2011-03-19 13:09:09
|
Hi, I would like to develop some web applications using Erlang and Yaws. But I'm having problem with setting up Yaws on Ubuntu Server 10.10. First I updated my Ubuntu system with: sudo apt-get update sudo apt-get upgrade Then I installed Yaws with apt-get: sudo apt-get install yaws But when I run Yaws with yaws -i I get this error message: Yaws: Bad conf: "Can't find config file " Then I tried to start Yaws with yaws -i --conf /etc/yaws/yaws.conf but then I got this error message: Yaws: Bad conf: "Can't open config file /etc/yaws/yaws.conf" I guess there is some problems with the file permissions. Then I tried to install Yaws using the latest stable build: wget http://yaws.hyber.org/download/yaws-1.89.tar.gz tar xfz yaws-1.89.tar.gz sudo apt-get install gcc cd yaws ./configure && make But then I get errors during compilation: epam.c:2: fatal error: pam_appl.h: No such file or directory compilation terminated. make[1]: *** [epam.o] Error 1 make[1]: Leaving directory `/home/jonas/yaws-1.89/c_src` make: *** [all] Error 1 How can I install Yaws webserver on Ubuntu Server 10.10? |