Hi all.

My problem with installing octave on a mac had a lot to do with how long I've 
owned this machine's history.

I owned a mac back in the powerPC days, and copied over old files through 
upgrades and to another machine before I bought this machine and did yet more 
upgrades.  Some files dated to OS 10.4 and back to 2005.

The procedures below are seriously nuclear, but they are, from my experience, 
necessary when your computer has been around as long as mine
has.

(Also, I offer no promises that this procedure works, and less than none that 
it will have no consequences for other software.)

So, here goes:

1) MacPorts and Fink don't get along when it comes to octave - you most
certainly want to delete pretty much anything you ever installed through
MacPorts or DarwinPorts and reinstall it with fink.  The delete takes about 20
minutes or so.

sudo port -fp uninstall --follow-dependents installed
sudo rm -rf \
   /opt/local \
   /Applications/DarwinPorts \
   /Applications/MacPorts \
   /Library/LaunchDaemons/org.macports.* \
   /Library/Receipts/DarwinPorts*.pkg \
   /Library/Receipts/MacPorts*.pkg \
   /Library/StartupItems/DarwinPortsStartup \
   /Library/Tcl/darwinports1.0 \
   /Library/Tcl/macports1.0 \
   ~/.macports

2) Search for any old "octave" data and delete it - check these
folders or do a general search:

/usr/local/lib
/usr/local/libexec
/sw/lib

3) Install fink - this is pretty fast, maybe 10-20 minutes.

xcode-select -switch /path/to/Xcode.app/Contents/Developer
cd $HOME/Downloads
tar -xvf fink-0.32.6.tar.gz
cd fink-0.32.6
./bootstrap
/sw/bin/pathsetup.sh
fink selfupdate-rsync
fink index -f

4) install octave - this takes several hours.

fink install bundle-octave362 octave362-dev

Hope this is helpful,

cheers

DD
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to