On Tue, Jun 05, 2012 at 08:40:03PM +1200, Donald Derrick wrote:
> Hi all,
> 
> This is my first post to the octave list. 
> 
> After a whole day of struggling, I finally got the latest octave version
> (2.6.2) to compile and install on my mac.
> 
> Now I'm trying to install extra packages so I can get a program to run.
> 
> Unfortunately, I'm totally stalled at optim-1.1.0.tar.gz
> 
> with this error:
> 
> octave:9> pkg install optim-1.1.0.tar.gz
> mkoctfile: stripping disabled on this platform
> mkoctfile: unrecognized argument -framework
> make: *** [__bfgsmin.oct] Error 1
> 'make' returned the following error: /usr/local/bin/mkoctfile-3.6.2 -s
> __bfgsmin.cc  -framework vecLib
> error: called from `pkg>configure_make' in file 
> /usr/local/share/octave/3.6.2/m
> /pkg/pkg.m near line 1385, column 9
> error: called from:
> error:   /usr/local/share/octave/3.6.2/m/pkg/pkg.m at line 827, column 5
> error:   /usr/local/share/octave/3.6.2/m/pkg/pkg.m at line 383, column 9
> 
> 
> This one I cannot figure out.
> 
> DD

Thats a bug we have to fix. If you don't want to wait for the fix, you
can do:

tar -xzf optim-1.1.0.tar.gz

go into directory optim-1.1.0/src

edit Makefile: remove the -s in the line:
        $(MKOCTFILE) -s $< $(LAPACK_LIBS) $(BLAS_LIBS)

tar -czf optim-1.1.0.tar.gz optim-1.1.0

and try installing again with:
octave:..> pkg install optim-1.1.0.tar.gz

as above.

Olaf

-- 
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
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