Hi Steve,

Here is the output (lines 76 and 77 from include.mk):

INSTALL=/usr/bin/install -c

As you can see, the -d option is missing. I have autoconf 2.68, if this info helps.


On Fri, Jun 1, 2012 at 4:44 AM, Steve Vinoski <vinoski@ieee.org> wrote:
On Thu, May 31, 2012 at 7:39 PM, CGS <cgsmcmlxxv@gmail.com> wrote:
> Hi list,
> I managed to install Yaws 1.92 from git (following the instructions from
> http://yaws.hyber.org/configuration.yaws) on CentOS 5.8 (final), x86_64
> architecture, with Erlang/OTP R15B01, but I got few errors after building
> it. The errors were related to the path problems:
> 1. I started Yaws as root and it didn't create the CTL file because of
> non-existing a directory structure;

I found that in the code, the return value of filelib:ensure_dir for
this directory was not checked or asserted. I changed the code to
check that it returns ok.

> 2. error in finding /usr/local/var/log/yaws (non-existing at the boot).

This is strange, as this directory is created under "make install"
using an install program appropriate for the platform, typically
"install -c -d" which is supposed to create any missing directories.
What do you get if you run

grep INSTALL include.mk