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
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).