Thank you!

On Wed, Dec 12, 2012 at 11:12 AM, Christopher Faulet <christopher.faulet@capflam.org> wrote:
On 12/12/2012 09:54, Alex Arnon wrote:
> Hi List,
>
> I've downloaded the 1.95 tar and tried to build it using R15B01, with
> the following configure line:
>
>   ./configure --prefix="/home/alex/run/yaws"
> --localstatedir="/home/alex/run/yaws/var"
> --sysconfdir="/home/alex/run/yaws/etc" --disable-pam
>
> At some point, make complains about mime_types.erl and dies:
>
> "/home/alex/tools/otp/r15b01/bin/erlc" -Werror  -pa ../../yaws -I
> ../include -o ../ebin mime_types.erl
> mime_types.erl:7: can't find include lib "yaws/include/yaws.hrl"
> mime_types.erl:13: variable 'P' is unbound
> mime_types.erl:13: variable 'SN' is unbound
> mime_types.erl:13: record sconf undefined
> mime_types.erl:17: variable 'P' is unbound
> mime_types.erl:17: variable 'SN' is unbound
> mime_types.erl:17: record sconf undefined
> mime_types.erl:2010: variable 'P' is unbound
> mime_types.erl:2010: variable 'SN' is unbound
> mime_types.erl:2010: record sconf undefined
> make[1]: *** [../ebin/mime_types.beam] Error 1
> make[1]: Leaving directory `/home/alex/dev/erlang/yaws/yaws-1.95/src'
> make: *** [all] Error 1
>
> There was no such problem with 1.94.
>

Hi Alex,

There is a problem with Yaws-1.95 when the working directory is not
named 'yaws'. This bug was fixed in the commit 7061375e
(https://github.com/klacke/yaws/commit/7061375e).

--
Christopher


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list