Am Montag, 31. Juli 2017 um 01:09:09, schrieb Scott Kostyshak <skost...@lyx.org>
> On Sun, Jul 30, 2017 at 07:41:02AM +0200, Kornel Benko wrote:
> > Am Samstag, 29. Juli 2017 um 19:14:01, schrieb Scott Kostyshak 
> > <skost...@lyx.org>
> > > On Thu, Jul 27, 2017 at 11:32:06PM +0200, Kornel Benko wrote:
> > > > commit 2fe59adbc89f56e7e192b57c90eb5e2a8338721c
> > > > Author: Kornel Benko <kor...@lyx.org>
> > > > Date:   Thu Jul 27 23:29:29 2017 +0200
> > > > 
> > > >     Cmake build: Ignore boost settings if we are using std-regex
> > > >     
> > > >     External/included boost is only used for the component regex
> > > 
> > > With this commit, I get the following message:
> > > 
> > >     Unable to determine the system directory having searched
> > >           /home/scott/lyxbuilds/master/CMakeBuild/share/lyx/
> > >     Use the '-sysdir' command line parameter or set the environment 
> > > variable
> > >     LYX_DIR_23x to the LyX system directory containing the file 
> > > `chkconfig.ltx'.
> > > 
> > > Scott
> > 
> > Totally unexpected. What should boost have to do with system dir?
> > Could you please test with clean build?
> 
> I tested with clean builds of 2fe59adb and 2fe59adb^, and see the same
> difference.
> 
> The only difference in the output of the cmake commands is
> 
> "Using std regex"
> 
> The difference in the CMakeCache.txt files is:
> 
>     $ diff CMakeCache_before.txt CMakeCache_after.txt 
>     639,644d638
>     <
>     
> boost_BINARY_DIR:STATIC=/home/scott/lyxbuilds/master/CMakeBuild/3rdparty/boost/libs
>     < 
>     < //Value Computed by CMake
>     <
>     
> boost_SOURCE_DIR:STATIC=/home/scott/lyxbuilds/master/repo/3rdparty/boost/libs
>     < 
>     < //Value Computed by CMake
>     871c865
>     < CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=26
>     ---
>     > CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=24
>     $ 
> 
> Are those changes expected?
> 
> With 2fe59adb, compilcation succeeds and I get the same error under the
> following three cases:
>     1. I omit -DLYX_EXTERNAL_BOOST
>     2. I set it to -DLYX_EXTERNAL_BOOST=ON
>     3. I set it to -DLYX_EXTERNAL_BOOST=OFF
> 
> With 2fe59adb^, if I set it to -DLYX_EXTERNAL_BOOST=ON, the CMake call
> gives me:
> 
>     -- Searching for boost
>     CMake Error at CMakeLists.txt:814 (message):
>       Boost not found
> 
> Are those clues useful at all? If not, don't spend time on it. I will
> take a deeper look when I have time.

Yes, they do. Looks like a very old CMakeLists.txt. The committed one has this 
message
on line 821. The mentioned commit 2fe59adb is later amended by b5c2e02e.

> Scott

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to