Hey again, Its a new day and Ive started from scratch again, deleting my virtual box rpi and importing the base setup file again. It does seem like the building of boost gives more than a few warnings. Many like this: ...failed gcc.compile.c++ bin.v2/libs/log/build/gcc-4.4.3/debug/address-model-64/build-no/log-api-unix/threading-multi/threadsafe_queue.o…
then this line from the installation guide failed mv stage/lib/* /usr/local/lib The message is that there is no such directory. Im wondering which files used to be in the stage/lib/ directory, because that might be the sole reason for the installation of Wt failing (which it just did). I do think there has to have been a few modifications in where files are placed between V1.54 and V1.55, and Id really like to figure out exactly what has changed, as to fix the installation guide. Regards Tor 2. apr. 2014 kl. 21:44 skrev Raymond Burkholder <r...@oneunified.net>: > Hello, > > I am the author of that article. I had to dig into the cmake files myself to > figure out how to make the stuff work. Boost has to be compiled in just the > right way for the cmake files to find the boost repository. It was a painful > experience. But you are saying that you tried to change the boost settings > in the cmake file. I tried to do that for my own build, but to no avail. > The cmake files demand certain files in certain places, so, unfortunately, > you’ll need to build and place the files to conform to cmake’s world view. > You can’t edit the CMakeCache.txt file, the actual boost search functions are > hidden away deep down in a dependency list. > > As such, you will need to follow the directions I had earlier in the post for > building boost. Including the final ‘ln’ statement. You should be able to > substitute the latest boost version for the one used in the example. > > Also note, that with the stack statement, one of the libraries may not build, > I think it was the log library. But everything else builds appropriately and > is useable. > > cd /usr/src > wget > http://downloads.sourceforge.net/project/boost/boost/1.54.0/boost_1_54_0.tar.gz > tar -zxvf boost_1_54_0.tar.gz > cd boost_1_54_0 > ./bootstrap.sh > CXX="g++ -Wl,--stack=0x2000000" ./b2 --layout=versioned toolset=gcc > variant=debug \ > link=shared threading=multi runtime-link=shared address-model=64 stage > mv stage/lib/* /usr/local/lib > ln -s /usr/src/boost_1_54_0/boost /usr/local/include/boost > > > From: Tor Arne Fallingen [mailto:fallin...@gmail.com] > Sent: Wednesday, April 02, 2014 10:33 > To: witty-interest@lists.sourceforge.net > Subject: [Wt-interest] Finding boost, installing on Wheezy. > > Hey all. > > It seems every time I try and download and install Boost and Wt either on > Debian Wheezy (Rpi) or Ubuntu (Virtualbox) I end up encountering a problem > when I get to the cmake part of the Wt install. I follow the guide found at > http://blog.raymond.burkholder.net/index.php?/archives/539-Installing-Wt-v3.3.0-on-Debian-Wheezy.html > and I modify the cmake from: > > cmake \ > -D MULTI_THREADED=ON \ > -D RUNDIR=/var/www/wt \ > -D WEBUSER=www-data \ > -D WEBGROUP=www-data \ > -D BOOST_ROOT=/usr/local \ > -D BOOST_LIBRARYDIR=/usr/local/lib \ > -D BOOST_INCLUDEDIR=/usr/local/include/boost \ > -D SHARED_LIBS=ON \ > -D CONNECTOR_FCGI=OFF \ > -D CONNECTOR_HTTP=ON \ > -D USERLIB_PREFIX=lib \ > -D Boost_USE_STATIC_LIBS=OFF \ > -D Boost_USE_STATIC_RUNTIME=OFF \ > -D CONFIGDIR=/etc/wt \ > -D CMAKE_INSTALL_PREFIX=/usr/local \ > ../ > To where boost actually is (on my current virtual box rip): > > cmake \ > -D MULTI_THREADED=ON \ > -D RUNDIR=/var/www/wt \ > -D WEBUSER=www-data \ > -D WEBGROUP=www-data \ > -D BOOST_ROOT=/usr \ > -D BOOST_LIBRARYDIR=/usr/lib \ > -D BOOST_INCLUDEDIR=/usr/include/boost \ > -D SHARED_LIBS=ON \ > -D CONNECTOR_FCGI=OFF \ > -D CONNECTOR_HTTP=ON \ > -D USERLIB_PREFIX=lib \ > -D Boost_USE_STATIC_LIBS=OFF \ > -D Boost_USE_STATIC_RUNTIME=OFF \ > -D CONFIGDIR=/etc/wt \ > -D CMAKE_INSTALL_PREFIX=/usr/local \ > ../ > But without fail I get the annoying message: > > CMake Error at CMakeLists.txt:371 (MESSAGE): > Could not find a boost installation in /usr/lib. > > But all the *.so library files are in that folder, and even going through > CMakeCache.txt and manually entering all paths doesn’t help me. I have > managed to fix it every time so far, but its been kind of so much back and > forth into files and directories that I really haven’t been able to make an > efficient note of what actually fixed it, and now Im there again, wishing I > had some notes from last time :) > So, does anyone have any solution that works? > > Regards > Tor > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2014.0.4354 / Virus Database: 3722/7272 - Release Date: 03/30/14 > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > ------------------------------------------------------------------------------ > _______________________________________________ > 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
------------------------------------------------------------------------------
_______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest