This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

rpm-4.1 successful compile on Cygwin


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.

Attachment: rpm-4.1-jbj9.patch.bz2
Description: Binary data

Attachment: fixup-rpm-4.1.sh
Description: Binary data

Attachment: rpm-4.1-fixups.patch
Description: Binary data

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]