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

王海龙 whl0630 at gmail.com
Fri Mar 26 23:52:08 PDT 2010


Thank you. 

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.


----- Original Message ----- 
From: "Petr Mladek" <pmladek at suse.cz>
To: "" <whl0630 at gmail.com>
Cc: <ooo-build at lists.freedesktop.org>
Sent: Friday, March 26, 2010 11:12 PM
Subject: Re: Hi Petr, ooo-build-3-2 can't find KDE4 headers. Can you help me? Thank you!


On Friday 26 March 2010,  wrote:
> Hi Petr,
>
> When I used the command "make" to build ooo-build-3-2, a configure error
> happed, as follows:
>
> configure: error: KDE4 headers not found. Please specify the root of your
> KDE4 installation by exporting KDE4DIR before running "configure".

The configure check tries to find the header file "ksharedptr.h". It is 
searched in the path "$KDE4DIR/include/ksharedptr.h". See also the configure 
check definition in ooo-build/build/ooo320-m12/configure.in.

You need to make sure that this header is installed on your system and set the 
KDE4DIR variable accordingly.

On openSUSE, it is located in "/usr/include/ksharedptr.h" and is provided by 
the package "libkdecore4-devel".

> I find this bug report at http://bugs.gentoo.org/283618. I want to know
> whether there are some methods to resolve this problem.

Do you use Gentoo or another distro?

I add ooo-build at lists.freedesktop.org into CC. You might get there help from 
users using other distributions?

-- 
Best Regards,

Petr Mladek
software developer
---------------------------------------------------------------------  
SUSE LINUX, s. r. o.                        e-mail: pmladek at suse.cz
Lihovarská 1060/12                          tel: +420 284 028 952
190 00 Prague 9                             fax: +420 284 028 951
Czech Republic                              http://www.suse.cz/


More information about the ooo-build mailing list