[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: make-kpkg exists, right?



On Thu, Jan 03, 2002 at 08:03:14PM -0500, Seneca Cunningham wrote:
| Steve Mayer <Stephen.Mayer@oracle.com> wrote:
| > make-kpkg is a perl script.  Make sure that you have perl installed in
| > the location specified on the first line of the make-kpkg script.
| 
| icosagon:/usr/src/kernel-source-2.4.16# whereis perl
| perl: /usr/lib/perl  /usr/share/perl
| 
| first line of make-kpkg is #! /usr/bin/perl
| 
| icosagon:/usr/src/kernel-source-2.4.16# ls /usr/bin/perl
| ls: /usr/bin/perl: No such file or directory
| icosagon:/usr/src/kernel-source-2.4.16# ls /usr/bin/perl*
| /usr/bin/perl-5.6  /usr/bin/perl5.6.1  /usr/bin/perldoc.stub

Ooh, there's the problem.  Steve wins the prize :-).  On my system

$ ls -l /usr/bin/perl*
-rwxr-xr-x    3 root     root       707692 Dec  3 10:05 /usr/bin/perl
-rwxr-xr-x    3 root     root       707692 Dec  3 10:05 /usr/bin/perl-5.6
-rwxr-xr-x    3 root     root       707692 Dec  3 10:05 /usr/bin/perl5.6.1

$ dpkg -S /usr/bin/perl
perl-base: /usr/bin/perl

$ dpkg -l perl-base
ii  perl-base      5.6.1-6        The Pathologically Eclectic Rubbish Lister.

$ diff -b /usr/bin/perl /usr/bin/perl5.6.1 

$

I think you can just hardlink /usr/bin/perl5.6.1 (or
/usr/bin/perl-5.6) to /usr/bin/perl.

# ln /usr/bin/perl5.6.1 /usr/bin/perl

| I don't know perl yet, so I'm not sure about it. If you want, I can attatch
| my copy of make-kpkg, but it is 978 lines long.

No need to, the problem is not with make-kpkg itself, but that
/usr/bin/perl doesn't exist on your system.
 
-D

-- 

If we confess our sins, He is faithful and just and will forgive us our
sins and purify us from all unrighteousness.
        I John 1:9



Reply to: