graywolf Wrote:do this
Code:
cd /usr/src/redhat/SOURCES/
if it dosent exist create it
Code:
cd /
mkdir usr
cd usr
mkdir src
cd src
mkdir redhat
cd redhat
mkdir SOURCES
cd SOURCES
cpan2rpm -i --no-sign http://search.cpan.org/CPAN/authors/id/P/PH/PHOENIX/Term-ReadPassword-0.07.tar.gz
ls
then tell me what happens
[root@www SOURCES]# cpan2rpm -i --no-sign
http://search.cpan.org/CPAN/authors/id/P....07.tar.gz
-- cpan2rpm - Ver: 2.028 --
Upgrade check
Fetch: HTTP
-- module:
http://search.cpan.org/CPAN/authors/id/P....07.tar.gz --
Metadata retrieval
Tarball extraction: [/usr/src/redhat/SOURCES/Term-ReadPassword-0.07.tar.gz]
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
system tar -x --directory /tmp/hD3kOzMih0 -z -f /usr/src/redhat/SOURCES/Term-ReadPassword-0.07.tar.gz failed: 512 at /usr/bin/cpan2rpm line 1256.
-- Done --
[root@www SOURCES]#