[ooo-build] Hi Petr, ooo-build-3-2 can't find KDE4 headers. Can you help me? Thank you!

Jan Holesovsky kendy at suse.cz
Mon Mar 29 02:24:59 PDT 2010


Hi,

On Saturday 27 of March 2010, 王海龙 wrote:

> The problem has been resolved. The method is :
>
> My env is Ubuntu Karmic. I find the file "ksharedptr.h" located in
> "/usr/include/kde/", not  in "usr/include" as openSUSE. So I simply copy
> "ksharedptr.h" from  "/usr/include/kde/"  to "/usr/include". Then the
> problem donot recur.

The _idea_ of the ./configure script is to ensure that your environment is 
correct.  So if you fake your environment so that ./configure thinks it is 
correct, but it is in fact not, you'll have trouble during the build later 
anyway - copying this one particular file does not help you at all.

Either configure with --disable-kde4, or export KDE4DIR pointing to the right 
location.

HTH,
Kendy


More information about the ooo-build mailing list