修改时间 26-NOV-2008 类型 PROBLEM 状态 PUBLISHED
Applies to:
Application Install - Version: 11.5.9
This problem can occur on any platform.
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 :
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.
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.
Not able to locate perl therefore not able to execute the perl script.
Solution
To implement the solution, please execute the following steps:
To implement the solution, please execute the following steps:
1.Check which perl is being used.
$ which perl
$ perl -version
$ 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.
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/
本文详细阐述了在使用Perl脚本生成上下文文件时遇到错误的解决方法,包括检查使用的Perl版本、确保Perl在PATH中以及环境文件已加载。通过遵循提供的步骤,可以避免或解决该错误。
1160

被折叠的 条评论
为什么被折叠?



