Can't locate Config.pm in @INC

本文详细阐述了在使用Perl脚本生成上下文文件时遇到错误的解决方法,包括检查使用的Perl版本、确保Perl在PATH中以及环境文件已加载。通过遵循提供的步骤,可以避免或解决该错误。
 
  修改时间 26-NOV-2008     类型 PROBLEM     状态 PUBLISHED  
 
Applies to:
Application Install - Version: 11.5.9
This problem can occur on any platform.
Symptoms
When running the following command to generate the context file using note 165195.1
perl adbldxml.pl tier=db appsuser=apps appspasswd=apps
the following error occurs :
ERROR
Can't locate Config.pm in @INC (@INC contains:
/.../perl/lib/5.00503/i686-linux //src/buildarea/asg_apache/pre_shiphome/perl/lib/5.00503
//src/buildarea/asg_apache/pre_shiphome/perl/lib/site_perl/5.005
/i686-linux
//src/buildarea/asg_apache/pre_shiphome/perl/lib/site_perl/5.005
.) at adbldxml.pl line 32.
BEGIN failed--compilation aborted at adbldxml.pl line 32.
Cause
Not able to locate perl therefore not able to execute the perl script.
Solution
To implement the solution, please execute the following steps:
1.Check which perl is being used.
$ which perl
$ perl -version
2. Make sure that the perl is in PATH and the environment file is sourced.
    Before implementing autoconfig, at the step of running adbldxml.pl,
    the applications environment file will not be created,
    therefore you can use the perl delivered by OS.
    The required variables like the PERL5LIB are dynamically created by the script.
 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-717650/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/35489/viewspace-717650/

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值