[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] help installing source rpm



nag forced the electrons to say:
> rpm  -i wget-1.5.3-5.src.rpm
> It has written the sources in /usr/src/redhat/SORCES and
> /usr/src/redhat/SPECS

That is fine. That is the correct behaviour. If you want to compile the SRPM
and install it, give the command

rpm --rebuild wget-1.5.3-5.src.rpm

> when I say wget-bc wget.spec it is not building
> and it is giving the following error in the end.
> + libtoolize --copy --force

libtoolize is in the libtool package. You probably need that installed.
(Even though rpm -qR wget on my RHL 6.0 doesn't show libtool).

Anyway, to build the binary RPM, give the command

rpm -bb <spec file name>

Regards,

Binand


-- 
#include <stdio.h>                                   | Binand Raj S.
char *p = "#include <stdio.h>%cchar *p = %c%s%c;     | This is a self-
int main(){printf(p,10,34,p,34,10);return 0;}%c";    | printing program.
int main(){printf(p,10,34,p,34,10);return 0;}        | Try it!!

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.