ProcessOne SiteCustomer Helpdesk and FeedbackFollow us on Twitter
 
   
 
Ywas problem
Posted: 26 March 2007 05:01 PM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2007-03-26

Hi All,

  Do you also get following message during yaws installation under cean?

Erlang (BEAM) emulator version 5.5.2.2 [source] [async-threads:0]

Eshell V5.5.2.2 (abort with ^G)
1> cean:install(yaws).
error: no yaws package found
error
2>

Profile
 
 
Posted: 29 March 2007 03:10 PM   [ Ignore ]   [ # 1 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  134
Joined  2006-11-13

This is a normal message
you are running under windows, and if you read the yaws page here
http://cean.process-one.net/packages/index.yaws?action=detail&name=yaws
you can see it is not supported on windows.
This will be corrected very soon. please check the upcoming CEAN version in few days.

Profile
 
 
Posted: 29 March 2007 04:16 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  2
Joined  2007-03-29

I have the same problem with yaws on FreeBSD 6.2 and gives the same error both on the develop version and production.  I noticed on the link for yaws on cean shows no support for FreeBSD also

Profile
 
 
Posted: 29 March 2007 04:53 PM   [ Ignore ]   [ # 3 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  134
Joined  2006-11-13

Yes, in fact it should work most of the time. the package has just not been generated due to missing setuid_drv.so.
I know yaws is an important package, I will make it available for all platforms, and tagging status as partial support.

Profile
 
 
Posted: 11 April 2007 08:14 AM   [ Ignore ]   [ # 4 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  134
Joined  2006-11-13

yaws has been added for most common platforms, even if setuid_drv.so has not been generated.
that will let people do things.

Profile
 
 
Posted: 11 April 2007 10:12 AM   [ Ignore ]   [ # 5 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  134
Joined  2006-11-13

some problems seems to occure:

from bogdan marinescu:
I also noticed that the “yaws” script which is used to start yaws in
stand-alone mode is missing from the distribution.

compilation issue: can’t find include file
“c:/cean_otp/erlang/erts-5.5.4/windows/lib/yaws-1.68/include/yaws_api.hrl”

well, I do not have windows, can you remove erlang/erts-5.5.4/windows/lib/yaws-1.68 and
into start.bat, can you change to the following ?
cd erlang
start erts-$ERTS\windows\bin\werl.exe

it tries to include ../lib/*/include, so we should be into erlang and not into erlang/erts-../windows/bin

Profile
 
 
Posted: 11 April 2007 10:20 AM   [ Ignore ]   [ # 6 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  134
Joined  2006-11-13

concerning the script, to you mean that including the scripts directory is welcome ?
(it includes the yaws.template that is used to generate the yaws script, but cean can not generate it by itself)

Profile
 
 
Posted: 11 April 2007 10:26 AM   [ Ignore ]   [ # 7 ]
Newbie
Rank
Total Posts:  4
Joined  2007-04-11

Hi,

1. I modified the start.bat as you suggested, this is how it looks now:

@echo off
set ERL_MAX_PORTS=32000
set CEAN_SERVER=http://cean.process-one.net
rem set HTTP_PROXY=your.proxy.host:port

rem cd erlang\erts-5.5.4\windows\bin
rem start werl.exe
cd erlang
start erts-5.5.4\windows\bin\werl.exe

Unfortunately, it doesn’t work anymore. This is the error I get:

{“init terminating in do_boot”,{‘cannot get bootfile’,’../../../bin/start.boot’}
}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()


Abnormal termination

2. I didn’t know that the file was generated (sorry, I’m quite new to this). I tried to modify the “yaws” file (a shell script) I got from linux myself, but it turns out it’s not that easy. I’ll stick with the embedded mode for now. Maybe one could include a “hacked” yaws startup script that can be used on windows.

Thanks,
Bogdan

Profile
 
 
Posted: 11 April 2007 10:32 AM   [ Ignore ]   [ # 8 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  134
Joined  2006-11-13

hum, ok, the erl.ini should also be modified.
this is not a good way to do things by the way, so I will try to reproduce the path problem and find a good solution for that.
thanks for testing.

Profile
 
 
Posted: 11 April 2007 10:34 AM   [ Ignore ]   [ # 9 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  134
Joined  2006-11-13

any volunteer for a simple yaws.bat script for windows ?

Profile
 
 
Posted: 11 April 2007 11:11 AM   [ Ignore ]   [ # 10 ]
Newbie
Rank
Total Posts:  4
Joined  2007-04-11
Christophe Romain - 11 April 2007 10:34 AM

any volunteer for a simple yaws.bat script for windows ?

I’ll try, but I don’t really know when it will be ready.

Profile
 
 
Posted: 11 April 2007 01:54 PM   [ Ignore ]   [ # 11 ]
Newbie
Rank
Total Posts:  4
Joined  2007-04-11

Well, it didn’t take so long after all. I have a yaws.bat file (quite minimal compared to its unix counterpart) and a simple yaws.conf file. In my system they are both in the CEAN root directory. You can specify a different config file with yaws.bat (though you might have to edit it if you change the location), but the location of yaws.bat should not change (or if it must change, some of the paths inside must change too).
However, I just found out that the forum won’t let me upload them (not even after I added a .bmp extension to them :) ).So what should I do with them?

Thanks,
Bogdan

EDIT: I just noticed ... with this start script and the yaws.conf file, the problem reported earlier (about the include directory) doesn’t appear anymore. So it might be a yaws configuration problem after all (when it starts in embedded mode).

Profile
 
 
Posted: 11 April 2007 02:01 PM   [ Ignore ]   [ # 12 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  134
Joined  2006-11-13

great !

as explained into contrib page of cean web site, you can drop me an email à ‘contrib at process-one dot net’
I do not promise to include it today, i’ll check about later.
Many thanks !

Profile
 
 
Posted: 11 April 2007 02:11 PM   [ Ignore ]   [ # 13 ]
Newbie
Rank
Total Posts:  4
Joined  2007-04-11

No problem, thank you for your work on CEAN :) Please, before including them, take a good look at them, I’m still a beginner when it comes to Erlang/Yaws and I might have missed something.
Mail sent.

Profile
 
 
Posted: 23 April 2007 02:22 PM   [ Ignore ]   [ # 14 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  134
Joined  2006-11-13

yaws package actually been worked on, i’ll looking for integration of your files

Profile