On Thu, Feb 11, 2010 at 10:25:23AM +0100, Michael Creel wrote:
> On Wed, Feb 10, 2010 at 11:46 PM, Carlo de Falco
> <carlo.defa...@gmail.com> wrote:
> >
> > On 10 Feb 2010, at 21:00, Michael Creel wrote:
> >
> >> True. I put the functions where they are back in the days when o-f was
> >> a monolithic package, so everything got released all at once. I'm
> >> concerned that with the new setup, a package like optim may not get
> >> released for long periods of time. I can't take on the job..
> >> Cheers, Michael
> >
> > If you make changes to some functions in the optim package and you want them
> > to be avialable
> > you can just make a release of the optim package and post it.
> > I'm sure the optim package maintainer won't complain and it's not a hard
> > job, it's as easy as:
> >
> > svn export optim
> > tar cvzf optim.tar.gz
> > octave
> > pkg install optim.tar.gz
> > generate_package_html ("optim","optim-html","octave-forge")
> > exit
> > tar cvzf optim-html.tar.gz optim-html
> >
> > the effort on your side is a total of 7 commands
> > the benefit is that anyone who's interested in optimization but
> > doesn't know a thing about econometrics can take benefit of bfgsmin and
> > samin
> >
> > c.
> >
> 
> Well, that doesn't sound too bad. However,  it doesn't seem to be
> quite so simple in practice:
> 
> octave:1> pkg install optim.tar.gz
> error: the following dependencies where unsatisfied:
>    optim needs miscellaneous >= 1.0.0
> octave:1> exit
> 
> mich...@yosemite:~/Desktop/of/octave/trunk/octave-forge/main$ tar cfz
> miscellaneous.tar.gz miscellaneous/
> mich...@yosemite:~/Desktop/of/octave/trunk/octave-forge/main$ octave
> GNU Octave, version 3.2.2
> Copyright (C) 2009 John W. Eaton and others.
> This is free software; see the source code for copying conditions.
> There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
> FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.
> 
> Octave was configured for "x86_64-pc-linux-gnu".
> 
> Additional information about Octave is available at http://www.octave.org.
> 
> Please contribute if you find this software useful.
> For more information, visit http://www.octave.org/help-wanted.html
> 
> Report bugs to <b...@octave.org> (but first, please read
> http://www.octave.org/bugs.html to learn how to write a helpful report).
> 
> For information about changes from previous versions, type `news'.
> 
> octave:1> pkg install miscellaneous.tar.gz
> make: waitbar.cc: Command not found
> make: *** [waitbar.oct] Error 127
> 'make' returned the following error: make: Entering directory
> `/tmp/oct-uxD2Vi/miscellaneous/src'
> waitbar.cc
> make: Leaving directory `/tmp/oct-uxD2Vi/miscellaneous/src'
> error: called from `pkg>configure_make' in file
> /usr/share/octave/3.2.2/m/pkg/pkg.m near line 1253, column 2
> error: called from:
> error:   /usr/share/octave/3.2.2/m/pkg/pkg.m at line 714, column 5
> error:   /usr/share/octave/3.2.2/m/pkg/pkg.m at line 287, column 7
> octave:1>
> 
> So it doesn't seem possible to release optim at the moment.

Since optim says it needs miscellaneous >= 1.0.0, there should be no
need to compile miscellaneous from current SVN. miscellaneous-1.0.9 is
even released as a package. Current optim compiles for me with
miscellaneous-1.0.7 installed.

Regards, Olaf

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to