Hey Wim and Koen. Sorry to be such a pain! But now we are nearing the end of our project and I was trying to make a new nice clean installed SD-Card for our raspberry pi. We have tried, tested and discarded a few programs along the way, but during development we haven’t been removing programs when they have become redundant, and as such the installs have grown a bit unnecessary large. This time Ive narrowed it down to installing mysql, libboost-all-dev, qtcreator and a couple of qt and boost dependencies. Then we come back to the good old building of Wt from source. I tried Wim’s approach, just following the ubuntu guide, cmake completes perfectly adding mysql backend and all seems wonderful, but then during make (sudo make), the pi starts treshing away at the source code for hours (literally hours), but at 88% I get the following:
[ 88%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/SqlQueryParse.o c++: internal compiler error: killed (program cc1plus) Please submit a full …. with pre pro….. see file ….. make[2]: ***[src/Wt/Dbo/CMakeFiles/wtdbo.dir/SqlQueryParse.o] Error 4 make[1]: ***[src/Wt/Dbo/CMakeFiles/wtdbo.dir/all] Error 2 make: *** [all] Error 2 From my previous debacle with Wt, I remembered the tip about commenting out line 11 in Render/CssParser.C Then I tried installing only the «cross compile» packages, but this result in a bit lacking an install, I need the mysql backend and bootstrap as well. Then I tried to install libwt*, but this tells me I have unmet dependencies and conflicts. And E: Unable to correct problems, you have held broken packages. I did install both g++ and gcc to the newest versions. I see that this is a compiler problem, but I have a feeling that you guys are able to pinpoint this issue for me :) Wim, the clean debian install you did before the weekend, was that a raspberry install or a regular debian? Best regards, Tor 28. feb. 2014 kl. 17:04 skrev Tor Arne Fallingen <fallin...@gmail.com>: > 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
------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR
_______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest