RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm on OSX Lion

From: Jeffrey Johnson <n3npq@me.com>
Date: Sat 24 Mar 2012 - 01:12:12 CET
Message-id: <86DCEFE7-3B36-4A9F-B557-42D1ED65E2FC@me.com>

On Mar 23, 2012, at 7:41 PM, Henri Gomez wrote:

> Hi to all,
> I'm a long time rpm user and packager and I'd like to experiment it on
> OSX (10.7.3) and Xcode 4.3.2.



> Did someone succeed to build rpm 5.x on OSX Lion ?
> Advices more than welcomed.

I build the latest rpm-5_4 from CVS on Lion Server using a buildbot here:

Both Lion Server (and Leopard) are there in the waterfalls.

Both are broken atm just because I haven't bothered fixing "bleeding edge" functionality
on Mac OS X quite yet.

Note that "bleeding edge" is currently attempting to use an embedded
perl interpreter to load a perl-URPM CPAN module that isn't installed.
i.e. no one but me needs/uses this RPM functionality yet.

But there are older successful logs which show the build options in
use and the results of buildbot testing on both Lion and Leopard
(and if you want Snow Leopard or Mountain Lion, I can likely
attempt that too).

The majority of the packages in use are bog standard installs from
MacPorts port(1). There's a few packages (like db-5.3.15) that aren't in MacPorts
yet that I build manually.

The really hard part of building RPM is figuring out the build options.
Its not as simple as just doing
	./configure --prefix=/opt/local
	make install

But feel free to make suggestions on what you want to see. I'd love
to see RPM in use on Mac OS X.


73 de Jeff
Received on Sat Mar 24 02:12:25 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.