Brad Felmey wrote:

>On Wed, 2002-04-24 at 05:04, civileme wrote:
>
>>Of course, just make an ~/rpm directory with the subdirectories /BUILD 
>>/SOURCES /SPECS /RPMS /SRPMS, and
>>
>>rpm -ivh samba-<version>.src.rpm
>>
>>in an xterm or console AS USER.
>>
>>Then look in the ~/rpm directory and you will see how it was built.  The 
>>.spec file should answer your question in most cases.
>>
>
>[bfelmey]$ rpm -ivh kernel-2.4.18.7mdk-1-1mdk.src.rpm
>error: cannot write to %sourcedir /usr/src/RPM/SOURCES
>
>
>------------------------------------------------------------------------
>
>Want to buy your Pack or Services from MandrakeSoft? 
>Go to http://www.mandrakestore.com
>
did you make an rpm directory locally?

Oh  also sorry about that---

make a file called ~/.rpmrc and another called ~/.rpmmacros

rpmmacros should look like this

%_topdir               /home/tester/rpm
%_tmppath              /home/tester/rpm/tmp

%_signature            gpg
%_gpg_name             Mandrake Linux
%_gpg_path             ~/.gnupg
%distribution          Mandrake Linux
%vendor                MandrakeSoft

And rpmrc should look like this:

buildarchtranslate: i386: i586
buildarchtranslate: i486: i586
buildarchtranslate: i586: i586
buildarchtranslate: i686: i586

And make sure you install every package that begins with the letters rpm 
and also spec-helper.



Civileme






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

Reply via email to