rpm-4.1 successful compile on Cygwin

Max Bowsher maxb@ukf.net
Fri Mar 7 15:59:00 GMT 2003


There's been sporadic interest in rpm, so I thought someone might find this
useful:

I've recently succeeded in persuading rpm-4.1 to compile under Cygwin.
It was more troublesome than rpm-4.0.4, as it makes some assumptions about
the system, and doesn't bother to use configure tests to make sure.

Attached are my fixup script, and 2 patches (one bzip2ed - the script
expects it uncompressed, though).

The jbj9 patch is the diff between the rpm-4.1 from ftp.rpm.org, and the one
inside Jeff Johnson's (the RPM maintainer) unofficial rpm-4.1-9 .src.rpm.

The script fixes some things via perl regexps, and uses a patch for the
rest.

I'm rather unsure about one particular bit of code: is writing to the
environ pointer legal?



Anyway, here it is, in case anyone finds it useful.


Max.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rpm-4.1-jbj9.patch.bz2
Type: application/octet-stream
Size: 12272 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030307/9d57bb7c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixup-rpm-4.1.sh
Type: application/octet-stream
Size: 1170 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030307/9d57bb7c/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rpm-4.1-fixups.patch
Type: application/octet-stream
Size: 2842 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030307/9d57bb7c/attachment-0002.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list