From: Alexander H. <ale...@gm...> - 2011-02-24 19:28:38
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2/24/11 1:47 PM, Bucheli Daniel wrote: > Hi, > I have a mac OS X Version 10.6.4. I want to compile a program written in > fortran. Since xcode doesn't have such a compiler I downloaded Fink > (fink-0.29.16) and Fink commander 0.5.5.dmg (where I set FinkCommander's > Perl path to /usr/bin/perl5.8.9, as it was said on the website). > Now, in Fink commander I have the following problems: > -if I want to install a package it doesn't work and I get (when I double > click on the package I want, here gimp): > No, that's gimp-print. > Error > The following could not be opened: > /sw/fink/dists/local/main/finkinfo/virtual/gimp-print.info > (I guess this is because I couldn't install it, right?) > No. It's because you don't install packages in Fink Commander by double clicking on them. That is supposed to open up the package description file. In this case, gimp-print is a virtual package, and has no such file. To install a package, select it, and use Source->Install. > -if I want to do a self-update I get: /n/nERROR: Self-repair failed. > Please be sure you are running FinkCommander from a directory and disk > you are authorized to modify (e.g., not a disk image). As above: are you running Fink Commander from its disk image? Or did you copy it somewhere else? > > How can I fix this, and do you know a good fortran compiler(I read about > g77 but when I searched for it in the Fink commander there were no results)? > > Thanks a whole lot, Daniel > > > g77 is only in the unstable tree for 10.6/32-bit. If you don't have unstable turned on, or if you're using 64-bit Fink, you won't see it. Otherwise, both gcc44 and gcc45 include the gfortran compiler. You might also go with the command line and run fink selfupdate-rsync fink install gcc45 - -- Alexander Hansen, Ph.D. Fink User Liaison -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1msU4ACgkQB8UpO3rKjQ9oQQCgoC+63LKG8WI/1b8j1s7moSqR XnEAoI41Inr3WwVfAjhJGqJT+N1sv2nJ =8/L5 -----END PGP SIGNATURE----- |