rpm on OSX Lion

2012-03-23 Thread Henri Gomez
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. I first tried to build latest tar ball, 5.3.5 : - configure works - make fail libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb

rpm on OSX

2012-03-23 Thread Henri Gomez
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. I first tried to build latest tar ball, 5.3.5 : - configure works - make fail libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb

Re: rpm on OSX Lion

2012-03-24 Thread Henri Gomez
Excellent. I now well Jenkins but not Waterfall, seems interesting. I build the latest rpm-5_4 from CVS on Lion Server using a buildbot here:        http://harwich.jbj.org:8010/waterfall Both Lion Server (and Leopard) are there in the waterfalls. (aside) Both are broken atm just because I

Re: rpm on OSX Lion

2012-03-25 Thread Henri Gomez
You're amazing guys ! Well, I feel I have works-fun next week. I'll avoid /opt of course, first step will be to install rpm under /usr/bin for a test drive and test some of my own rpms. If it works great, next step may be a relocation under /opt/rpm4osx or something like this, ie using a

Re: rpm on OSX Lion

2012-03-26 Thread Henri Gomez
Good. Careful about sqlite, its rather tricky. Preferred is building/using the sqlite layer in Berkeley DB (which is exactly sqlite with a Berkeley DB storage). How can I select such preferred building ? Yes OpenMP is problematic on Mac OS X because of LLVM != GCC. You might want to look at

Re: rpm on OSX Lion

2012-03-26 Thread Henri Gomez
But see the options use when db-5.3.15 is built. This is what I use to build Berkely DB on Mac OS X (after creating a build_macosx directory to build in) === #!/bin/sh prefix=/opt/local configure_cmd=../dist/configure configure_args=        --prefix=${prefix}        

Re: rpm on OSX Lion

2012-03-26 Thread Henri Gomez
BTW, I attached tests results : 2012/3/26 Henri Gomez henri.go...@gmail.com: But see the options use when db-5.3.15 is built. This is what I use to build Berkely DB on Mac OS X (after creating a build_macosx directory to build in) === #!/bin/sh prefix=/opt/local

Re: rpm on OSX Lion

2012-03-26 Thread Henri Gomez
Anders, your expertise on OSX and RPM will be very helpfull. Could we team up for providing Snow/Lion packages (RPM yum/zypper/wharever) ? Le 26 mars 2012 à 20:35, Anders F Björklund a...@rpm5.org a écrit : Henri Gomez wrote: Also, Xcode build tools may stop supporting PowerPC in a near

Re: rpm on OSX Lion

2012-03-26 Thread Henri Gomez
If MacPorts could provide a RPM based distribution, may be need for recreating a new distribution may be less urgent. Better if they push dependencies in ... RPMs. MacPorts team did a tremendous works and duplicating effort may not be mandatory. About RPM on MacPorts, could it be updated

Re: rpm on OSX Lion

2012-03-27 Thread Henri Gomez
-am'. pcre directory exist under rpm-5.4.7, why ../pcre error ? 2012/3/28 Henri Gomez henri.go...@gmail.com: I removed everything in /usr/local and changed PATH to hide contents in /opt/local So question about pcre used with --with-pcre=Internal is still opened. Otool reported a shared lib

Re: 5.4.8 release

2012-04-04 Thread Henri Gomez
No worries: I happen to have a fair number of Lion boxes doing nothing more than BOINC cobblestone accumulation atm. :-) I will create and maintain a builds lave for you as soon as you tell me what build options you desire with RPM. The one we used : DB 5.3 as system RPM in static mode

Re: Specify a destination in %files

2012-12-26 Thread Henri Gomez
installing lib from /kde4/usr/lib could broke stuff in /usr/lib ? 2012/12/22 Joachim Langenbach joac...@falaba.de Hello, I'm trying to create a RPM, which produces three packages for a library. The first is the library without kde bindings, the second is the library with kde bindings and