MinGW cross compilation enviroment setup

Michael Stefaniuc mstefani at redhat.de
Wed Jan 7 19:05:12 CST 2004


On Wed, Jan 07, 2004 at 06:23:13PM -0500, Dimitrie O. Paun wrote:
> On Wed, 7 Jan 2004, Michael Stefaniuc wrote:
> > Here is my .rpmmacros file to be able to build rpms as normal user. You
> > need to adapt the paths:
> > %_topdir                /home/mstefani/rpm
> > %_tmppath               /home/mstefani/rpm/INSTALL
> 
> Thanks!
> 
> > You need also to setup the %_topdir directory. Do following as user you
> > want to build the rpms:
> > mkdir -p $_topdir $_tmppath
> > mkdir $_topdir/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
> > mkdir $_topdir/RPMS/{i386,i486,i586,i686,noarch,athlon}
> > 
> > That should be all.
> 
> Done, works like a charm, but I keep getting the same failure.
Did you upgraded your box to RHL 9 or have you done a fresh install?
Mine is a fresh install.
The only thing i can imagine is that you have something different in
/usr/lib/rpm/. You can check that with:
(for i in /usr/lib/rpm/*; do rpm -qf $i; done) | sort | uniq
I get following output:
redhat-rpm-config-8.0.21-1
rpm-4.2-0.69
rpm-build-4.2-0.69
rpm-devel-4.2-0.69
By appending a " | xargs rpm -V" to the above command you can check if
files from the above rpms are unmodified. No output is good (that's what
i'm getting).

> > If you can't build mingw as user too i can put the rpm (compiled for
> > i386 or i686, i don't mind) on my people.redhat.com page.
> 
> Yes, I'll take you up on the offer, for the mingw-3.0-1.src.rpm
> package, if you can.
ftp://people.redhat.com/mstefani/mingw-3.0-1.noarch.rpm
MD5SUM: 6298f5cb4e8a1cac2701273db233dcfb

bye
	michael
-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
System Administration           Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20040108/119c961d/attachment.pgp


More information about the wine-devel mailing list