parallel 3.1.3 does not install on octave 5.1.0 on osx 10.14.6 in brew

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

parallel 3.1.3 does not install on octave 5.1.0 on osx 10.14.6 in brew

sshah
I am running octave 5.1.0_6 on Mac OS 10.14.6 (Mojave). I use updated
homebrew.  It fails to install parallel from forge.  

Struct 1.0.16 has been installed and runs fine.

octave:3> pkg install -forge parallel

(warnings no copied)

pserver.cc:172:13: error: use of undeclared identifier 'command_editor'; did
you mean 'octave::command_editor'?
            command_editor::increment_current_command_number ();
            ^~~~~~~~~~~~~~
            octave::command_editor
/usr/local/Cellar/octave/5.1.0_6/include/octave-5.1.0/octave/../octave/cmd-edit.h:39:3:
note:
      'octave::command_editor' declared here
  command_editor
  ^
pconnect.cc:536:35: error: use of undeclared identifier 'octave_env'
          std::string directory = octave_env::get_current_directory ();
                                  ^
pserver.cc:1119:23: error: use of undeclared identifier 'octave_env'
          int cd_ok = octave_env::chdir (directory.c_str ());
                      ^
pserver.cc:1122:13: error: use of undeclared identifier 'octave_env'
            octave_env::chdir ("/tmp");
            ^
1 error generated.
1 warning and 3 errors generated.
make: *** [pconnect.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [pserver.o] Error 1

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

-----
-----

A few other data points.  Rebuilding octave 5.1.0_6 from source using brew
does not help.

On Mac OS 10.13 (High Sierra)  parallel package works fine in octave 5.1.0_6
(Homebrew).

Downloading mercurial development version from sourceforge.net and building
a tarball also fails:

make check
...
   

clang++ -std=gnu++11 -pthread -Wall -o octave-pserver octave-pserver.cc
octave-pserver.cc:25:10: fatal error: 'error.h' file not found
#include <error.h>

Replacing the offending line 25 with

#include <mach/error.h>  

did not work either.  Same error message as before.


Thanks for any help in advance.










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


Reply | Threaded
Open this post in threaded view
|

Re: parallel 3.1.3 does not install on octave 5.1.0 on osx 10.14.6 in brew

Olaf Till-2
On Wed, Sep 18, 2019 at 07:30:28PM -0500, sshah wrote:
> I am running octave 5.1.0_6 on Mac OS 10.14.6 (Mojave). I use updated
> homebrew.  It fails to install parallel from forge.  

The mere build problems should have been fixed in the repository. But
there is no release yet with these changes. The reason is that there
are other problems, which should be solved before making a further
release, but which require massive changes. I'm currently working on
them.

Olaf

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



signature.asc (849 bytes) Download Attachment