On Sunday 16 December 2001 06:38 am,[EMAIL PROTECTED] wrote: > Tony Alfrey wrote: > % Hi gang! > % > % I need (please! ;-) the definitive solution for the kpackage/rpm > % problem. > % Here's my problem. > % For my past several builds of kde (now at kde 2.2.2), kdeadmin > barfs % when the build gets to kpackage, some conflict with the right > version % of rpm I suppose. I blow through it with make -i and then > when I'm all % done, I just pull in the binary for kpackage from kde > 2.0 that came % with my distro (Caldera LTP) and everything is fine. > But I'm a little % tired of this and would like a 'correct' solution. > % So what is the solution for removing/backing up the old rpm and > getting % the correct rpm in so that kpackage will build?? > % rpm --version gives > % "RPM version 3.0.3.0L " > > What's the text of the error message (a few lines of context will > help)? > > K
It builds several pieces of kpackage successfully (looks like graphical components, toolbars and such) and then it does this: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - make[3]: Entering directory `/opt/kde2/kdeadmin-2.2.2/kpackage' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde2/include -I/usr/lib/qt2/include -I/usr/X11R6/include -I/usr/include/rpm -O2 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -c main.cpp In file included from /usr/include/rpm/dbindex.h:5, from /usr/include/rpm/rpmlib.h:9, from rpmInterface.h:17, from main.cpp:32: /usr/include/db1/db.h:120: invalid exception specifications (several more of this exact same complaint for different lines of this header file) /usr/include/db1/db.h:158: invalid exception specifications make[3]: *** [main.o] Error 1 make[3]: Leaving directory `/opt/kde2/kdeadmin-2.2.2/kpackage - - - - - - - - - - - - - - - - - - - - - - - - - - - - It gags on this section of the header file below (and more) in /usr/include/db1/db.h The comment is line 117 and it chokes on lines 120-125 /* Access method description structure. */ typedef struct __db { DBTYPE type; /* Underlying db type. */ int (*close) __P((struct __db *)); int (*del) __P((const struct __db *, const DBT *, u_int)); int (*get) __P((const struct __db *, const DBT *, DBT *, u_int)); int (*put) __P((const struct __db *, DBT *, const DBT *, u_int)); int (*seq) __P((const struct __db *, DBT *, DBT *, u_int)); int (*sync) __P((const struct __db *, u_int)); void *internal; /* Access method private. */ int (*fd) __P((const struct __db *)); } DB; Any ideas?? Thanks! -- Tony Alfrey [EMAIL PROTECTED] "I'd rather be sailing" _______________________________________________ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users