Encrypted document

2004-03-18 Thread thl





__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


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 PROTECTED]
A potential Snark may lurk in every tree.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


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 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?

Thanks.


- Mike


On Wed, 17 Mar 2004, Mike's List wrote:

 Rebuild was going along just fine, until the errors (below).  This happens
 to me when I attempted to do proftpd earlier but thought it might be just
 proftp specific (as the binary package keeps dumping core on me).  Do I
 need to reboot the server to correct this or something more sinister?
 
 
 # openpkg rpm --rebuild --define 'with_mod_php yes' --define 'wi \
 th_mod_php_mysql yes' ~mike/openpkg/src/apache-1.3.29-2.0.0.src.rpm
 
 compiling stuff here
 rpmtool:files: pass 1 (preparation and syntactical expansions)
 rpmtool:files: pass 2 (filesystem-based expansions)
 rpmtool:files: pass 3 (duplication removal and cleanup)
 + exit 0
 Processing files: apache-1.3.29-2.0.0
 error: Could not open %files file /openpkg/RPM/TMP/apache-1.3.29/files:
 No such file or directory
 
 
 RPM build errors:
 Could not open %files file /openpkg/RPM/TMP/apache-1.3.29/files: No
 such file or directory
 
 As you can see the directories are there.
 [EMAIL PROTECTED]
 /openpkg/RPM/TMP# ls -l
 total 4
 drwxr-xr-x   5 root other512 Mar 17 06:36 apache-1.3.29
 drwxr-xr-x   3 root other512 Mar 17 06:36 apache-1.3.29-root
 
 
 __
 The OpenPKG Projectwww.openpkg.org
 User Communication List  [EMAIL PROTECTED]
 


__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: Installing openpkg on FreeBSD.

2004-03-18 Thread Christoph Schug
On Fri, Mar 19, 2004, Lars Bungum wrote:

 Hi, I'm looking to install openpkg on a FreeBSD 4.9 server (to install a
 kolab server).  However, my rpm system refused to install the
 prepackaged FreeBSD 4.9-package from your ftp site saying this:
 
 error: failed dependencies:
 rpmlib(PartialHardlinkSets) = 4.0.4-1 is needed by
 openpkg-2.0.0-2.0.0
 
 .. it could seem to me that I need rpm 4, but only 3 is availabe from
 ports.   Then again I feel like I've missed out on something conceptual
 here, and was unable to find the answer searching.  How am I supposed to
 install the packages?

You cannot install OpenPKG packages with an arbitrary RPM. You have to
bootstrap using the 'openpkg-*.src.sh' package which contains its own
feature enhanced version of RPM needed by OpenPKG packages.

- http://www.openpkg.org/tutorial.html#bootstrap-source

In the rare case you do not have a compiler on your FreeBSD system you
might alternatively bootstrap from binary packages.

- http://www.openpkg.org/tutorial.html#bootstrap-binary
- 
ftp://ftp.openpkg.org/release/2.0/BIN/ix86-freebsd4.9/openpkg-2.0.0-2.0.0.ix86-freebsd4.9-openpkg.sh

After having 'openpkg' installed it is good practice to install 'make',
'binutils', 'gcc' since these are the most essential packages required
by most of the other OpenPKG packages.

Again, please do not intermix OpenPKG packages with other RPM stuff
floating around on the net (and vice versa) since they are completely
different under the hood.

Good luck :-)

__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


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 package dependencies
and produces a shell script of rpm commands to install or update
packages.

It probably makes your life easier with OpenPKG, but it won't fix
the %files problem you see.

-- 
Michael van Elst
Internet: [EMAIL PROTECTED]
A potential Snark may lurk in every tree.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]