On Wed, Sep 16, 2009 at 11:44 PM, Diego Cantor-Rivera
<[email protected]> wrote:
> Dear Witty Fellows,
>
> First of all, thank you very much for the excellent work that you guys
> have done with the Witty library.
>
> Second, I just joined the mail list and as new user I had to struggle a
> little bit to install wt-2.99-5 on my Ubuntu distribution.
>
>
> After installing the Wt library as indicated in the wiki, I tried to run
> the cmake command that appears there. However I don't have a
> /usr/share/doc/witty-doc source dir. Neither I have the
> /usr/share/doc/witty-doc/examples (Should the wiki get updated?)

You would have those directories if you had installed witty from the
Ubuntu packages. As you installed from source, i. e. you built Wt
yourself, those directories do not exist.

What wiki package did you read? I think you made a mix of what you
read in http://www.webtoolkit.eu/wt/wiki/index.php/Installing_Wt_on_Ubuntu
sections 1 and 2 (installing from packages) with what you read in
section 3 (installing from source).

> After some trial and error I just went into the "build" directory, then
> into examples and executed a make
>
> then I go to one of the examples, say hello and type:
>
> ./hello.wt --docroot . --http-address 127.0.0.1
>
> which also works if I run the respective file deploy.sh and then I go to
>
> /var/www/localhost/htdocs/wt-examples/hello and run the same instruction
>
> ./hello.wt --docroot . --http-address 127.0.0.1
>
> from there.
>
> Does this method make sense?

That's the right way if you are installing from source.

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to