From: CGS <cgs...@gm...> - 2012-06-01 12:34:25
|
I really don't know what happened during the installation because I found in scripts/INSTALL (line 22): install -d ${destdir}${vardir}/log/yaws which should have been processed. I also test install -d separately and it works fine on that OS. Strangely enough, I suppose that will remain a mystery for the moment and, who knows, maybe this is an isolated case. Maybe it wouldn't be a bad idea to check if all the directory structure was completed before exiting from the installation part. Cheers, CGS On Fri, Jun 1, 2012 at 1:46 PM, Steve Vinoski <vi...@ie...> wrote: > The -d option is supplied within the makefiles, at the points where > the install tool is used. > > --steve > > On Fri, Jun 1, 2012 at 6:58 AM, CGS <cgs...@gm...> wrote: > > Hi Steve, > > > > Here is the output (lines 76 and 77 from include.mk): > > > > INSTALL=/usr/bin/install -c > > INSTALL_DATA=${INSTALL} -m 644 > > > > As you can see, the -d option is missing. I have autoconf 2.68, if this > info > > helps. > > > > Cheers, > > CGS > > > > > > > > > > > > > > On Fri, Jun 1, 2012 at 4:44 AM, Steve Vinoski <vi...@ie...> wrote: > >> > >> On Thu, May 31, 2012 at 7:39 PM, CGS <cgs...@gm...> 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 > >> > >> thanks, > >> --steve > > > > > |