help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems installing optim on OSX 10.9


From: Carnë Draug
Subject: Re: problems installing optim on OSX 10.9
Date: Thu, 10 Jul 2014 11:28:36 +0100

On 10 July 2014 10:48, Olaf Till <address@hidden> wrote:
> Hi Steven,
>
> Bens reply has possibly solved your problem, but for the record:
>
> On Wed, Jul 09, 2014 at 06:28:29PM -0700, sdorsher wrote:
>> Hi,
>>
>> I installed Octave using MacPorts on my MacBook, which runs OSX 10.9. None
>> of the packages seem to have installed with it. Now I am trying to figure
>> out how to install optim, which requires miscellaneous, which requires
>> general. It also requires struct.
>>
>> When I try to install struct via pkg install -forge struct at the octave
>> command line, I get the following error message.
>>
>> mkoctfile: stripping disabled on this platform
>> mkoctfile: stripping disabled on this platform
>> mkoctfile: stripping disabled on this platform
>> mkoctfile: stripping disabled on this platform
>
> This should be harmless.
>
>> For information about changes from previous versions of the struct package,
>> run 'news ("struct")'.
>>
>>
>> When I try to install general via pkg install -forge general at the octave
>> command line, I get the following error message.
>>
>> unpackfields.cc:92:39: error: no member named 'assign' in 'symbol_table'
>>                         symbol_table::assign (fld_names(i), map.content...
>>                         ~~~~~~~~~~~~~~^
>> unpackfields.cc:117:35: error: no member named 'assign' in 'symbol_table'
>>                     symbol_table::assign (fld_names(i), val);
>>                     ~~~~~~~~~~~~~~^
>> 2 errors generated.
>> make: *** [unpackfields.oct] Error 1
>> 'make' returned the following error: /opt/local/bin/mkoctfile-3.6.4 SHA1.cc
>> /opt/local/bin/mkoctfile-3.6.4 mark_for_deletion.cc
>> /opt/local/bin/mkoctfile-3.6.4 packfields.cc
>> /opt/local/bin/mkoctfile-3.6.4 unpackfields.cc
>> error: called from 'pkg>configure_make' in file
>> /opt/local/share/octave/3.6.4/m/pkg/pkg.m near line 1385, column 9
>> error: called from:
>> error:   /opt/local/share/octave/3.6.4/m/pkg/pkg.m at line 827, column 5
>> error:   /opt/local/share/octave/3.6.4/m/pkg/pkg.m at line 383, column 9
>
> There seems to have been a change in `general', which makes `general'
> actually depend on Octave-3.8... or later.
>
> (@Carnë:
> r12544
> * unpackfields.cc: symbol_table::varref() has been deprecated in Octave 3.8.
> Replaced with a call to symbol_table::asign(). ...)
>
> Current `optim' does not depend on `miscellaneous' anymore, but there
> is no release yet. I don't think you'll have Mercurial installed on
> OSX, but if you have, you can try:
>
> $  hg clone http://hg.code.sf.net/p/octave/optim octave-optim
> $  tar -czf optim-1.3.1.tar.gz octave-optim
> (start Octave)
> octave:1> pkg install optim-1.3.1.tar.gz
>
> We could probably also make an intermediate `optim' release now, if
> really necessary.

Can this problem be solved by:

1) the OP upgrade its Octave installation? or,
2) the OP install older versions of the general package, from the time
of Octave 3.6.X, i.e., general 1.3.2 [1]?

The explicit dependency on Octave 3.8 has already been fixed on the repository:

  changeset:   258:1d5b880cff78
  user:        carandraug
  date:        Fri Feb 07 12:09:53 2014 +0000
  files:       DESCRIPTION NEWS
  description:
  maint: update dependency on Octave version to 3.8.0 because of r12544.

  * DESCRIPTION: minimum Octave version is now Octave 3.8.0. Replacement for
  the deprecated symbol_table::varref() is symbol_table::assign() which has
  only been implemented in Octave 3.8.0. This change was done in r12544 so
  this dependency was present in the package version 1.3.4.
  * NEWS: reference to new dependency.

Carnë

[1] 
http://sourceforge.net/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]