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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding module to perl on AIX

Status
Not open for further replies.

dshook

IS-IT--Management
May 17, 2005
3
US
I am running AIX 5.2 and perl 5.8.0.10. I am trying to add the NET::TELNET module. The instructions say the first step is run 'perl Makefile.PL'. When I run this command I get the following:

Can't find string terminator "!END!" anywhere before EOF at /usr/opt/perl5/lib64/5.8.0/aix-thread-multi-64all/Config.pm line 45.
Compilation failed in require at /usr/opt/perl5/lib64/5.8.0/ExtUtils/MakeMaker.p
m line 11.
BEGIN failed--compilation aborted at /usr/opt/perl5/lib64/5.8.0/ExtUtils/MakeMak
er.pm line 11.
Compilation failed in require at Makefile.PL line 3.
BEGIN failed--compilation aborted at Makefile.PL line 3.

I would appreciate any thought or ideas on this
 
I prefer to use the CPAN module to install modules for me. Its best feature is that it resolves dependencies for you (I realise that's not the problem here, but I just thought I'd fit in some advocacy while I had the opportunity). Using CPAN, you can install the module with (as root):
Code:
# perl -MCPAN -e 'install Net::Telnet'
You'll have to set some configuration options the first time you run it (in most nearly all cases the defaults will be ok).
 
Thanks ishnid.

I tried to install the module via CPAN as you suggested and got the exact same error message - Can't find string terminator "!END!" anywhere before EOF at /usr/opt/perl5/lib64
/5.8.0/aix-thread-multi-64all/Config.pm line 45.

Any other thoughts?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top