[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
parallel 3.1.3 does not install on octave 5.1.0 on osx 10.14.6 in brew
From: |
sshah |
Subject: |
parallel 3.1.3 does not install on octave 5.1.0 on osx 10.14.6 in brew |
Date: |
Wed, 18 Sep 2019 19:30:28 -0500 (CDT) |
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
- parallel 3.1.3 does not install on octave 5.1.0 on osx 10.14.6 in brew,
sshah <=