SUMMARY: Rebuild Apache with options

2004-03-19 Thread Mike's List
Thanks to: Michael Schloh von Bennewitz and Matthias Kurz for their unwavering support. Michael mentioned something about openpkg being perl based and *wham* I recalled perl's permission. One of the program/software I installed and ran on the server changed permission of /openpkg/bin/perl to

Re: Rebuild Apache with options

2004-03-18 Thread Michael van Elst
On Wed, Mar 17, 2004 at 01:05:02PM +0100, Matthias Kurz wrote: 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 Sure :) -- Michael van Elst Internet: [EMAIL

Re: Rebuild Apache with options

2004-03-18 Thread Mike's List
I've remove the apache binary package that was installed, reboot the server, make certain /openpkg/RPM/TMP has enough disk space (4+Gig). The error message still appears, it seems like apache doesn't want to compile and something about %files file...no such file or directory. Where do I get the

Re: Rebuild Apache with options

2004-03-18 Thread Michael van Elst
On Thu, Mar 18, 2004 at 10:06:06AM -0600, Mike's List wrote: Where do I get the openpkg build --supposedly in the tools? but I don't see it at ftp.openpkg.org or do I need to get it someplace else? As others pointed out, it is a PLUS package. openpkg build is a perl script that evaluates

Re: Rebuild Apache with options

2004-03-17 Thread Matthias Kurz
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

Re: Rebuild Apache with options

2004-03-17 Thread Ralf S. Engelschall
On Wed, Mar 17, 2004, Mike's List 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

Rebuild Apache with options

2004-03-16 Thread Mike's List
How do I build Apache with support for PHP/MySQL/IMAP and so on? Currently, I'm doing the following to install packages: openpkg rpm -rebuild /dir/source then openpkg rpm -Uvh build But I need more options for some of the software, my server platform is Solaris 9 and I need to get Squirrelmail

Re: Rebuild Apache with options

2004-03-16 Thread David M. Fetter
Do this: 1. openpkg rpm -ivh apache*src.rpm 2. vi %prefix/RPM/SRC/apache/apache.spec 3. make appropriate configure changes/additions 4. openpkg rpm -ba %prefix/RPM/SRC/apache/apache.spec 5. openpkg rpm -ivh $prefix/RPM/PKG/apache*.rpm Mike's List wrote: How do I build Apache with support for

Re: Rebuild Apache with options

2004-03-16 Thread David M. Fetter
Oh, and if you want more detail you can look at this doc I wrote on building RPM's. It wasn't originally meant for OpenPKG specifically but it still is the same concept. http://www.fetterconsulting.com/index.php?name=solarisrpm Mike's List wrote: How do I build Apache with support for

Re: Rebuild Apache with options

2004-03-16 Thread Mike's List
On Tue, 16 Mar 2004, David M. Fetter wrote: Do this: 1. openpkg rpm -ivh apache*src.rpm done 2. vi %prefix/RPM/SRC/apache/apache.spec I'm green with this options stuff but there are tons of lines with # packages options and many more lines of code, note, I'm not a programmer/developer.

Re: Rebuild Apache with options

2004-03-16 Thread Michael van Elst
On Tue, Mar 16, 2004 at 07:35:12PM -0800, David M. Fetter wrote: Do this: 1. openpkg rpm -ivh apache*src.rpm 2. vi %prefix/RPM/SRC/apache/apache.spec 3. make appropriate configure changes/additions 4. openpkg rpm -ba %prefix/RPM/SRC/apache/apache.spec 5. openpkg rpm -ivh