[Top][All Lists]

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

[Octave-bug-tracker] [bug #56477] Error when installing parallel from fo

From: Aditya Ardiya
Subject: [Octave-bug-tracker] [bug #56477] Error when installing parallel from forge: 'command_editor', 'octave_env' has not been declared
Date: Wed, 12 Jun 2019 03:28:57 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0


                 Summary: Error when installing parallel from forge:
'command_editor', 'octave_env' has not been declared
                 Project: GNU Octave
            Submitted by: ardiya
            Submitted on: Wed 12 Jun 2019 07:28:55 AM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Installation Failure
                  Status: None
             Assigned to: None
         Originator Name: Aditya Ardiya
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: GNU/Linux



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
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
   eval_string (const std::string&, bool silent, int& parse_status, int
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
CXX="g++" CXXFLAGS="-g -O2  " /usr/local/bin/mkoctfile-5.1.0 -c
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


Reply to this item at:


  Message sent via Savannah

reply via email to

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