Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  Embedding Yaws in target system

Guest
Posted: Fri Jun 13, 2008 12:24 pm Reply with quote
Guest
Hi all,

I have created a target system and tried to embed yaws into the target system. Target system with yaws included in the release file, is created sucessfully but I am not able to run my .yaws files. It is showing the same error all times

Code:
Dynamic compile error in file  /usr/local/var/yaws/www/index.yaws line 85{undef,[{compile,file,                 ["/home/phanikar/.yaws/yaws/default/m1.erl",                  [binary,return_errors,
                   {i,"/home/phanikar/target-system/lib/yaws-1.76/examples/include"}]]},        {yaws_compile,compiler_proc,3},        {proc_lib,init_p,5}]}
Can any one please explain me what this error is about and how to overcome this one?


For creating a target system including yaws I installed the yaws in the root folder and had to copy the "/usr/local/lib/yaws/"
Guest
Posted: Fri Jun 13, 2008 12:54 pm Reply with quote
Guest
Phanikar.K wrote:
> Hi all,
>
> I have created a target system and tried to embed yaws into the target
> system. Target system with yaws included in the release file, is created
> sucessfully but I am not able to run my .yaws files. It is showing the
> same error all times
>
> Dynamic compile error in file /usr/local/var/yaws/www/index.yaws line 85
> {undef,[{compile,file,
> ["/home/phanikar/.yaws/yaws/default/m1.erl",
> [binary,return_errors,
>
> {i,"/home/phanikar/target-system/lib/yaws-1.76/examples/include"}]]},
> {yaws_compile,compiler_proc,3},
> {proc_lib,init_p,5}]}
>
> Can any one please explain me what this error is about and how to
> overcome this one?
>

Well - it's fairly clear. It says:

> {undef,[{compile,file,
> ["/home/phanikar/.yaws/yaws/default/m1.erl",
> [binary,return_errors,

That means that when .yaws page has been transformed into an
.erl page, the yaws server cannot compile the generated .erl file
You need to have the erlang compiler in the load path

/klacke

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist

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