On Tue, May 03, 2005 at 08:33:52AM +0900, Jaewoo Lee wrote:

> $ openpkg rpm -bb apache2.buildonly.spec 

You cannot just take an arbitrary spec file and expect it to build or
even build nicely.

For OpenPKG rpm you need OpenPKG-specific spec files just like you need
RedHat-specific spec files when using the RedHat rpm. You also need
the program sources and possibly some help files (default configuration,
startup scripts and the like). This is all packed together in a
source package.

The source packages for OpenPKG can be found on ftp.openpkg.org.

Packages also have dependencies, e.g. the apache2 package requires
that you have expat, libiconv and db installed. And with OpenPKG
this means: the appropriate packages from the OpenPKG collection.

Please have a look at http://www.openpkg.org/doc/handbook/openpkg.html
for the gory details of OpenPKG.

> Processing files: apache2-2.0.54-10
> Segmentation fault (core dumped)

Now that might be interesting from an academic point of view as
it looks like rpm crashed on the junk spec file you fed it (no
program should crash, ever).


Greetings,
-- 
                                Michael van Elst
Internet: [EMAIL PROTECTED]
                                "A potential Snark may lurk in every tree."
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to