On Wed, 23 Jul 2003, Julian Opificius wrote:
> I'm trying to rebuild postfix and cyrus-sasl RPMS from SRPMS to add SMTP auth.
>
> Following instructions on the postfix site, I'm trying to build as a
> regular user, not as root. However, whenever I run "rpm -ivh
> blah.blah.4.17.11.src.rpm" on a source RPM I get this error msg:
>
> "error: cannot create %sourcedir /%HOME/rpm/SOURCES"
>
> I've created .rpmmacros in my "/home/<userdir>" containing "%_topdir
> %HOME/rpm" as instructed. Is it something to do with the build root, or
> file/dir permissions, maybe?
>
> Can somebody tell me what I'm doing wrong ?
several worked examples about setting up the non-root build
environment at:
http://www.rpm.org/hintskinks/buildtree/
personally I do not use a variable in the %_topdir define
bash-2.05b$ grep top .rpmmacros
%_topdir /home/herrold/rpmbuild
bash-2.05b$
also pre-make at least %_topdir/BUILD %_topdir/SPECS
%_topdir/SOURCES %_topdir/RPMS/ %_topdir/RPMS/noarch
and %_topdir/RPMS/i386
-- Russ Herrold
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list