UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 7898

2.1i Service Pack 2 Solaris Install: Can't locate Env.pm in @INC...

Description

Keywords: install, Perl Perl5, xilperl, Solaris, Env.pm, INC, SP2

Urgency: HOT

General Description:
The 2.1i Service Pack 2 Solaris install requires Perl5. Depending on the version of Perl used, the user may have trouble. Using Perl4 will give the following error:

"my" may clash with future reserved word at ./setup line 22.
syntax error in file ./setup at line 22, next 2 tokens "my("
"my" may clash with future reserved word at ./setup line 42.
syntax error in file ./setup at line 42, next 2 tokens "my("
"my" may clash with future reserved word at ./setup line 60.
syntax error in file ./setup at line 60, next 2 tokens "my("
"my" may clash with future reserved word at ./setup line 81.
syntax error in file ./setup at line 81, next 2 tokens "my("
"my" may clash with future reserved word at ./setup line 86.
syntax error in file ./setup at line 86, next 2 tokens "my("
syntax error in file ./setup at line 98, next 2 tokens "BEGIN {"
"use" may clash with future reserved word at ./setup line 100.
"use" may clash with future reserved word at ./setup line 101.
"use" may clash with future reserved word at ./setup line 102.
Execution of ./setup aborted due to compilation errors.

using $XILINX/bin/sol/xilperl may give the following:

Can't locate Env.pm in @INC (@INC contains: /devl/perl5/lib/sun4-solaris/5.00404
/devl/perl5/lib /devl/perl5/lib/site_perl/sun4-solaris /devl/perl5/lib/site_perl
.) at /tools3/eval_tools/xilinx_patches/solalli.C18.8/setup line 98.
BEGIN failed--compilation aborted at
/tools3/eval_tools/xilinx_patches/solalli.C18.8/setup line 98.

解决方案

The best way to get the SP2 (implementation) installer working is to use the command

$XILINX/installer/jre/sol/bin/java -DXIDEBUGGING=1 -jar ./setup.jar -global
product srvcpack -jredir $XILINX/installer/jre/sol/bin -nojre -setupdir .

or for the SP2 Data

$XILINX/installer/jre/sol/bin/java -DXIDEBUGGING=1 -jar ./setup.jar -global
product srvcpack_data -jredir $XILINX/installer/jre/sol/bin -nojre
-setupdir .

With the current directory being the directory containing the setup script.
This directory is assumed in the "./setup.jar" parameter (location of the
java setup script to execute), and in the final "." parameter (directory
containing the java setup script).
AR# 7898
创建日期 10/20/1999
Last Updated 08/23/2001
状态 Archive
Type 综合文章