Hey Wim, I was actually sitting here trying to figure how to set that prefix, and saw this mail come in. You answer two things I were wondering about here :) I was suspecting that I needed to have MySQL installed on my macbook to get the mysql backend, and you confirmed that, in addition to telling me how to force cmake to find the MySQL installation. I did not have MySQL installed on my Mac earlier, but I wanted the MySQL libraries to be able to make programs that I want to run on the Raspberry Pi, so basically I was thinking just having the libraries available in my Wt install would be good. But I installed MySQL earlier today, and I will redo my cmake for Wt-3.3.2-rc2 before installing.
The previous install of Wt on my RPi didn’t have the MySQL backend either, but Im pretty sure I hadn’t installed the libmysqlclient-dev library before installing Wt, so this should solve this issue (since its the main project before graduating from my engineering education, I have kept pretty accurate logs of all my installations, both fails and successes). One other thing If I may, in that previous installation, I can’t see any Resources folder with the Bootstrap themes. Any ideas why? Where would it be located normally? /usr/lib/Wt/ or /usr/include/wt/ or maybe somewhere completely different? I tried building an installation out of the new rc2 for pi, but make failed on like 65%, I sent a question, but that got stopped and awaits admin approval because the mail started getting too large. This is the conclusion: c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions. make[2]: *** [src/CMakeFiles/wt.dir/Wt/Render/CssParser.o] Error 4 make[1]: *** [src/CMakeFiles/wt.dir/all] Error 2 make: *** [all] Error 2 This is a freshly installed RPi containing the recent Wheezy, lighttpd, mysql and qtcreator. Regards, Tor 28. feb. 2014 kl. 16:42 skrev Wim Dumon <w...@emweb.be>: > Hi Tor, > > > So cmake says: > ** Wt::Dbo: not building MySQL backend. > Indicate the location of your mariadb or mysqlclient installation using > -DMYSQL_PREFIX=... and the library to search for (e.g. mariadb or > mysqlclient) using -DMYSQL_LIBRARY=... > > The mysql client libraries and header files must exist on your system in > order to compile the Wt::Dbo MySQL backend. Did you install package > libmysqlclient-dev? You'll also have to install this package on your > raspberry pi. > > BR, > Wim. > > > > > 2014-02-27 20:02 GMT+01:00 Tor Arne Fallingen <fallin...@gmail.com>: > > koen, > I feel a bit stupid for asking, but now I have gone ahead and started the > reinstall of boost and Wt (of course using the last release), and boost > finished with a rather positive summary: > ...failed updating 1 target... > ...skipped 1 target... > ...updated 1030 targets… > But running cmake in Wt/build, I see that there is several things are omitted: > ** Disabled WRasterimage support. Set WT_WRASTERIMAGE_IMPLEMENTATION to > GraphicsMagick or skia. > -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) > ** Disabling PDF support (WPdfImage, WPdfRenderer): requires libharu. > Indicate the location of your haru library using -DHARU_PREFIX=... > ** Disabling raster image support (WRasterImage): set > WT_WRASTERIMAGE_IMPLEMENTATION to GraphicsMagick or skia. > ** Disabling server-side opengl rendering for WGLWidget: requires gl, glew > and WRasterImage (GraphicsMagick or skia). > ** Disabling advanced font rendering support: requires libpango. > Wt will use pkg-config to retrieve your libpango installation location. > ** Wt::Dbo: building SQLite3 backend. > ** Wt::Dbo: not building Postgres backend. > Indicate the location of your postgres installation using > -DPOSTGRES_PREFIX=... > ** Wt::Dbo: not building Firebird backend. > Indicate the location of your FirebirdSQL and IBPP installation using > -DFIREBIRD_PREFIX=... -DIBPP_SRC_DIRECTORY=... > ** Wt::Dbo: not building MySQL backend. > Indicate the location of your mariadb or mysqlclient installation using > -DMYSQL_PREFIX=... and the library to search for (e.g. mariadb or > mysqlclient) using -DMYSQL_LIBRARY=... > ** Disabling ISAPI. > ** Disabling FCGI connector: requires libfcgi > Indicate the location of libfcgi using -DFCGI_PREFIX=..., or omit this > connector using -DCONNECTOR_FCGI=OFF > ** Enabling built-in httpd. > -- Looking for crypt > -- Looking for crypt - found > -- ** Not building mandelbrot example: requires Wt::WRasterImage. > -- ** Not building style example: requires WRasterImage. > ** Testing Wt::Dbo using Sqlite3 backend > -- Configuring done > -- Generating done > -- Build files have been written to: /Users/taf/wt-3.3.2-rc2/build > Is it possible to force installation of some of these? I assume they are > omitted because I dont have the targeted software installed. Or is it > possible to install some of these in the future. Lets say I suddenly want to > install the mysql backend to write programs for logging into a external Mysql > database? Do I have to have MySQL installed here to get the backend installed? > > This time I install everything into the system default locations, so Id > rather ask first, than after the damage is done. > > For the ubuntu install… It doesn’t seem like Wt(cmake) find boost, and I dont > know what to put in BOOST_COMPILER in the CMakeLists.txt there. The > BOOST_PREFIX I think I could find, also the version. > > Regards, > Tor > > > ------------------------------------------------------------------------------ > 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