[erlang-questions] Both yaws install by cean and on cygwin failing

joe lee codewalkerjoe@REDACTED
Sat Nov 10 00:20:45 CET 2007


I fixed the make by following the blog:
http://bloggablea.wordpress.com/2007/04/21/building-yaws-for-windows/

Now, when I do "make install", I get extra "/" in front, like this:
//usr/local/yaws.  I am not sure where this extra forward slash is
coming from.  Anyone knows why you get the extra /?


./configure --prefix=/usr/local/yaws
make
make install

"make install" problem:

set -e ; \
        for d in c_src src man www/shopingcart www/code doc scripts ; do \
            if [ -f $d/Makefile ]; then ( cd $d && make install ) || exit 1 ; fi
 ; \
          done
make[1]: Entering directory `/home/joe/apps/yaws-1.73/c_src'
/usr/bin/install -c -d //usr/local/yaws/lib/yaws/priv/lib
/usr/bin/install: cannot create directory `//usr': No such host or network path
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/joe/apps/yaws-1.73/c_src'
make: *** [install] Error 1

thnx,
joe

On Nov 8, 2007 7:29 AM, joe lee <codewalkerjoe@REDACTED> wrote:
> Yaws install in cygwin is failing on make:
>
> ./configure --prefix=/usr/local/yaws
>
> When I tried doing "make", I am getting the following error:
>
> if [ ! -z "" ]; then \
>            echo   > charset.def; \
>         else rm charset.def 2> /dev/null; touch charset.def; fi
> /cygdrive/i/Program Files/erl5.5.5/bin/erl -noshell  -pa ../ebin -s mime_type_c
>  compile
> make[1]: /cygdrive/i/Program: Command not found
> make[1]: *** [mime_types.erl] Error 127
> make[1]: Leaving directory `/home/joe/apps/yaws-1.73/src'
> make: *** [all] Error 1
>
>
> I also tried to install yaws through cean:install(yaws), I get an error as:
>
> 2> cean:install(yaws).
> error: yaws not found in download
> error
>
> I have erlang 5.5.5 OTP R11B and have it installed on windows xp at
> i:\Program Files\erl5.5.5
>
> thanks,
> joe
>



More information about the erlang-questions mailing list