Thomas Lotterer <[EMAIL PROTECTED]> writes:

> On Thu, Jul 22, 2004, Simon Mudd wrote:
> 
> Re,
> 
> > > > I'm using Whitebox Linux (a RedHat Enterprise 3 clone) [...]
> > I also tried to adjust the shtool [...] producing the following 2 files:
> > 
> > openpkg-2.1.0-2.1.0.ix86-rhel3.0-ope.rpm
> > openpkg-2.1.0-2.1.0.ix86-rhel3.0-ope.sh
> > 
> > This installed [...] but binary rhel3 packages gave me an error [...]
> > 
> please examine the content of the platform file (it has no newline).
> Our reference machine reads:
> 
> $ echo `cat /openpkg/etc/openpkg/platform`
> ix86-any-rhel3

ok. I had not noticed this difference (was not sure what to look for
to be honest).

> PS: why do you fight so hard with binaries when sources work well?

I had not found the "how to download and install a package" (with
dependencies) in the OpenPKG documentation.  Maybe I missed it. There
are examples of doing the steps by hand, using /openpkg/bin/openpkg
rpm --rebuild, .... /openpkg/bin/openpkg rpm -Uvh .... but I did not
find the reference (or documenation) to the /openpkg/bin/openpkg build
command and how to use it. rpm -ql openpkg-tools does not provide much
information unless I read the perl source.

I had thought it would simply be easier to download the binary
packages (that's how yum/apt-get work), but it's true the openpkg
build | sh idea works very similarly to FreeBSD's ports tree and is
very clean.

I only struggle with something if I don't understand how to do
something and that was the problem I was facing.  It seems that the
"binary environment" is not really needed: the src.rpms are fine.

I also think that when deploying to multiple machines it would be a
waste of resources to build multiple times and in that case it would
be nice to be able to download and install binary rpms automatically,
even if these binary rpms are built on one source machine.  I'll have
to look at the openpkg build parameters to see if this is possible
too.

Thanks again for your help and time in answering my questions.

Regards,

Simon
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to