[erlang-questions] Issue starting Yaws in Cygwin

Berlin Brown berlin.brown@REDACTED
Tue Aug 5 18:06:07 CEST 2008



On Aug 5, 11:32 am, Berlin Brown <berlin.br...@REDACTED> wrote:
> I am trying to get yaws 1.77 running on cygwin.  The instructions seem
> pretty detailed and up to the point of running, everything worked
> fine.  But when I run I get the following error:
>
> $ bin/yaws
> Eshell V5.6  (abort with ^G)
> 1>
> =INFO REPORT==== 5-Aug-2008::11:27:52 ===
> Yaws: Using config file c:/projects/tools/home/src/yaws/run/etc/
> yaws.conf
> 1>
> =INFO REPORT==== 5-Aug-2008::11:27:52 ===
>     application: crypto
>     exited: {shutdown,{crypto_app,start,[normal,[]]}}
>     type: temporary
> 1>
> =ERROR REPORT==== 5-Aug-2008::11:27:52 ===
> Failed to start: badarg
> 1>
>
> Most recent version of Erl (most recent download as of  7/20/2008),
> and Yaws (most recent as of 8/5/2008)
>
> I ran this to check if crytpo is available.
>
> 1> crypto:module_info().
> [{exports,[{stop,0},
>            {info,0},
>            {md5,1},
>            {md5_init,0},
>            {md5_update,2},
>            {md5_final,1},
>            {sha,1},
>            {sha_init,0},
>            {sha_update,2},
>            {sha_final,1},
>            {md5_mac,2},
>            {md5_mac_96,2},
>            {sha_mac,2},
>            {sha_mac_96,2},
>            {des_cbc_encrypt,3},
>            {des_cbc_decrypt,3},
>            {des_cbc_ivec,1},
>            {des3_cbc_encrypt,5},
>            {des_ede3_cbc_encrypt,5},
>            {des_ede3_cbc_decrypt,5},
>            {aes_cfb_128_encrypt,3},
>            {aes_cfb_128_decrypt,3},
>            {rand_bytes,1},
>            {rand_bytes,3},
>            {rand_uniform,...},
>            {...}|...]},
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questi...@REDACTED://www.erlang.org/mailman/listinfo/erlang-questions

Ok, because the crypto module doesn't seem to be used that much.  I
went ahead and commented out the bad code.  in yaws_ctl.erl.

There was probably an API change in Erlang and a mismatch with Yaws.

I did 'make' and then 'make install' again.

 crypto:start()
 %%crypto:rand_uniform(0, 1 bsl 64)



More information about the erlang-questions mailing list