This is the mail archive of the cygwin-apps@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]

Re: RPM port project


Yann Crausaz wrote:
> to port the latest version of RPM (which is actuelly 4.1.8 :
> rpm-4.1-8x.src.rpm),

Actually, the version is 4.1 (rpm-4.1.tar.gz). 8x means customized for
RedHat distro version 8.x.

I have successfully built rpm-4.0.4 with the following pre-configure
adjustments:

### BEGIN pre-configure script ###
echo Adjusting db3/configure...
perl -i.orig -pe 's/\`echo \$\* \| sed -e
\"s\% --cache-file=\.\*\$\%([^%]*)\%\"\`/$1/;s/--enable-rpc/--disable-rpc/;'
db3/configure

echo Removing -lrt from Makefile.in and rpmio/Makefile.in
for file in Makefile.in rpmio/Makefile.in; do
 perl -i.orig -pe 's/^(LIBS\s*=\s*(?:\S+\s+)*)-lrt(\s+.*)/$1$2/;' $file
done

### END pre-configure script ###

> and then to find out a way for creating a
> something like a distribution of Cygwin completely based on an RPM
> scheme (!).

This is the tricky bit.

Good luck,

Max.


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