Hello,

I'm new to RPM and OpenPKG, and I'm more accustomed to either building
open source/free software manually or using FreeBSD's ports
collection.

I just bootstrapped a Solaris 9 sparc64 using the SunFreeware
gcc-3.3.2 package.  The next logical step was to install gcc-3.3.3
from a source RPM.  I tried to do this using openpkg:

   # openpkg rpm --rebuild              
ftp://ftp.openpkg.org/release/2.0/SRC/gcc-3.3.3-2.0.0.src.rpm

To my surprise, this produced an error message indicating that I did
not have make or binutils installed.  I expected openpkg to download
and install make and binutils as prerequisites since the source RPM's
for these are in the same FTP directory.

Perhaps it makes sence that it didn't since the command I gave above
only asked for a rebuild'' and not an actual installation.

What I'm looking for is the OpenPKG equivalent of this:

   FreeBSD# mkdir -p /usr/ports/packages
   FreeBSD# portupgrade -NpRr lang/gcc33

Ultimately, I'd like to have a convenient way to rebuild and install
all (or most) of the packages on the two OpenPKG SRC CD's without
having to manually and recursively track down dependencies.  This will
be more important when it's time to upgrade to OpenPKG 2.1, etc.

The folks who maintain the binary RPM's must have worked out a way to
automate the build process.  I'd be grateful for a pointer or some
tips on how I can do this at my site.  Minimally, an ordered list of
the source RPM's that can be fed to a foreach loop that does
... --rebuild ... && ... -Uhv would be a big help!  Thanks.

-- David

P.S.
   I apologize if this question has been asked before.  I didn't see
   the answer in the on-line FAQ or docs for OpenPKG.
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to