Normally fink's gfortran shouldn't get overwritten (unless you switch
versions within Fink), but let's verify that with the following command:
/sw/bin/gfortran --version
Also, let's verify the PATH which is being used in your build:
fink dumpinfo -ePATH ccp4
On 1/9/13 7:18 PM, Shih-Kai Chou wrote:
> Hi,
>
> which gfortran
>
> /sw/bin/gfortran
>
>
> Actually, I have installed another fortran compiler!
> (I think that is the newest fortran compiler called gfortran, so I do it.)
>
> But I forgot which directory is the one I installed?
>
> It looks like the new gfortran I installed replaced the fink one!
>
>
>
> Thanks,
>
> Shih-Kai Chou
>
>
>
>
>
>
> On Thu, Jan 10, 2013 at 7:38 AM, Alexander Hansen
> <[email protected] <mailto:[email protected]>> wrote:
>
> On 1/9/13 9:41 AM, Shih-Kai Chou wrote:
> > Hi,
> >
> > I use :
> >
> > fink selfupdate
> > fink update-all
> >
> >
> > for ccp4 :
> >
> > ..........
> >
> > wall clock time: 4 minutes 9.43 seconds (249.43 seconds total)
> > cd exe
> > cp phaser $CCP4/bin/.
> >
> > cd $CCP4
> >
> > # rapper manual install
> > if [[ -x src/rapper/bin/rapper ]]; then
> > cp src/rapper/bin/rapper $CCP4/bin/.
> > cp src/rapper/lib/libcord.1.0.3.dylib
> $CCP4/lib/libcord.1.dylib
> > cp src/rapper/lib/libgc.1.0.3.dylib
> $CCP4/lib/libgc.1.dylib
> > cp src/rapper/lib/libxml2.2.dylib
> $CCP4/lib/libxml2.2.dylib
> > /bin/rm -rf src/rapper/lib/*.dylib
> > mkdir -p share/rapper
> > cp src/rapper/LOOP/params.xml share/rapper/.
> > cp -R src/rapper/data share/rapper/.
> > fi
> >
> >
> > * export DYLD_LIBRARY_PATH=$CLIB*
> > * cd $CLIB/libccp4*
> > * gfortran -m64 -fno-second-underscore -O2 -fno-second-underscore
> > -L$CLIB -o data/fontpack data/fontpack.o -lccp4f -lccp4c*
> > * cd data*
> > * ./fontpack*
> > *At line 12 of file data/fontpack.f (unit = 10, file = 'fort.10')*
> > *Fortran runtime error: End of file*
> >
> > Backtrace for this error:
> > + 0 libgfortran.3.dylib 0x00000001029d1e93
> > _gfortrani_show_backtrace + 35
>
> <snip>
>
> > ..........
> >
> >
> > Package manager version: 0.34.4
> > Distribution version: selfupdate-rsync Wed Jan 9 23:24:23 2013, 10.6,
> > x86_64
> > Trees: local/main stable/main stable/crypto unstable/main
> unstable/crypto
> > Xcode.app: 3.2.6
> > Xcode command-line tools: 3.2.6
> > ccp4-6.3.0-5 is set to build with only one job.
> >
> >
> >
> > Thanks,
> >
> > Shih-Kai Chou
> >
> >
>
> What do you get from the following command:
>
> which gfortran
>
> --
> Alexander Hansen, Ph.D.
> Fink User Liaison
> My package updates: http://finkakh.wordpress.com/
>
>
>
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users