"Gisle Askestad" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

please dont top post. f'ups rearranged.

> >>I'm using RedHat 8.0 and Perl 5.8.0
> >>
> >>I'm trying to install Time:HiRes from CPAN which is needed to
> >>use the File::Tail module. When running "Make" i get the error:
> >>
> >>Makefile:91: *** missing separator.  Stop.
> >>
> >>Makefile.PL says:
> >>
> >>NOTE: if you get an error like this (the line number may vary):
> >>Makefile:91: *** missing separator
> >>then set the environment variable LC_ALL to "C" and retry.
> >>
> >>
> >>Anyone knows where or how to set envionment variable LC_ALL to "C"?
> >>
> >setenv LC_ALL=C (or similar based on OS/version/whatever)
> >man setenv
> >man printenv
> >
> I tried: setenv LC_ALL=C
> It returned: bash: setenv: command not found
>
> "set env LC_ALL=C" does not return any error, but printenv
> does not show LC_ALL=C in the environment variables.
>
> man setenv and man printenv, even printenv works fine.
>
> My ReaHat build is complete - all 4 gigs of RedHat RPMS.
> Looks to me that this is a linux problem and not a perl problem.
>
> Still, any ideas what might be the problem?

The problem is that you need a primer in shell programming.

Linux defaults to bash, which uses "export" to configure the environment.
Notice the quote:

> >setenv LC_ALL=C (or similar based on OS/version/whatever)

from your first reply.

$ export LC_ALL=C

Please go get a book on Linux basics from the library.

HTH,

Todd W.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to