[ncl-install] NCARG install problem on Mac OSX (10.6.2) by gfortran4.5.0

Satomura, T. satomura at kugi.kyoto-u.ac.jp
Thu Feb 11 10:22:01 MST 2010


Dear all,

I'm trying to install NCARG from source on my MacBookPro (OS 10.6.2, Core 2 Duo). The compilers are gcc 4.5.0 and gfortran 4.5.0, of which binary code is got from the sourceforge site. But the make command says:


gfortran -fPIC -fno-range-check  -O    -c -o sfskbk.o sfskbk.f
gfortran -fPIC -fno-range-check  -O    -c -o sftbkd.o sftbkd.f
gfortran -fPIC -fno-range-check  -O    -o fontc cfaamn.o  cfrdln.o  cfwrit.o  ffgttk.o  ffinfo.o
 ffphol.o  ffppkt.o  ffprcf.o ffprsa.o  fftbkd.o  fftkin.o  sffndc.o  sfgtin.o  sfgtkw.o  sfprc
f.o  sfskbk.o sftbkd.o -L../../.././common/src/libncarg_c -lncarg_c -L/usr/local/lib -lgfortran 
-L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/lib    
       Processing fontcap font1
make[4]: *** [font1] Segmentation fault
Making ./common/src/graphcap
gfortran -fPIC -fno-range-check  -O   -c capchg.f
gfortran -fPIC -fno-range-check  -O    -c -o binput.o binput.f
gfortran -fPIC -fno-range-check  -O    -c -o bndcls.o bndcls.f
gfortran -fPIC -fno-range-check  -O   -c capast.f
capast.f:65.15:

    4 'Z','[','\\',']','^','_','`','a','b','c','d','e','f','g','h',    
              1
Warning: initialization string truncated to match variable at (1)
gfortran -fPIC -fno-range-check  -O    -c -o capdat.o capdat.f
gfortran -fPIC -fno-range-check  -O    -c -o cappar.o cappar.f


and, executables compiled by ncargf77 stop by segmentation faults.

Precompiled binary in NCAR site is build by old gcc and does not compatible with my gcc 4.5.0, thus I cannot use it.

Do you have an idea to solve this problem?

Any information is welcome.

Regards,

Satomura


More information about the ncl-install mailing list