I've just tried Fink but the website isn't working. Looks like they've moved their website to http://fink.thetis.ig42.org/. Apperantly there's no pkg installer for this either! Here's the download for the binary.
I gave up here and found that MacPorts have an installer.
Installed MacPorts alright, but when I tried to run the command:
sudo port install octave-devel +atlas+docs
It came up with the error not knowing what the command "port" was. I had to type in:
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
One prerequisite is to have xcode installed.
Having done all this, still came up with an error:
Error: Port octave-devel not found
I think it's because we have a proxy server which looks like complicated to add to MacPorts!
Oh well, might just try Matlab! (student version £55!)
....... a little time later......
So I'm now trying at home on OS X 10.7.5
Installed MacPorts
trying to install octave but comes up with:
Error: Port octave not foundTurns out you have to selfupdate MacPort in order for it to sync something or other. Type:
sudo port -v selfupdateThis then came up with the error:
rsync: failed to connect to rsync.macports.org: Connection refused (61)
rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
Exit code: 10
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failedDoh! Just did a search and found this. Turns out I have PeerGuardian running. Turned it off and ran selfupdate again which worked fine. So, next I tried installing octave again:
Doh! I read this article which tells how other people are having the same trouble. Looks like one of the sync files on a server must be wrong. selfupdating port at some point will fix it;sudo port install octave---> Computing dependencies for octaveError: Dependency 'atlas' not found.
sudo port -v selfupdateWhat do you know? It worked!!
sudo port install octave +accelerate +gcc45
No comments:
Post a Comment