On Thu, Aug 08, 2019 at 08:48:04PM +0100, John Burrell via blfs-dev wrote:
> Using the book commands for taglib-1.11.1 -
>
> cmake -DCMAKE_INSTALL_PREFIX=/usr \
> -DCMAKE_BUILD_TYPE=Release \
> -DBUILD_SHARED_LIBS=ON \
> ..
>
> I get:
> CMake Error: The following variables are used in this project, but
> they are set to NOTFOUND.
> Please set them or make sure they are set and tested correctly in the
> CMake files:
> Boost_INCLUDE_DIR
>
> I added -DBoost_INCLUDE_DIR=/usr/include/boost
>
> and cmake is happy.
>
> I'm sure I've installed taglib-1.11.1 before without this problem, so
> may be it's just me.
> Perhaps someone could test it and see.
>
> j.b.
NOT confirmed (cmake-3.15.1, BLFS as of August 30th), but there was
apparently a problem in cmake-3.15.0 and cmake-3.15.1 related to
optional deps (according to release notes in the ticket #12372), not
sure which version failed for you.
ken@plexi /tmp/taglib-1.11.1/build $find .. -type f | xargs grep
Boost_INCLUDE_DIR
../build/CMakeCache.txt:Boost_INCLUDE_DIR:PATH=/usr/include
../taglib/CMakeLists.txt: include_directories(${Boost_INCLUDE_DIR})
../ConfigureChecks.cmake: set(CMAKE_REQUIRED_INCLUDES
"${CMAKE_REQUIRED_INCLUDES};${Boost_INCLUDE_DIRS}")
Note that the last match in that grep was for DIRS not DIR - cmake
is a mystery.
ĸen
--
Adopted by dwarfs, brought up by dwarfs. To dwarfs I'm a dwarf, sir.
I can do the rite of k'zakra, I know the secrets of h'ragna, I can
ha'lk my g'rakha correctly ... I am a dwarf
Captain Carrot Ironfoundersson (in The Fifth Elephant)
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page