Aply Kernel Extesions
Bob McClure Jr
robertmcclure at earthlink.net
Thu Sep 8 12:59:24 UTC 2005
On Thu, Sep 08, 2005 at 08:46:00AM -0300, Rodrigo Faria Tavares wrote:
>
> Hello,
>
> I have a FC3, with iptables 1.2.11.
> I make the download of patch-o-matic, but when I try to aply a modules,
> come this message.
>
> [root at faria patch-o-matic-ng-20040621]#
> KERNEL_DIR=/usr/src/linux-2.6.12/ sh ./runme
> ./pptp-conntrack-nat/linux.patch
> ./runme: line 12: use: command not found
> ./runme: line 13: use: command not found
> ./runme: line 14: use: command not found
> ./runme: line 16: require: command not found
> ./runme: line 18: my: command not found
> ./runme: line 19: my: command not found
> ./runme: line 21: syntax error near unexpected token
> `@INC,'
> ./runme: line 21: `push(@INC, $POMNG_ROOT_D
>
> How I can to resolve it ?
Don't do
sh ./runme
because you are forcing it to run under the shell (bash, actually).
That works only if the script is really a shell script. All you need
to do is just
./runme
It's probably a Perl script. Doing it that way will cause it to
invoke the correct interpreter (/usr/bin/perl).
> Att,
>
> Rodrigo Faria Tavares
> e-mail : rodrigofariat at yahoo.com.br
> Analista de Suporte Linux
Cheers,
--
Bob McClure, Jr. Bobcat Open Systems, Inc.
robertmcclure at earthlink.net http://www.bobcatos.com
Peace at any price is inflationary.
More information about the Redhat-install-list
mailing list