On 6/8/12 3:47 PM, Donald Derrick wrote: > I followed your advice and tried to reinstall octave using fink. > > Once again it failed to do what I needed. Basically, octave installs, but it > is impossible to properly load a package onto my mac (I also tried installing > an old version on Ubuntu and installing the packages on that - same issues). > > What I could really use is simple instructions on how to get packages onto > octave. > > In fink I tried the usual: > > pkg install {package name} - but this always fails in some strange way in fink > > (i.e. > > octave:1> pkg install -forge audio > ./configure: line 2903: /sw/bin/mkoctfile-3.6.2: No such file or directory > configure: error: Could not run /sw/bin/mkoctfile-3.6.2 > the configure script returned the following error: checking for gcc... oct-cc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether oct-cc accepts -g... yes > checking for oct-cc option to accept ISO C89... none needed > checking for mkoctfile... /sw/bin/mkoctfile-3.6.2 > error: called from `pkg>configure_make' in file > /sw/share/octave/3.6.2/m/pkg/pkg.m near line 1373, column 9 > error: called from: > error: /sw/share/octave/3.6.2/m/pkg/pkg.m at line 827, column 5 > error: /sw/share/octave/3.6.2/m/pkg/pkg.m at line 383, column 9 > ) > > And I tried installing them through fink with commands like > > fink install specfun-oct305 > > Which run, and install and compile packages, but those packages cannot be > found or used by octave. >
If you install an oct305 package, that's built for Octave-3.0.5. However, the "octave" package and executable points, by default, to the latest available version, which is Octave-3.6.2. You can run Octave-3.0.5 via: octave-3.0.5 and specfun should show up via "pkg list". > Obviously I'm doing something "wrong", but I just can't figure out what that > could possibly be. > > DD You didn't install octave362-dev, which contains the headers and other things you need to build packages with octave, including mkoctfile*. I should probably make that more clear in the internal documentation. And you can just use fink install audio-oct362 to install the audio package. This would have automatically installed octave362-dev for you. -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/2012/02/21/got-job/ ------------------------------------------------------------------------------ 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