[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Failed kdebase compilation
From: joerg habenicht <j.habenicht () stud ! uni-hannover ! de>
Date: 2001-02-28 12:04:44
[Download RAW message or body]
On Wed, 28 Feb 2001, Giles Turner wrote:
> Hi,
hi Giles,
>
> I have a problem compiling KDE 2.1 on an SuSE 6.3
> system running on a Compaq Alpha machine. I get the
> following error when compiling kdebase:
>
> Making all in ldap
> make[3]: Entering directory
> `/users4/kde2.1/kdebase-2.1/kioslave/ldap'
> /bin/sh ../../libtool --mode=compile --tag=CXX g++
> -DHAVE_CONFIG_H -I. -I. -I../..
> -I/usr/local/kde2.1/include
> -I/usr/lib/qt-2.2.4/include -I/usr/X11R6/include
> -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W
> -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
> -Wno-long-long -Wnon-virtual-dtor -fno-builtin
> -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST
> -c kio_ldap.cpp
> mkdir .libs
> g++ -DHAVE_CONFIG_H -I. -I. -I../..
> -I/usr/local/kde2.1/include
> -I/usr/lib/qt-2.2.4/include -I/usr/X11R6/include -O2
> -fno-exceptions -fno-check-new -Wall -pedantic -W
> -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
> -Wno-long-long -Wnon-virtual-dtor -fno-builtin
> -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST
> -c kio_ldap.cpp -fPIC -DPIC -o .libs/kio_ldap.o
> In file included from kio_ldap.cpp:16:
> kldap.h:496: field `_timeout' has incomplete type
> make[3]: *** [kio_ldap.lo] Error 1
> make[3]: Leaving directory
> `/users4/kde2.1/kdebase-2.1/kioslave/ldap'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/users4/kde2.1/kdebase-2.1/kioslave'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/users4/kde2.1/kdebase-2.1'
> make: *** [all-recursive-am] Error 2
>
>
> I have compiled qt-2.2.4, kdesupport and kdelibs
> without problem and in the past I have compiled
> KDE2.1beta2 without any errors on this system.
>
> So I suppose my question is twofold:
>
> 1. Does anyone know what I might do to fix the
> compilation problem?
you could try this patch:
-----------------------------------
Index: kioslave/ldap/kldap.h
===================================================================
RCS file: /home/kde/kdebase/kioslave/ldap/kldap.h,v
retrieving revision 1.5
diff -u -3 -p -r1.5 kldap.h
--- kioslave/ldap/kldap.h 2001/02/22 11:59:54 1.5
+++ kioslave/ldap/kldap.h 2001/02/28 12:01:48
@@ -8,11 +8,11 @@
#include <lber.h>
#include <ldap.h>
#include <config.h>
-#ifndef TIME_WITH_SYS_TIME
-#include <sys/time.h>
-#else
-#include <time.h>
+#ifdef TIME_WITH_SYS_TIME
+# include <sys/time.h>
#endif
+#include <time.h>
+
namespace KLDAP
{
-----------------------------------
I already posted this (in similar form)
to kde-core-devel, but noone could tell me
if the patch is correct for other platforms.
>
> 2. What is ldap and is it necessary (or could I just
> disable it in configure)?
>
> Thanks,
>
> Giles
>
> =====
> --------------------------------
> Giles Turner
> School of Chemistry
> The University of Birmingham, UK
> Registered Linux User: 190440
>
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
>
> >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>
cu,
Joerg
--
THE full automatic planets host
:-) http://www.planetsserver.com
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GE/CS/IT d- s+:- a- C++ ULS+++>++++ P++ L+++>++++$
E W++ N+(+++) !o? !K? w--(---) !O(++) !M !PS !PE !Y? PGP+
t-- 5-- X-- tv+ b++ DI+() D-(+) G>+ e++>+++ h+(*) r% y? UF
------END GEEK CODE BLOCK------
"Man sollte das Leben nicht so ernst nehmen,
Du überlebt es sowieso nicht."
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic