RUNDIR, WEBUSER and WEBGROUP are only relevant for fcgi, so since
CONNECTOR_FCGI is off, these settings don't matter.

Setting USERLIB_PREFIX to lib? Does this make any difference at all?
Normally this is an absolute URL, but I expect cmake to search in
/lib, /usr/lib by default

Wt doesn't require boost 1.55, so unless you need specific features of
the latest boost release, I recommend to go with your OS's default
version (apparently debian ships with 1.49).

I just built Wt on a clean debian install, with the instructions
listed in http://redmine.emweb.be/projects/wt/wiki/Installing_Wt_on_Ubuntu

That works for me...

It is true that cmake's boost detection algorithm doesn't work with
all possible boost configurations. The 'versioned' layout for boost
libraries usually works.

Best regards,
Wim.

2014-04-02 18:30 GMT+02:00 Thomas Suckow <thomas.suc...@pnnl.gov>:
> I would be interested to know what the following does, it should locate
> boost itself:
>
> cmake \
> -D MULTI_THREADED=ON \
> -D RUNDIR=/var/www/wt \
> -D WEBUSER=www-data \
> -D WEBGROUP=www-data \
> -D SHARED_LIBS=ON \
> -D CONNECTOR_FCGI=OFF \
> -D CONNECTOR_HTTP=ON \
> -D USERLIB_PREFIX=lib \
> -D CONFIGDIR=/etc/wt \
> -D CMAKE_INSTALL_PREFIX=/usr/local \
> ../
>
> On Wed 02 Apr 2014 06:33:03 AM PDT, Tor Arne Fallingen wrote:
>> 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
>>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest

------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to