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

Re: video=ofonly



"eskimo" <esquimo.generik@wanadoo.fr> writes:

> On Tuesday 12 November 2002 00:32, Jason E. Stewart wrote:
> > "eskimo" <esquimo.generik@wanadoo.fr> writes:
> > > ./patch-floppy-image.pl: line 1: boot-floppy-hfs.img: command not found
> > > ./patch-floppy-image.pl: line 13: my: command not found
> > > ./patch-floppy-image.pl: line 18: my: command not found
> > > ./patch-floppy-image.pl: line 22: my: command not found
> > > ./patch-floppy-image.pl: line 23: syntax error near unexpected token `('
> > > ./patch-floppy-image.pl: line 23: `my $pad_len = $absolute_max_length -
> > > length( $maintain );'
> >
> > That looks suspiciously like you need to run with:
> >
> >   perl ./patch-floopy-image.pl
> >
> > and not just:
> >
> >   ./patch-floopy-image.pl
> >
> > the 'my: command not found' seems to indicate its using /bin/sh and
> > not /usr/bin/perl.
> >
> > jas.
> 
> 
> at the beginning of the script there's that
>  #!/usr/bin/perl -w 

Hmmm.. maybe your perl isn't in /usr/bin/perl?

> and i've tried what you said and i have this:
> 
> Scalar found where operator expected at ./patch-floppy-image.pl line 13, near 
> "$absolute_max_length"
>         (Missing operator before  $absolute_max_length?)
> syntax error at ./patch-floppy-image.pl line 13, near "$absolute_max_length "
> Execution of ./patch-floppy-image.pl aborted due to compilation errors.

This is at least perl complaining that the script has syntax errors
and can't be run. 

Sorry, I don't have the script, so I can't help more.

jas.



Reply to: