Hey Raymond,

First of all I have to say I really appreciate getting a response from you, as 
Ive been using your guide a few times to say the least. Today when I ran 
through it again, I know the ln command failed for some reason, so Ill have to 
go back to the installation of boost again and make sure it completes. But just 
to be completely certain about this; the command 
CXX="g++ -Wl,--stack=0x2000000" ./b2 --layout=versioned toolset=gcc 
variant=debug \
  link=shared threading=multi runtime-link=shared address-model=64 stage
is supposed to be like this, its not a two commands? I mean like CXX="g++ 
-Wl,--stack=0x2000000» and then ./b2 --layout=versioned toolset=gcc 
variant=debug \
  link=shared threading=multi runtime-link=shared address-model=64 stage...

I am currently trying to install a Raspberry virtual box for speedier compiles, 
and then as we are nearing completion of our project, Im making a fresh Wheezy 
SD card with only the software we ended up utilizing in this project, not all 
the applications we have tried and discarded, or that has been used merely to 
ease our access. This is why Ive ended up making as many installs too, having 
4-5 rip available for testing of different solutions at all times, reinstalling 
them when they got too «messy». Compiling Wt does take ages though, and as I 
mentioned before, installing Wt from the apt-get packages doesn’t seem to leave 
me with all th libraries I need.

One more thing, did your Raspberry Pi fail during make??? Wim gave me this 
after mine failed a few times:

"Comment out line 11 in Render/CssParser.C (#  define CSS_PARSER) to reduce 
memory requirements for this file."

This was actually vital for me to manage to compile on the not so resourceful 
Raspberry.

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

Attachment: 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

Reply via email to