bugGNU Octave - Bugs: bug #56477, [octave forge] (parallel)...


bug #56477: [octave forge] (parallel) installation error 'command_editor', 'octave_env' has not been declared

Submitted by:  Aditya Ardiya <ardiya>
Submitted on:  Wed 12 Jun 2019 07:28:55 AM UTC  
Category:  Octave Forge Package Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Installation Failure
Status:  Confirmed Assigned to:  Olaf Till <i7tiol>
Originator Name:  Aditya Ardiya Open/Closed:  Open
Release:  5.1.0 Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 12 Jun 2019 02:45:10 PM UTC, comment #1:

I do face those very same errors.  The package maintainer Olaf mentioned about one month ago [1], that the parallel package "needs a general overhaul" to work with Octave 5.1.0.  Maybe you can follow Olafs work in the development repository [2].

[1] https://lists.gnu.org/archive/html/help-octave/2019-04/msg00136.html
[2] https://sourceforge.net/p/octave/parallel/ci/default/tree/

Kai Torben Ohlhus <siko1056>
Project Member
Wed 12 Jun 2019 07:28:55 AM UTC, original submission:

I am using Octave 5.1.0 and I receive the error below when running pkg install -forge parallel

octave:1> pkg install -forge  struct
For information about changes from previous versions of the struct package, run 'news struct'.
octave:2> pkg install -forge parallel
configure: WARNING: TLS disabled since gnutls/gnutls.h not found or not compilable
pconnect.cc: In function ‘octave_value_list Fpconnect(const octave_value_list&, int)’:
pconnect.cc:536:35: error: ‘octave_env’ has not been declared
           std::string directory = octave_env::get_current_directory ();
In file included from parallel-gnutls.h:135:0,
                 from pserver.cc:49:
pserver.cc: In function ‘void reval_loop(octave_parallel_stream&)’:
pserver.cc:142:55: warning: ‘octave_value_list octave::eval_string(const string&, bool, int&, int)’ is deprecated: [5]: use 'octave::interpreter::eval_string' instead [-Wdeprecated-declarations]
       SET_ERR (OCTAVE__EVAL_STRING (s, false, p_err, 0), err);
error-helpers.h:116:9: note: in definition of macro ‘SET_ERR’
         code ; \
In file included from oct-alt-includes.h:33:0,
                 from config.h:258,
                 from pserver.cc:26:
/usr/local/include/octave-5.1.0/octave/../octave/parse.h:589:3: note: declared here
   eval_string (const std::string&, bool silent, int& parse_status, int nargout);
pserver.cc:172:13: error: ‘command_editor’ has not been declared
             command_editor::increment_current_command_number ();
pserver.cc: In function ‘octave_value_list Fpserver(const octave_value_list&, int)’:
pserver.cc:1119:23: error: ‘octave_env’ has not been declared
           int cd_ok = octave_env::chdir (directory.c_str ());
pserver.cc:1122:13: error: ‘octave_env’ has not been declared
             octave_env::chdir ("/tmp");
make: *** [pconnect.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [pserver.o] Error 1
make: Entering directory '/tmp/oct-MYzJWb/parallel-3.1.3/src'
CXX="g++" CXXFLAGS="-g -O2  " /usr/local/bin/mkoctfile-5.1.0 -c pconnect.cc
CXX="g++" CXXFLAGS="-g -O2  " /usr/local/bin/mkoctfile-5.1.0 -c pserver.cc
CXX="g++" CXXFLAGS="-g -O2  " /usr/local/bin/mkoctfile-5.1.0 -c sclose.cc
CXX="g++" CXXFLAGS="-g -O2  " /usr/local/bin/mkoctfile-5.1.0 -c reval.cc
CXX="g++" CXXFLAGS="-g -O2  " /usr/local/bin/mkoctfile-5.1.0 -c precv.cc
CXX="g++" CXXFLAGS="-g -O2  " /usr/local/bin/mkoctfile-5.1.0 -c psend.cc
CXX="g++" CXXFLAGS="-g -O2  " /usr/local/bin/mkoctfile-5.1.0 -c select_sockets.cc
CXX="g++" CXXFLAGS="-g -O2  " /usr/local/bin/mkoctfile-5.1.0 -c network_get_info.cc
Makefile:150: recipe for target 'pconnect.o' failed
Makefile:150: recipe for target 'pserver.o' failed
make: Leaving directory '/tmp/oct-MYzJWb/parallel-3.1.3/src'

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

Aditya Ardiya <ardiya>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by siko1056 (Package maintainer.)
  • -email is unavailable- added by siko1056 (Updated the item)
  • -email is unavailable- added by ardiya (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-06-12 siko1056 Carbon-Copy- => Added i7tiol
    2019-06-12 siko1056 Severity3 - Normal => 2 - Minor
        StatusNone => Confirmed
        Assigned toNone => i7tiol
    2019-06-12 siko1056 SummaryError when installing parallel from forge: 'command_editor', 'octave_env' has not been declared => [octave forge] (parallel) installation error 'command_editor', 'octave_env' has not been declared

    Back to the top

    Powered by Savane 3.4