Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

anoopmj

macrumors member
Original poster
Oct 31, 2006
32
0
Hi Everyone,

I am trying to install G95 on my macbook to run fortran. Its turning out to be a nightmare so far. I have downloaded the binary from the website (for x86 OSX), but from then on, installing it seems difficult.

If I try the command they mention on the manual, it says that I do not have permission to access the usr/bin directory. Then if I try to sudo the commands, it says that the directory urs/bin/g95 is not there. I used sudo to create one and everything seemed to work - except, it does not recognise the g95 command! I even tried to install it in usr/local/bin using the same procedure.

Is there anything I am missing?
 
/usr/local/bin does not exist by default. The system knows about it, but it isn't needed for anything in a bare install, so the installer never creates it.

Try these commands, then try the install in /usr/local/bin with sudo:

Code:
sudo mkdir /usr/local
cd /usr/local
sudo mkdir bin sbin

Also, if you will be doing unix-y stuff with your Mac, you may want to install a package manager like Fink or MacPorts. (I prefer Fink, although it seems G95 isn't in the repos, not even as a source)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.