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