Conversation
FYI, I had to add:
to the recipe, else I got an error when configuring rpm:
|
Thanks for the info, I've updated my merge request. |
hey haraldF - I'm also seeing an odd issue... seems like it hasn't done variable substitution during configure:
I installed with brew install -v but nothing jumped out. Any ideas? |
Double check the patches:
|
@Sharpie - weird, I just retried and the patches apply fine: /usr/bin/curl -f#LA Homebrew 0.8 (Ruby 1.8.7-249; Mac OS X 10.6.8) http://rpm.org/releases/rpm-4.9.x/rpm-4.9.1.2.tar.bz2 -o /Users/harald/Library/Caches/Homebrew/rpm-4.9.1.2.tar.bz2 |
I am seeing the same rejects:
|
I was able to patch this on Lion without any hunk failures. I don't have my SL handy to test this on it, though.
So I guess this needs another commit for that depends_on. Sorry if the issues have caused ya'll some headaches. |
The patches also applied for me on 10.6.8/Xcode 3.2.6, so my build also halted on the missing |
I copied the ruby code from rpm.rb file and put it in rpm.rb. then I did brew install rpm.rb Hoever I'm getting an error uninitialized constant Rpm::DATA. 1st q -> Am I supposed to install it that way? I would really like not having to install macports just for rpm. Any help is highly appreciated. Thanks. --Aru Had to install berkeley-db first. Thanks a lot. |
gist your config.log including the exact error message, plus a
Well I'm now getting the same error as the other fellow:
but I can fix it if I specify a dbpath like This seems to set the dbpath the way we might want it so that it persists,
I went ahead and made a gist of a new rpm.rb that includes
So how well does it work? Well if I |
Thanks for your help 2bits. I was able to install rpm by installing berkeley-db first. I was getting an error where the configure (or make) step had failed due to dependency on berkeley-db. So I went ahead with brew install berkeley-db first. After that, brew install rpm.rb. The rpm.rb from haraldF rpm branch worked perfectly for me. I did not have to change anything. |
Using some official rpm from a distro, like xbill.rpm, or any official rpm you have handy, would you run |
Damn! I thought I had it figured out. Here's the console output: ➜ ~ rpm -qil /tmp/xbill-2.1-2.fc11.x86_64.rpm |
It's okay, plus we get to see your prompt :-) |
Configure determines we have |
I'm going to try and look into just creating a brew based off the MacPorts of RPM. Looks like they've already solved these problems. |
last commit should fix the "cannot open Packages database" bug |
@harking let me know how it goes. I saw MacPorts was using rpm5, however, I needed an rpm4. |
Reminder that when this is ready for review for inclusion, we'll want a single squashed commit rebased on top of master. |
I made one additional change and squashed the commit on top of master: #11188 |
- Add rpm formula at version 4.11.0.1 (brown paper bag release of 4.11.x) - Enable default lua and python bindings. - Docs are disabled because they're online. - Added portability patches (from 5f69d15). Closes Homebrew#8090 Homebrew#11188 Homebrew#14937
This change adds a recipe for the rpm package manager. This tool is very helpful to introspect / query / verify / uncompress rpm packages, e.g. for MeeGo development on Mac OS X.
I'm currently trying to upstream the Mac OS X build fixes, until they're accepted in rpm, I'm going to maintain them in rpm.rb.