[해결] AMD64용 우분투 9.10에서 f77 설치하는 방법 문의

우분투 9.10에는 GNU Fortran compiler인 f77이 없군요,

대신 f2c를 이용하는 fort77이 f77로 링크되어 있고요.

몇가지 이유때문에 (fort77이나 gfortran외에) f77을 깔고 싶은데 너무 어렵군요.

hardy에 gcc-3.4가 있고 여기에 f77이 있는건 알겠는데 그걸 제 머신에 어떻게 깔아야 할 지 모르겠고,

구글링을 통해(http://doomed-lover.com/index.php?q=node/382) 얻은 정보대로 tar.gz 소스 파일을 받아 컴파일 시도 해 봤는데

[code:3d04cbmg]...
gcc -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I. -I./. -I./../include
-DTARGET_MACHINE="x86_64-unknown-linux-gnu"
-c ./collect2.c -o collect2.o
In file included from /usr/include/fcntl.h:217,
from ./system.h:214,
from ./collect2.c:30:
In function ?pen?
inlined from ?ollect_execute?at ./collect2.c:1537:
/usr/include/bits/fcntl2.h:51: error: call to ?_open_missing_mode?declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[1]: *** [collect2.o] Error 1
make[1]: Leaving directory `/home/tspark/packages/gcc-3.4.6/gcc’
make: *** [all-gcc] Error 2[/code:3d04cbmg]
이런 에러를 내는군요. 제가 64비트 머신을 사용하기 때문에 생긴 에러일까요 ?

암튼, AMD64용 우분투 9.10에서 f77 (혹은 gcc-3.4)를 깔 수 있는 쉬운 방법을 알고 싶습니다.

해결했습니다,

아래의 링크에 아주 쉬운 방법이 있었군요 ^^

http://0x5f.blogspot.com/2009/10/instal ... aunty.html

위 링크대로 해 보니 아주 잘 됩니다.