On Wed, 17 Mar 2004, Matthias Kurz wrote:

> On Wed, Mar 17, 2004, Michael van Elst wrote:
> 
> > On Wed, Mar 17, 2004 at 07:18:38AM +0100, Michael van Elst wrote:
> > 
> > > rpm --rebuild --define 'with_php yes' --define 'with_php_mysql yes' apache
> > 
> > That should have been:  'with_mod_php yes' and 'with_mod_php_mysql yes'.
> > 
> 
> And it would probably better to use "openpkg build", wouldn't it ?
> 
> openpkg build -Dapache::with_mod_php=yes -Dapache::with_mod_php_mysql=yes apache | sh
> 
> One can also create a file $HOME/.openpkg/build and put those options in
> it (one option per line).

# openpkg build -Dapache::with_mod_php=yes -Dapache::with_mod_php_mysql=yes \
apache | sh
openpkg:ERROR: No such command "build" found in command path
openpkg:ERROR: (/openpkg/libexec/openpkg).
openpkg:ERROR: Set $OPENPKG_TOOLS_CMDPATH appropriately.
openpkg:ERROR: Run "/openpkg/bin/openpkg --help" for list of valid commands.

I don't see this "build" feature with openpkg.  I saw "rpmbuild" when doing
openpkg --help.  Is this what you're referring to as build?

# openpkg rpmbuild -Dapache::with_mod_php=yes -Dapache::with_mod_php_mysql=yes\
apache | sh
error: Macro %yes has empty body
error: Macro %yes has empty body
-Dapache::with_mod_php=yes: unknown option


- Mike

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

Reply via email to