Hey again koen. Allright, I definitively see your point in removing everything and starting all over again, and that way Im probably going to end up getting things right. But that also means executing all commands with sudo prepending. So, how do I make sure I get MySQL in my install? Here is the ./b2 and the cmake I used for my install. Could you please see if Im missing something that I should include? I would like to install all extras that I can, because experience show that I suddenly need something I didn’t know at the time if the install.¨
./b2 toolset=clang --without-mpi --prefix=/Users/taf/Libraries cxxflags="-arch i386 -arch x86_64 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -stdlib=libc++ -ftemplate-depth=512" linkflags="-stdlib=libc++" stage release cmake -DCMAKE_CXX_FLAGS='-stdlib=libc++' -DCMAKE_INSTALL_PREFIX=/Users/taf/Wt -DBOOST_PREFIX=/Users/taf/Boost -DCMAKE_EXE_LINKER_FLAGS='-stdlib=libc++' -DCMAKE_MODULE_LINKER_FLAGS='-stdlib=libc++' -DWT_CPP_11_MODE='-std=c++11' ../ Of course Ill remove my prefixes! For the RPi, have you installed one with Wt complete, for working on the RPi itself, not cross compiling? If you did, which of the methods did you use? One of the install guide, or «Unix» like systems? Then the last question, Ive come to really like Linux, even though I am a Mac user. What VM would you recommend (or do you use) for making a Virtual Ubuntu install on my mac? Great of you to give me advice by the way! Regards, Tor 26. feb. 2014 kl. 20:01 skrev Koen Deforche <k...@emweb.be>: > Hey Tor, > > 2014-02-26 17:25 GMT+01:00 Tor Arne Fallingen <fallin...@gmail.com>: > 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 > witty-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/witty-interest
signature.asc
Description: Message signed with OpenPGP using GPGMail
------------------------------------------------------------------------------ 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 witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest