Ubuntu 10.04 と gcc バージョン 4.4.3 を使用しています。
SUPER_LU と呼ばれるこのライブラリをインストールしようとしていますが、Fortran で書かれたコードがいくつかあります。最上位ディレクトリで「make」と入力すると、次のエラーが表示されます
gaurish108@gaurish108-laptop:~/Desktop/Research Meetings/PETSC and SUper LU/SuperLU_4.0$ make
( cd INSTALL; make )
make[1]: Entering directory `/home/gaurish108/Desktop/Research Meetings/PETSC and SUper LU/SuperLU_4.0/INSTALL'
g77 -o testdlamch dlamch.o lsame.o dlamchtst.o
***make[1]: g77: Command not found***
make[1]: *** [testdlamch] Error 127
make[1]: Leaving directory `/home/gaurish108/Desktop/Research Meetings/PETSC and SUper LU/SuperLU_4.0/INSTALL'
make: *** [install] Error 2
これは、過去に数学ライブラリをダウンロードしようとしたときにも起こりましたか? g77 cam は gcc にバンドルされているといつも思っていました。でg77を個別にインストールしようとしたところsudo apt-get install g77
、これが得られました
gaurish108@gaurish108-laptop:~/Desktop/Research Meetings/PETSC and SUper LU/SuperLU_4.0$ sudo apt-get install g77[sudo] password for gaurish108:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package g77 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package g77 has no installation candidate
私は何をすべきか?