Is Yaws written purely in Erlang?

View: New views
3 Messages — Rating Filter:   Alert me  

Is Yaws written purely in Erlang?

by Alpár Jüttner-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

The yaws web page says that

"Yaws is entirely written in Erlang [...]"

however I can see some C code in the repository. Which features needs
them?

Is it possible to use Yaws without them?

(I would like to make a fully portable (.beam only) application using
Yaws).

Regards,
Alpar



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@...
https://lists.sourceforge.net/lists/listinfo/erlyaws-list

Re: Is Yaws written purely in Erlang?

by Steve Vinoski-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Mon, Oct 12, 2009 at 9:32 AM, Alpár Jüttner <alpar@...> wrote:
Hi,

The yaws web page says that

"Yaws is entirely written in Erlang [...]"

however I can see some C code in the repository. Which features needs
them?

Is it possible to use Yaws without them?

All the C portions are optional. To disable the sendfile capability make sure you configure with --disable-sendfile and to disable pam configure with --disable-pam.

(I would like to make a fully portable (.beam only) application using
Yaws).

I think some C code might still get built and installed even with these config flags, but just delete it from your distribution before packaging.

--steve

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@...
https://lists.sourceforge.net/lists/listinfo/erlyaws-list

Re: Is Yaws written purely in Erlang?

by Alpár Jüttner-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


>
> All the C portions are optional. To disable the sendfile capability
> make sure you configure with --disable-sendfile and to disable pam
> configure with --disable-pam.

It works. Thanks.

Regards,
Alpar

>
>         (I would like to make a fully portable (.beam only)
>         application using
>         Yaws).
>
>
> I think some C code might still get built and installed even with
> these config flags, but just delete it from your distribution before
> packaging.
>
>
> --steve


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@...
https://lists.sourceforge.net/lists/listinfo/erlyaws-list