Bernard Li wrote:
> Brian or others:
> 
> How do I build RPM packages under Debian?  I get the following when I
> tried to build it:
> 
> # script -c 'rpmbuild -ta tmp/systemimager-3.9.0r3972M_bli.tar.bz2 '
> rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
> error: cannot open Providename index using db3 - No such file or directory (2)
> rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
> error: cannot open Name index using db3 - No such file or directory (2)
> rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
> error: cannot open Basenames index using db3 - No such file or directory (2)
> rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
> error: cannot open Conflictname index using db3 - No such file or directory 
> (2)
> error: failed build dependencies:
>         docbook-utils is needed by systemimager-3.9.0r3972M_bli-1
>         dos2unix is needed by systemimager-3.9.0r3972M_bli-1
>         e2fsprogs-devel is needed by systemimager-3.9.0r3972M_bli-1
>         flex is needed by systemimager-3.9.0r3972M_bli-1
>         libtool is needed by systemimager-3.9.0r3972M_bli-1
>         readline-devel is needed by systemimager-3.9.0r3972M_bli-1
>         /usr/bin/wget is needed by systemimager-3.9.0r3972M_bli-1
>         openssl-devel is needed by systemimager-3.9.0r3972M_bli-1
>         gcc is needed by systemimager-3.9.0r3972M_bli-1
>         gcc-c++ is needed by systemimager-3.9.0r3972M_bli-1
>         python is needed by systemimager-3.9.0r3972M_bli-1
>         python-devel is needed by systemimager-3.9.0r3972M_bli-1
>         PyXML is needed by systemimager-3.9.0r3972M_bli-1
> 
> How do I fulfill these requirements under Debian?
> 

Maybe one problem is that you need to initialize your rpm DB, with "rpm
--initdb". The other problem is that the DB will be empty... so the
required dependencies can't be resolved... I dunno how to fix this,
apart adding a --nodeps to the rpmbuild command... but I'm sure there's
a cleaner way to resolve.

-Andrea

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sisuite-devel mailing list
sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to