octave 4.4.0 parallel package install -forge fails on mac os

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

octave 4.4.0 parallel package install -forge fails on mac os

sshah
Octave 4.4.0 was installed using homebrew on mac os 10.13.4.  As in the past,
octave packages needed to be re-installed.  Control 3.1.1, signal 1.4.0,
re-installed without errors (using -forge).

However, parallel package failed to install.

>>pkg install -forge parallel
configure: WARNING: TLS disabled since gnutls/gnutls.h not found or not
compilable
...
pserver.cc:402:10: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
  if (tp = fork ())
      ~~~^~~~~~~~~
pserver.cc:402:10: note: place parentheses around the assignment to silence
this warning
  if (tp = fork ())
         ^
      (           )
pserver.cc:402:10: note: use '==' to turn this assignment into an equality
comparison
  if (tp = fork ())
         ^
         ==
pserver.cc:555:18: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
          if (tp = fork ())
              ~~~^~~~~~~~~
pserver.cc:555:18: note: place parentheses around the assignment to silence
this warning
          if (tp = fork ())
                 ^
              (           )
pserver.cc:555:18: note: use '==' to turn this assignment into an equality
comparison
          if (tp = fork ())
                 ^
                 ==
pserver.cc:1112:32: error: no member named 'the_interpreter' in
'octave::application'
          octave::application::the_interpreter () -> interactive (false);
          ~~~~~~~~~~~~~~~~~~~~~^
pserver.cc:1118:11: error: use of undeclared identifier 'symbol_table'; did
you mean 'octave::symbol_table'?
          symbol_table::assign ("sockets", sockets);
          ^~~~~~~~~~~~
          octave::symbol_table
/usr/local/Cellar/octave/4.4.0/include/octave-4.4.0/octave/symtab.h:50:23:
note: 'octave::symbol_table' declared here
  class OCTINTERP_API symbol_table
                      ^
pserver.cc:1118:25: error: call to non-static member function without an
object argument
          symbol_table::assign ("sockets", sockets);
          ~~~~~~~~~~~~~~^~~~~~
pserver.cc:1140:7: error: use of undeclared identifier 'octave_child_list';
did you mean 'octave_value_list'?
      octave_child_list::insert (pid, pserver_child_event_handler);
      ^~~~~~~~~~~~~~~~~
      octave_value_list
/usr/local/Cellar/octave/4.4.0/include/octave-4.4.0/octave/../octave/ov-struct.h:41:7:
note: 'octave_value_list' declared here
class octave_value_list;
      ^
pserver.cc:1140:26: error: no member named 'insert' in 'octave_value_list'
      octave_child_list::insert (pid, pserver_child_event_handler);
      ~~~~~~~~~~~~~~~~~~~^
5 warnings and 5 errors generated.
make: *** [pserver.o] Error 1
make: *** Waiting for unfinished jobs....
3 warnings generated.
3 warnings generated.
3 warnings generated.
CXX="clang++ -std=gnu++11"
CXXFLAGS="-I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include
-I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin
-Wno-deprecated-declarations"
/usr/local/Cellar/octave/4.4.0/bin/mkoctfile-4.4.0 -c pconnect.cc
CXX="clang++ -std=gnu++11"
CXXFLAGS="-I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include
-I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin
-Wno-deprecated-declarations"
/usr/local/Cellar/octave/4.4.0/bin/mkoctfile-4.4.0 -c pserver.cc
CXX="clang++ -std=gnu++11"
CXXFLAGS="-I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include
-I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin
-Wno-deprecated-declarations"
/usr/local/Cellar/octave/4.4.0/bin/mkoctfile-4.4.0 -c sclose.cc
CXX="clang++ -std=gnu++11"
CXXFLAGS="-I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include
-I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin
-Wno-deprecated-declarations"
/usr/local/Cellar/octave/4.4.0/bin/mkoctfile-4.4.0 -c reval.cc

pkg: error running `make' for the parallel package.
error: called from
    configure_make at line 95 column 9
    install at line 184 column 7
    pkg at line 437 column 9

Any suggestions?

Thanks.



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Reply | Threaded
Open this post in threaded view
|

Re: octave 4.4.0 parallel package install -forge fails on mac os

Olaf Till-2
On Mon, May 07, 2018 at 09:49:09PM -0700, sshah wrote:

> Octave 4.4.0 was installed using homebrew on mac os 10.13.4.  As in the past,
> octave packages needed to be re-installed.  Control 3.1.1, signal 1.4.0,
> re-installed without errors (using -forge).
>
> However, parallel package failed to install.
>
> >>pkg install -forge parallel
> 5 warnings and 5 errors generated.
> make: *** [pserver.o] Error 1
> make: *** Waiting for unfinished jobs....
>
> pkg: error running `make' for the parallel package.
> error: called from
>     configure_make at line 95 column 9
>     install at line 184 column 7
>     pkg at line 437 column 9
>
> Any suggestions?
It is just that a new release must be made. I'll probably do this this
weekend.

Olaf

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



signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: octave 4.4.0 parallel package install -forge fails on mac os

sshah