[Kde-pim] kdepim build: Boost headers not found
Frank Osterfeld
frank at kdab.net
Mon Jun 4 10:16:53 BST 2007
On Sunday 03 June 2007 18:51:30 Stephan Johach wrote:
> Hi all!
>
> First, please cc me, I am not subscribed to the list.
>
> I have the following problem when compiling kdepim from trunk.
> Seems to me, the boost include path is not found. Boost_INCLUDE_DIR is set
> in .bash_profile an it is written to the CMakeCache.txt file.
>
> function cmakekde { cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR \
> -DCMAKE_BUILD_TYPE=debugfull -DBoost_INCLUDE_DIR=/usr/include/boost-1_34 $@
> && make VERBOSE=1 && make install; }
>
> This is the resulting entry in CMakeCache.txt:
>
> //The directory containing the boost include files. E.g
> /usr/local/include/boost-1_33_1 // or c:\boost\include\boost-1_33_1
> Boost_INCLUDE_DIR:PATH=/usr/include/boost-1_34
From FindBoost.cmake (in share/cmake/Modules of your CMake prefix):
# Add in some path suffixes. These will have to be updated whenever a new
Boost version comes out.
SET(SUFFIX_FOR_PATH
boost-1_34_1
boost-1_34_0
boost-1_33_1
boost-1_33_0
)
Your suffix, 1_34, is missing there and needs to be added, unless the trailing
_0 is boost convention and your packager broke it. Which distribution/version
are you using?
As a workaround you can either add boost-1_34 to the list above or create a
symlink boost-1_34_0->boost-1_34 in /usr/include (ugly, but should work...).
--
Frank Osterfeld -- frank at kdab.net
Klarälvdalens Datakonsult AB, Platform-independent software solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070604/51392894/attachment.sig>
-------------- next part --------------
_______________________________________________
kde-pim mailing list
kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
More information about the kde-pim
mailing list