Actually, if I remember correctly, the source binary goes in
/usr/src/RPM/SOURCES, the spec file then uncompresses this into either
/tmp or /var/tmp as well as /usr/src/RPM/BUILD (maybe only one really gets
created).  Then it builds the package in that temp directory, installs it
to a mini-tree, then packages the installed files.  If you did not put the
.tar.bz2 or .tar.gz file into the SOURCES directory then it won't be able
to decompress these and make the proper tree.  Also if you modified the
tar files layout so that it doesn't properly decompress into xpdf-0.92
anymore but into something else, you will run into a problem.


 On Mon, 27 Aug 2001, Praedor Tempus wrote:

> I am trying to build xpdf from source.  I installed the src rpm and ran a
> diff on it and then tried "rpm -bb /usr/src/RPM/SPECS/xpdf.spec".  It dies
> immediately with a message that the /var/tmp/xpdf-0.92 directory can't be
> found.  Of course not!  That directory is in /usr/src/RPM/SOURCES where it is
> supposed to be and where rpm made it by unbziping and untarring the primary
> xpdf-0.92.tar.bz2 file!
>
> What the f*ck?  Suddenly I can't build rpms because it is wanting to look in
> the wrong place for source directories?
>
>
>


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to