This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: RPM port project
- From: "Max Bowsher" <maxb at ukf dot net>
- To: "Yann Crausaz" <yann_crausaz at bluemail dot ch>,<cygwin-apps at cygwin dot com>
- Date: Wed, 2 Oct 2002 14:41:31 +0100
- Subject: Re: RPM port project
- References: <3D6085F100148503@mss4n.bluewin.ch>
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.