Bug 248145 - kmobiletools does not build: error: boost/shared_ptr.hpp: No such file or directory
Summary: kmobiletools does not build: error: boost/shared_ptr.hpp: No such file or dir...
Status: RESOLVED FIXED
Alias: None
Product: kmobiletools
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Matthias Lechner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-17 14:41 UTC by Mark
Modified: 2010-08-17 17:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2010-08-17 14:41:16 UTC
Version:           unspecified (using Devel) 
OS:                Linux

hi, 
i'm trying to compile kmobiletools for kde4 on archlinux. I am building from latest svn and getting this error: 

[ 18%] Building CXX object kmobiletools/libkmobiletools/CMakeFiles/kmobiletoolslib.dir/ifaces/shortmessages.o  
[ 19%] Building CXX object kmobiletools/engines/libkmobiletoolsengineui/CMakeFiles/kmobiletoolsengineui.dir/scanprogressPage.o                                                                                                
In file included from /var/abs/local/yaourtbuild/kmobiletools-svn/src/kmobiletools/kmobiletools/libkmobiletools/sms.h:24:0,
                 from /var/abs/local/yaourtbuild/kmobiletools-svn/src/kmobiletools/kmobiletools/libkmobiletools/ifaces/shortmessages.h:28,
                 from /var/abs/local/yaourtbuild/kmobiletools-svn/src/kmobiletools/kmobiletools/libkmobiletools/ifaces/shortmessages.cpp:20:
/usr/include/kmime/kmime_content.h:60:32: fatal error: boost/shared_ptr.hpp: No such file or directory
compilation terminated.
make[2]: *** [kmobiletools/libkmobiletools/CMakeFiles/kmobiletoolslib.dir/ifaces/shortmessages.o] Error 1
make[1]: *** [kmobiletools/libkmobiletools/CMakeFiles/kmobiletoolslib.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 20%] Building CXX object kmobiletools/engines/libkmobiletoolsengineui/CMakeFiles/kmobiletoolsengineui.dir/devicesfoundPage.o                                                                                                
Linking CXX shared library ../../../lib/libkmobiletoolsengineui.so                                             
[ 20%] Built target kmobiletoolsengineui                                                                       
make: *** [all] Error 2
    Aborting...
==> ERROR: Makepkg was unable to build kmobiletools-svn.



The PKGBUILD used to compile can be found here: http://aur.archlinux.org/packages/kmobiletools-svn/kmobiletools-svn/PKGBUILD

Thank you for any advice, Mark.

PS: http://kde-apps.org/content/show.php/KMobileTools?content=15259 says kmobiletools were accepted to kdepim, any idea in which kdepim release should it be included? Thanks a lot. 



Reproducible: Always

Steps to Reproduce:
compile from svn
Comment 1 Nicolas L. 2010-08-17 16:51:03 UTC
SVN commit 1164730 by nlecureuil:

Requires Boost
CCBUG: 248145


 M  +1 -0      CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1164730
Comment 2 Nicolas L. 2010-08-17 16:51:41 UTC
you need to have boost devel files installed.

Is it ok with latest svn now ?
Comment 3 Mark 2010-08-17 17:19:47 UTC
Thank you Nicolas! Installed boost and happily updated & compiled from svn now. Everything builds and runs nicely. Many thanks :)