got stuck at envSetup.ksh
Posted: Wed Jul 18, 2012 12:25 pm
Hi guys,
I got stuck at envSetup. Here is the invocation:
source build/envSetup.ksh
and here is the error message:
Illegal division by zero at /net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/perl/perls/perl-5.15.9/lib/5.15.9/warnings.pm line 390.
BEGIN failed--compilation aborted at /loader/0xf407490/App/perlbrew.pm line 1.
Compilation failed in require at /net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/perl/bin/perlbrew line 364.
BEGIN failed--compilation aborted at /net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/perl/bin/perlbrew line 364.
Someone gave me a temporary solution, which is to comment out the following two lines in envSetup.ksh:
perl_env
perlbrew switch ${PVERSION}
I followed this suggestion and passed the envSetup.ksh part and did the following step:
./buildAdl.ksh
After a long while, I got the following error message and the installation stopped:
/net/rhs1002/disk1/pub/xjin/CSPP/common/local/lib/liblapack.a(slartg.o): In function `slartg_':
/net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/lapack/lapack-3.3.1/SRC/slartg.f:85: undefined reference to `_gfortran_pow_r4_i4'
/net/rhs1002/disk1/pub/xjin/CSPP/common/local/lib/liblapack.a(dlartg.o): In function `dlartg_':
/net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/lapack/lapack-3.3.1/SRC/dlartg.f:85: undefined reference to `_gfortran_pow_r8_i4'
/net/rhs1002/disk1/pub/xjin/CSPP/common/local/lib/liblapack.a(ilaenv.o): In function `ilaenv_':
/net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/lapack/lapack-3.3.1/SRC/ilaenv.f:135: undefined reference to `_gfortran_copy_string'
/net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/lapack/lapack-3.3.1/SRC/ilaenv.f:187: undefined reference to `_gfortran_copy_string'
/net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/lapack/lapack-3.3.1/SRC/ilaenv.f:188: undefined reference to `_gfortran_copy_string'
/net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/lapack/lapack-3.3.1/SRC/ilaenv.f:189: undefined reference to `_gfortran_copy_string'
collect2: ld returned 1 exit status
make[2]: *** [/net/rhs1002/disk1/pub/xjin/CSPP/ADL/bin/ProSdrAtmsController.exe] Error 1
make[2]: Leaving directory `/net/rhs1002/disk1/pub/xjin/CSPP/ADL/SDR/ATMS/Controller/src'
make[1]: *** [program] Error 2
make[1]: Leaving directory `/net/rhs1002/disk1/pub/xjin/CSPP/ADL/SDR'
make: *** [program] Error 2
Can any of you take a look? I am so frustrated.
I got stuck at envSetup. Here is the invocation:
source build/envSetup.ksh
and here is the error message:
Illegal division by zero at /net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/perl/perls/perl-5.15.9/lib/5.15.9/warnings.pm line 390.
BEGIN failed--compilation aborted at /loader/0xf407490/App/perlbrew.pm line 1.
Compilation failed in require at /net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/perl/bin/perlbrew line 364.
BEGIN failed--compilation aborted at /net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/perl/bin/perlbrew line 364.
Someone gave me a temporary solution, which is to comment out the following two lines in envSetup.ksh:
perl_env
perlbrew switch ${PVERSION}
I followed this suggestion and passed the envSetup.ksh part and did the following step:
./buildAdl.ksh
After a long while, I got the following error message and the installation stopped:
/net/rhs1002/disk1/pub/xjin/CSPP/common/local/lib/liblapack.a(slartg.o): In function `slartg_':
/net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/lapack/lapack-3.3.1/SRC/slartg.f:85: undefined reference to `_gfortran_pow_r4_i4'
/net/rhs1002/disk1/pub/xjin/CSPP/common/local/lib/liblapack.a(dlartg.o): In function `dlartg_':
/net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/lapack/lapack-3.3.1/SRC/dlartg.f:85: undefined reference to `_gfortran_pow_r8_i4'
/net/rhs1002/disk1/pub/xjin/CSPP/common/local/lib/liblapack.a(ilaenv.o): In function `ilaenv_':
/net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/lapack/lapack-3.3.1/SRC/ilaenv.f:135: undefined reference to `_gfortran_copy_string'
/net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/lapack/lapack-3.3.1/SRC/ilaenv.f:187: undefined reference to `_gfortran_copy_string'
/net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/lapack/lapack-3.3.1/SRC/ilaenv.f:188: undefined reference to `_gfortran_copy_string'
/net/rhs1002/disk1/pub/xjin/CSPP/common/COTS/lapack/lapack-3.3.1/SRC/ilaenv.f:189: undefined reference to `_gfortran_copy_string'
collect2: ld returned 1 exit status
make[2]: *** [/net/rhs1002/disk1/pub/xjin/CSPP/ADL/bin/ProSdrAtmsController.exe] Error 1
make[2]: Leaving directory `/net/rhs1002/disk1/pub/xjin/CSPP/ADL/SDR/ATMS/Controller/src'
make[1]: *** [program] Error 2
make[1]: Leaving directory `/net/rhs1002/disk1/pub/xjin/CSPP/ADL/SDR'
make: *** [program] Error 2
Can any of you take a look? I am so frustrated.