[expert] rpm build issue - cooker

2003-06-01 Thread dfox

After having a working cooker setup I managed to trash my install last 
week and had to go back to 9.0 (sniff).

I've managed to start reconstructing some things and now fmirror cooker, 
although I don't mirror cooker-contrib. I was able to get 'elm' back but 
now am experiencing difficulties installing rpmfind. 

First, rpm (4.0.4 methinks) segfaulted and dumped core when attempting to 
install rpmfind  (rpmfind-1.7-4mdk.i586.rpm) from contrib. I then ditched 
rpm 4.0.4 in favor of newer rpm. With some wrangling on cooker, I was 
able to grab the dependencies etc. to get rpm and the other related tools 
(gurpmi, urpmi, rpmdrake, etc.) installed. 

But rpmfind won't install, because it needs rpm-4.0.4 specifically. 

I've installed
rpm-helper-0.9-1mdk
rpm-4.2-7mdk
urpmi-4.3-12mdk
rpmdrake-2.1-21mdk
gurpmi-4.3-12mdk
rpmtools-4.5-11mdk

in addition to new gurpmi, rpmdrake and so forth.

But I can't build from the rpmfind source rpm. I get a message saying 
/usr/lib/rpm/rpmb not found. 

Whoever walked off with that, would they please return it?



-- 

David E. Fox  Thanks for letting me
[EMAIL PROTECTED]change magnetic patterns
[EMAIL PROTECTED]   on your hard disk.
---


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] rpm build issue - cooker

2003-06-01 Thread Rolf Pedersen
dfox wrote:
After having a working cooker setup I managed to trash my install last 
week and had to go back to 9.0 (sniff).

I've managed to start reconstructing some things and now fmirror cooker, 
although I don't mirror cooker-contrib. I was able to get 'elm' back but 
now am experiencing difficulties installing rpmfind. 

First, rpm (4.0.4 methinks) segfaulted and dumped core when attempting to 
install rpmfind  (rpmfind-1.7-4mdk.i586.rpm) from contrib. I then ditched 
rpm 4.0.4 in favor of newer rpm. With some wrangling on cooker, I was 
able to grab the dependencies etc. to get rpm and the other related tools 
(gurpmi, urpmi, rpmdrake, etc.) installed. 

But rpmfind won't install, because it needs rpm-4.0.4 specifically. 

I've installed
rpm-helper-0.9-1mdk
rpm-4.2-7mdk
urpmi-4.3-12mdk
rpmdrake-2.1-21mdk
gurpmi-4.3-12mdk
rpmtools-4.5-11mdk
in addition to new gurpmi, rpmdrake and so forth.

But I can't build from the rpmfind source rpm. I get a message saying 
/usr/lib/rpm/rpmb not found. 

Whoever walked off with that, would they please return it?

In 9.1

$ urpmf /usr/lib/rpm/rpmb
rpm-build:/usr/lib/rpm/rpmb
Rolf


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] rpm build issue - cooker

2003-06-01 Thread dfox
Somebody scribbled about Re: [expert] rpm build issue - cooker
I wrote:
 I've installed
 rpm-helper-0.9-1mdk
 rpm-4.2-7mdk
 urpmi-4.3-12mdk
 rpmdrake-2.1-21mdk
 gurpmi-4.3-12mdk
 rpmtools-4.5-11mdk

 in addition to new gurpmi, rpmdrake and so forth.


$ urpmf /usr/lib/rpm/rpmb
rpm-build:/usr/lib/rpm/rpmb

Ah ha... :)

I gotta remember that. It even hinted at what rpm to install if the file 
was not there. Mostly one needs a file present to find out where it was 
obtained from :).

I managed to then obtain some still missing pieces, like rpm-devel and so 
forth. 

But the configure errors out with 'librpm not found' although it sure 
looks like it's there:

389496 May 13 08:07 /usr/lib/librpm.a
-rwxr-xr-x1 root root   138088 May 13 08:07 
/usr/lib/librpmbuild-4.2.so*
-rw-r--r--1 root root   177390 May 13 08:07 
/usr/lib/librpmbuild.a
-rwxr-xr-x1 root root  907 May 13 08:07 
/usr/lib/librpmbuild.la*
lrwxrwxrwx1 root root   18 May 31 16:59 
/usr/lib/librpmbuild.so - librpmbuild-4.2.so*
-rwxr-xr-x1 root root   928168 May 13 08:07 
/usr/lib/librpmdb-4.2.so*
-rw-r--r--1 root root  1370494 May 13 08:07 
/usr/lib/librpmdb.a
-rwxr-xr-x1 root root  846 May 13 08:07 
/usr/lib/librpmdb.la*
lrwxrwxrwx1 root root   15 May 31 16:59 
/usr/lib/librpmdb.so - librpmdb-4.2.so*
-rwxr-xr-x1 root root   353928 May 13 08:07 
/usr/lib/librpmio-4.2.so*
-rw-r--r--1 root root   724942 May 13 08:07 
/usr/lib/librpmio.a
-rwxr-xr-x1 root root  799 May 13 08:07 
/usr/lib/librpmio.la*
lrwxrwxrwx1 root root   15 May 31 16:59 
/usr/lib/librpmio.so - librpmio-4.2.so*
-rwxr-xr-x1 root root  853 May 13 08:07 
/usr/lib/librpm.la*
lrwxrwxrwx1 root root   13 May 31 16:59 /usr/lib/librpm.so 
- librpm-4.2.so*

(section of output from rpm rebuild)

checking for dbopen... no
checking for db_create in -ldb-3.1... no
checking for db_create in -ldb-3.0... no
checking for dbopen in -ldb1... yes
checking for poptParseArgvString in -lpopt... yes
checking for Fopen in -lrpmio... no
checking for rpmdbOpen in -lrpmdb... no
checking for rpmReadConfigFiles in -lrpm... no
configure: error: *** librpm not found
error: Bad exit status from /var/tmp/rpm-tmp.38539 (%build)



Rolf

-- 

David E. Fox  Thanks for letting me
[EMAIL PROTECTED]change magnetic patterns
[EMAIL PROTECTED]   on your hard disk.
---


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com