Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

perl in Linux 8.0

Status
Not open for further replies.

maunir

MIS
Apr 30, 2002
62
US
I just finished installing perl on my Linux 8.0 and I was testing perl with a simple print command and it doesn't display on my terminal I'm must be missing something really silly somewhere. Help of any kind will be appreciated and will be handsomely rewarded......:)
 
Hi,
first, you need to be more precise. There is no linux 8.0.
Linux is up to 2.6. Ther's Suse 8.0, RH etc.
So I assume you are referring to a distribution. If so,
mst of these distributions have some installation tools.
What is installed by default and put in the path
is up to the distribution. You can do a search for 'perl'
in / to see if perl is installed. If so, you need to either put it in the path or else start your scripts
with the perl location. If not, you need to install it.
For instance with Suse use Yast2, choose Install packages
and select perl from languages.

Good luck
svar
 
sorry about that its red hat....and i did a which on it and its install at this path /usr/bin/perl....
 
ok,

What was your script and what was printed on screen? Mike

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

It's like this; even samurai have teddy bears, and even teddy bears get drunk.
 
Gday Maunir,

Make sure your perl program starts with a correct shebang (in your instance #!/usr/bin/perl).

If perl is installed correctly, running "perl -v" should tell you a story about your installation. This will also allow you to verify what you installed.

Regards,
Pat
 
linux rh 8 has bugs running perl
it's a well known fact
covered in the download sites
try looking in the bug fixes for 8
or use a different version
 
Funnily enough this sort of problem has just surfaced in the London.pm mailing list this week, an extract of which:


On 17 Feb (in a thread which ain't on this machine) Dirk Koopman wrote:

>Methinks there is much smelly fish in Perl 5.8.0 UTF implementation and also
>in RH8.0's internationalisation stuff / port of perl. A standard 'cure'
>seems to be to rename /etc/sysconfig/i18n to something else (eg i18n.orig)
>and then restart the machine.

>Suddenly things like man pages start to come out in something
>approaching english (ie without a load accented a's instead of <tab> and
>stuff) and your perl goes a lot faster.


You can read the thread at:


Not sure if this is the same problem, but it sounds like it.

Barbie
Leader of Birmingham Perl Mongers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top