[ATrpms-users] RPM for perl JavaScript module
Axel Thimm
Axel.Thimm at ATrpms.net
Sun Jun 18 12:23:41 CEST 2006
On Sun, Jun 18, 2006 at 06:30:32PM +1000, Phill Edwards wrote:
> > This links to the matching src.rpm which contains the specfile. In
> > fact if you have the src.rpm you don't need the specfile, just do
> >
> > rpmbuild --rebuild foo.src.rpm
>
> When I try this I get an error:
>
> # rpmbuild --rebuild perl-JavaScript-0.55-2.n0i.2.src.rpm
> Installing perl-JavaScript-0.55-2.n0i.2.src.rpm
> error: perl-JavaScript-0.55-2.n0i.2.src.rpm cannot be installed
>
> Could this be because I don't have a .rpmrc file (or something like
> that)? I have never installed from source rpms before so I'm a bit in
> the dark here - sorry!
Yes, it would try to install under /usr/src/redhat which a non-root
user has no write access to. Either make that writable by your user,
or set in ~/.rpmmacros some new paths like
%_specdir
%_sourcedir
and the like.
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20060618/01317e1b/attachment.bin
More information about the atrpms-users
mailing list