I need a newer version of perl on a RHL 6.2 box so I download the source
tarball for perl 5.8.  trying to build an rpm from it (this is the forst
time I have tried this) I get the following



[root@compaq2 perl]# rpm --ta stable.tar.gz 
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)

hmm so I looked in the SPEC dir

[root@compaq2 perl]# cd /usr/src/redhat/SPECS/
[root@compaq2 SPECS]# ls -al
total 128
drwxr-xr-x   2 root     root         4096 Oct 11 13:01 .
drwxr-xr-x   7 root     root         4096 Mar 13  2001 ..
-rw-r-----   1 root     root        74241 Mar 30  2001 XFree86.spec
-rw-rw-r--   1 root     root         1111 Aug 15  2001 elevate.spec
-rw-rw-r--   1 root     root        27511 Jun 26 09:08 openssh.spec
-rw-r--r--   1 root     root          994 Aug 14  2001 pavuk.spec
-rw-r--r--   1 root     root         3118 Mar 29  1999 tar.spec
-rw-r--r--   1 root     root            0 Oct 11 13:00 tar: *.spec: Not
found in archive


I am assuming that this means that there is no spec file in the tarball.

can I use this at all to build an rpm?

If not, can I simply build a 5.6.1 rpm from the src rpm included with
7.x for my 6.2 system?

Any tips appreciated

Bret




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to