Hey Tor,

2014-02-26 17:25 GMT+01:00 Tor Arne Fallingen <[email protected]>:

> Hey Koen.
>
> I am using Wt 3.3.1, but I looked in my /Wt/Dbo/backend directory, and I
> expected to find MySQL there but it isn't there. Also there is no
> <<resources>> folder anywhere to be found under /Wt. I guess you can read all
> about my installation in the Issues section.
>

That means your Wt was not build with MySQL support.

integration of the web based gui into the whole system. Today we had to sit
> down and decide wether we should proceed with Wt, being that we have
> encountered a few hinders trying to install and use it on both Raspberry
> Pi, MacBook and Windows 7. But the potential benefits of using Wt
> outweights the ease in using "the easier to find tutorials and guides>>
> option of html, php and js. Even though I assume the company have to pay a
> licensing fee if this goes to market. I also suspect that they might find
> Wt interesting and might want to use it in more than just this product.
>
> So, the install I did on my MacBook Pro, I followed your description for
> installing Wt on OSX Lion, and because Wim recommended installing
> everything in custom libraries, not the system default. Thats what I did. I
> have rather good control on whats in my Wt and Boost folders because of
> that. But I suspect it gives me some problems when Im trying to run
> programs. Some run fine, some dont.
>

Typically, when people are struggling with building Wt, they start trying
many things, end up with different (broken) Wt installations and end up
mixing things include- and link-wise. When you finally think you know how
to do the installation, I suggest you start from scratch: remove all Wt
stuff (even boost if you had to try multiple installations of boost) and
restart from step one.


> On the Raspberry Pi I only installed the libraries suggested in the <<cross
> compile on raspberry pi>> guide, and I can't find any MySQL or Bootstrap
> themes (Resources folder) there either. I suspect I should install more
> libraries on the RPi, but I followed the <<Installing Wt v3.3.0 on Debian
> wheezy>> first, and that just made my RPi stuck in a make process for hours.
> After 4-5 hours I turned it off and proceeded to reinstall it completely,
> and added the Cross compile libraries. This seems to have worked fine till
> we tarted wanting to use MySQL and Bootstrap themes.
>

For MySQL, see supra, that really means you ignored the "Not building Wt
with MySQL support... messages you got from CMake".

With respect to bootstrap: it's in Wt's resources folder which is installed
in 'share/Wt/'. They are simply files so you can safely copy them around
(as you would expect from something that is installed in 'share').

since you replied here, I was thinking I would ask advice from you. How
> would you have installed Wt on a Raspberry Pi? I tried using the
> <<Installing Wt on Debian>> guide today, but my sources list doesn't look
> anything close to what is displayed there, plus I could not login to the
> Sourceforge repository; <<public key missing>>!
>

We have installed Wt on a Raspberry Pi by using a cross-compilation from an
Ubuntu host system. Trying to cross-compile from MacOSX does make things
(unnecessarily) complicated. You would even be better of running things in
an ubuntu VM on your Mac if you do not have access to a Linux desktop.

For the MacBook, I wonder if I should install Boost and Wt 3.3.2, both to
> get the new version of Wt and maybe also the MySQL and Bootstrap themes? I
> kind of need them anyway. Also I wonder if I should install everything
> using sudo to let the installation be placed into the system default
> folder? What would you have done? According to Wim I would be able to
> switch between the versions and also have full control over what is
> installed by having them installed in custom directories, but I do seem to
> have a few bugs on trying to link them correctly into my Qt Creator
> projects... I see the benefits, and it is a smart way of remaining in
> control... But if I use sudo and custom install, and you release a new
> version, will I be able to install the new version and will that install
> overwrite the old files with the new ones?
>

As a user, I see only benefits of putting the installed libraries in the
default search path (e.g. /usr/local). After all, there's no reason to be
messing around with different versions of Wt at the same time.

As to using lighttpd on the RPi: why not simply run wthttpd on port 80?
That's by far the most simple (and most performant) option.

Regards,
koen
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to