Re: kpackage and rpm

2001-12-16 Thread kwall

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
-- 
I'm not under the alkafluence of inkahol that some thinkle peep I am.
It's just the drunker I sit here the longer I get.
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: kpackage and rpm

2001-12-16 Thread Tony Alfrey

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

Let me get back to you;  I'll run make again until it chokes.

-- 
Tony Alfrey
[EMAIL PROTECTED]
I'd rather be sailing
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: kpackage and rpm

2001-12-16 Thread Tony Alfrey

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



Re: kpackage and rpm

2001-12-16 Thread Keith Antoine

On Sunday 16 December 2001 23:48, Tony Alfrey enunciated:
 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 

 Thanks in advance!

It would appear that kpackage is again broken in 2.2.2. So I am doing it 
by command line which is more reliable anyway.

-- 
Keith Antoine aka 'skippy'
18 Arkana St, The Gap, Queensland 4061 Australia PH:61733002161
Retired Geriatric, Sometime Electronics Engineer, Knowall, Brain in storage

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: kpackage and rpm

2001-12-16 Thread Tony Alfrey

On Sunday 16 December 2001 12:49 pm,Keith Antoine wrote:
 On Sunday 16 December 2001 23:48, Tony Alfrey enunciated:
  Hi gang!
 
  I need (please!  ;-)  the definitive solution for the kpackage/rpm
  problem.
snip

 It would appear that kpackage is again broken in 2.2.2. 

Oh, did you see similar behavior??

 So I am
 doing it by command line which is more reliable anyway.

Well, that's true, and I usually use the command line anyway to 
actually install, but kpackage has a nice graphical tree thingy for 
locating installed packages and listing unsatisfied depedencies.  
Besides, I don't like to do make -i unless I absolutely have to.

Happy holidays, Skip-meister!

-- 
Tony Alfrey
[EMAIL PROTECTED]
I'd rather be sailing
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: kpackage and rpm

2001-12-16 Thread Keith Antoine

On Monday 17 December 2001 08:55, Tony Alfrey enunciated:

  It would appear that kpackage is again broken in 2.2.2.

 Oh, did you see similar behavior??

Yes mate.


  So I am
  doing it by command line which is more reliable anyway.

 Well, that's true, and I usually use the command line anyway to
 actually install, but kpackage has a nice graphical tree thingy for
 locating installed packages and listing unsatisfied depedencies.
 Besides, I don't like to do make -i unless I absolutely have to.

 Happy holidays, Skip-meister!

Thanks Tony, and the same to you and yours.

-- 
Keith Antoine aka 'skippy'
18 Arkana St, The Gap, Queensland 4061 Australia PH:61733002161
Retired Geriatric, Sometime Electronics Engineer, Knowall, Brain in storage

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users