"Headers Present But Cannot Be Compiled"
I have seen that configure message several times. The most recent was with building kdepim. That particular error was about bluetooth/bluetooth.h and is described exactly here:
http://flameeyes.eu/autotools-mythbuster/autoconf/finding.html#autoconf.hea…
The specific problem file is:
kdepim/configure.in.in
The other times I have seen that error was with respect to linux/cdrom.h. The problematic files are:
kdebase/kioslave/media/configure.in.in
kdemultimedia/configure.in.in
kdemultimedia/kscd/libwm/configure.in.in
I grepped the source tree and did not find any other files.
Hopefully you can use that information to fix the problem! :)
Darrell
> The new feature should be present in SVN revision 1174561
> or higher. It
> will detect when libcarddav or libcaldav are not present
> and automatically
> deactivate the affected resource(s).
Not sure whether I understand correctly. I removed the libcaldav package and rebuilt kdepim. I have libical installed because I understood that the package is a requirement.
FTBFS. Log attached.
> What configuration directory installation locations (--prefix, --libdir,
> --sysconfdir, etc.) are you using for all of your trinity builds?
>
> Are the locations the same for Lenny (KDE4/QT4 not installed) as the
> others where KDE4/QT4 are installed?
Yes, they are identical whether or not KDE4/Qt4 is installed.
>
> Thanks.
>
> Darrell
>
What I use for the Debian builds is:
--prefix=/opt/trinity
--includedir=/opt/trinity/include/kde
--mandir=/opt/trinity/share/man
--infodir=/opt/trinity/share/info
--with-extra-libs=/opt/trinity/lib
--sysconfdir=/etc
--localstatedir=/var
--libexecdir="\${prefix}/lib/kdebase-kde3"
--disable-rpath
--with-xinerama
--enable-closure (when needed, which is most of the time)
There may be one or two that are module specific that I did not mention
here, but this should permit close compatibility with the Debian builds.
Tim
> OK, try again with revision 1174370 or higher.
Updated svn. FTBFS. Log attached.
Failure is related to lib*dav* requirements. So for now looks like we're past the previous failures.
I will try building those packages.
I understand the desire to add such functionality, but I believe the end-user should decide. I just don't like hooks to potential features being added to software that I am unlikely to ever use. Reminds me of KDE4 . . . .
Enterprise tools are pretty much useless for solitary single home users. I don't use korganizer or any other day-timer type app. I don't use online apps and am highly unlikely ever to do so.
Unlike my previous suggestion, perhaps the default should be to build with those hooks, but allow configure options to not build? Is that possible, much like you did with dnssd/avahi?
Hello,
I found that new revision of kdelibs contains these new headers. Are really
needed there? In any case, i cannot found where FT_FREETYPE_H is set.
--- /home/serghei/projects/trinity.old/kdelibs/kdeui/kaction.cpp
2010-08-28 16:38:47.000000000 +0300
+++ /home/serghei/projects/trinity/kdelibs/kdeui/kaction.cpp 2010-09-12
17:23:12.000000000 +0300
@@ -42,6 +42,17 @@
#include <ktoolbar.h>
#include <ktoolbarbutton.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
+#include <X11/Xdefs.h>
+#include <X11/Xlib.h>
+#include <X11/Xatom.h>
+#include <X11/Intrinsic.h>
+#include <X11/StringDefs.h>
+#include <X11/Shell.h>
+
+#include <X11/Xft/Xft.h>
+
/**
* How it works.
* KActionCollection is an organizing container for KActions.
--
Serghei
libcaldav built. Build log attached in case you see something different or unusual with building in Slackware.
Minor nit: Source tarball says version is 0.6.5, but unpacks as 0.6.4.
Installed libcaldav.
=========================
Can't build libcarddav. Strange critter. I can't capture the entire build output. The log stops (using tee command) and does not contain the failure messages I see on screen.
I'm attaching the build output using copy and paste from Konsole.
Snippet from build script:
tar xvf $CWD/../zz_src_other/${PRGNAM}_${VERSION}-0debian2.tar.gz
cd $TMP/$PRGNAM-$VERSION || exit 1
chown -R root:root .
./autogen.sh
make || exit 1
make install DESTDIR=$PKG
Darrell
> OK, this should be fixed in SVN revision 1174313. You
> can use the -j4
> flag if you want.
Updated to svn 1174356. FTBFS. Log attached.
The problem is something in a korganizer so library, not libical. So some progress. :)
I do no thave the lib*dav packages built or installed.
> OK, try it again with revision 1172884 or above.
> Hopefully I stamped the
> remaining header issues in kdelibs out, but you never
> know....
Tried again with 1173126. tqtinterface, arts, and kdelibs built without errors. Progress!
kdebase failed to build. :( Log attached.
> Can you try building this one without the -j4 flag; i.e. do
> a non-parallel
> build? It looks like some stuff is building out of
> order.
Done. Looks like the same error. Log attached.