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

Tor Lillqvist tlillqvist at novell.com
Sun Mar 28 23:50:06 PDT 2010


> So I simply copy "ksharedptr.h" from  "/usr/include/kde/"  to 
> "/usr/include".

That doesn't sound like a good idea. What then when /usr/include/kde/ksharedptr.h eventually gets updated by package management, but your manual copy not? You will then have two different, potentially incompatible, versions of this header. Copying files around, especially ones that are part of the system package management, is never a good idea.

The correct solution here would have been to just make sure that the -I/usr/include/kde flag gets passed to the relevant compilations. Is ksharedptr.h really the only header for which this problem occurred?

--tml





More information about the ooo-build mailing list