Erlang Mailing Lists

Author Message

<  Yaws mailing list  ~  YAWS on Win XP

Guest
Posted: Fri Sep 22, 2006 12:04 am Reply with quote
Guest
I downloaded YAWS Smile, minGW & msys;
now :

$ make
make[1]: Entering directory `/c/yaws/c_src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/c/yaws/c_src'
make[1]: Entering directory `/c/yaws/src'
"@ERLC@" -W -pa ../../yaws -o ../ebin yaws.erl
/bin/sh.exe: @ERLC@: command not found
make[1]: *** [../ebin/yaws.beam] Error 127
make[1]: Leaving directory `/c/yaws/src'
make: *** [all] Error 1

if you had similar experience pls. help
Thanks in advance,
Patrick

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Fri Sep 22, 2006 7:46 am Reply with quote
Guest
Pat e wrote:
> I downloaded YAWS Smile, minGW & msys;
> now :
>
> $ make
> make[1]: Entering directory `/c/yaws/c_src'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/c/yaws/c_src'
> make[1]: Entering directory `/c/yaws/src'
> "@ERLC@" -W -pa ../../yaws -o ../ebin yaws.erl
> /bin/sh.exe: @ERLC@: command not found
> make[1]: *** [../ebin/yaws.beam] Error 127
> make[1]: Leaving directory `/c/yaws/src'
> make: *** [all] Error 1
>


I suggest the yaws/windows community use the yaws wiki
to upload instructions tips tricks etc on how to get
yaws going on erlang on windows.

I'm sorry, I don't run any windows machines anywhere.
Yaws has been know to compile and run just fine on Windows.
I remember that when I did have windows machines, the easiest
way forward was to install cygwin in order to be able to
run configure and make.

The above error is a sure sign that configure hasn't run
properly. One of the most important tasks of the yaws configure
script is to figure out which 'erl' to use and then susbstitute
@ERL@ with the right path.

/klacke

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
tobbe
Posted: Fri Sep 22, 2006 7:52 am Reply with quote
User Joined: 19 Jan 2005 Posts: 274 Location: Stockholm, Sweden
This was discussed not long ago on this list.
On alternative that came up was to use the REPOS
version of Yaws. See:

https://support.process-one.net/doc/display/CONTRIBS/Erlang+REPOS

--Tobbe


Pat e skrev:
> I downloaded YAWS Smile, minGW & msys;
> now :
>
> $ make
> make[1]: Entering directory `/c/yaws/c_src'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/c/yaws/c_src'
> make[1]: Entering directory `/c/yaws/src'
> "@ERLC@" -W -pa ../../yaws -o ../ebin yaws.erl
> /bin/sh.exe: @ERLC@: command not found
> make[1]: *** [../ebin/yaws.beam] Error 127
> make[1]: Leaving directory `/c/yaws/src'
> make: *** [all] Error 1
>
> if you had similar experience pls. help
> Thanks in advance,
> Patrick
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
View user's profile Send private message Send e-mail Visit poster's website
ugglan
Posted: Fri Sep 22, 2006 9:48 am Reply with quote
User Joined: 17 Sep 2006 Posts: 16
I tried an entire day to get Yaws to work in a cygwin environment but failed.

Now I have Yaws running on a virtual linux server in VMWare player instead, I really recommend that setup for anyone who wants do develop locally on Windows.

/Tobias


On 9/22/06, Torbjorn Tornkvist <tobbe@tornkvist.org (tobbe@tornkvist.org)> wrote:
Quote:

This was discussed not long ago on this list.
On alternative that came up was to use the REPOS
version of Yaws. See:

https://support.process-one.net/doc/display/CONTRIBS/Erlang+REPOS

--Tobbe


Pat e skrev:
>
View user's profile Send private message
rosco_pc
Posted: Fri Sep 22, 2006 12:46 pm Reply with quote
Joined: 22 Sep 2006 Posts: 3
It is possible to run Yaws directly under windows. I just posted a new page on the yaws wiki, which includes the install scripts needed for this.

Just download the scripts unpack in the yaws directory and run using:
install yaws

Just running install will give you some more information. The install is not complete, it will currently install only yaws, examples and wiki. All other applications you'l lhave to add by hand. I've started looking at getting yapp up and running, but have not gotten that much time for it yet.


Have fun
/Rob
View user's profile Send private message
Guest
Posted: Sat Sep 23, 2006 2:25 am Reply with quote
Guest
I also struggled with the build in cygwin, but was able to do it in the
end.

Basically I followed
http://yaws.hyber.org/wiki/showPage.yaws?node=YawsAndCygwin

In addition, I think I had some problems with the path to Erlang
installation directory (under Program Files). Some parts of the build
script didn't work well with spaces in the path. I ended up making a
symbolic link to erlang installation directory in a location with no
spaces in path and adding that to the beginning of PATH.

For some reason, the yaws start script didn't work for me. Instead of
figuring what was wrong I just went through the script, picked the
relevant parameters and stuffed them to a .bat file. With that, I was
able to start yaws directly from windows without the cygwin shell.

-juhani

> -------- Original Message --------
> Subject: Re: [Erlyaws-list] YAWS on Win XP
> From: "Tobias L
mizanyx
Posted: Wed Mar 21, 2007 2:47 am Reply with quote
Joined: 21 Mar 2007 Posts: 1 Location: Mexico City, Mexico
Hi. I had the problem of being unable to make YAWS working on my WinXP machine. Crying or Very sad I had Erlang R11B, installed from the Windows installer downloadeable from the official page.

First, I downloaded and installed Cygwin, specially the development packages: gcc-mingw, autoconf 1.19, automake, make.

Then, from Cygwin, i unpacked the yaws-1.68.tar.gz file and deleted the 'yaws' symbolic link. To avoid problems with autotools and folders with spaces in their name, i mounted the Erlang path into /erlang/ and prepended /erlang/bin to my $PATH. I prepended instead of appending because that path was already at the end of my $PATH variable so i could start it from commandline.

I followed then the directives in
[url]http://yaws.hyber.org/wiki/showPage.yaws?node=YawsAndCygwin [/url]

so i could have a working YAWS. Then, i created a yaws-1.68 folder under [Erlang Install Dir]/lib and copied the folders bin, doc, ebin, include and src from the yaws-1.68 build folder in my cygwin to there.

Now i can start a server from the Erlang shell easily to point to any given folder, using the instructions on the page:

[url]http://yaws.hyber.org/embed.yaws[/url]

by example:

Code:
Erlang (BEAM) emulator version 5.5.3 [async-threads:0]

Eshell V5.5.3  (abort with ^G)
1> yaws:start_embedded("C:/Documents and Settings/Mizanyx/Mis documentos/Aptana
razy/Accordion01").

=INFO REPORT==== 20-Mar-2007::20:02:30 ===
Yaws: Listening to 127.0.0.1:8000 for servers
 - http://localhost:8000 under C:/Documents and Settings/Mizanyx/Mis documentos
AptanaCrazy/Accordion01
ok
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum