help-octave
[Top][All Lists]
Advanced

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

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


From: Maria Jose Casas Serrano
Subject: Re: octave 5.2.0 parallel package install -forge fails on mac os
Date: Fri, 17 Apr 2020 11:03:24 +0200

Hi, 

Olaf, I’ve been looking for information about your comment without any success…. (I copied and pasted it manually while executing. You can see the output below)

“I can't say why your pkg() installation doesn't print out the error messages, as it normally does…”
 

Yesterday I tried several options. I uninstalled all the packages (matgeom, control, struct) to start from scratch but now control pkg cannot be installed either. I’ll open another thread for that in case it’s a problem with incompatibilities of version.

This is my octave path (in case this shows that something is missing):

/Users/mariajcasas/Workspace/plants/  (plus all the subfolders which are omitted here for simplification)
/usr/local/Cellar/octave/5.2.0_4/share/octave/site/m
/usr/local/Cellar/octave/5.2.0_4/share/octave/site/m/startup
/usr/local/Cellar/octave/5.2.0_4/lib/octave/5.2.0/oct/x86_64-apple-darwin19.3.0
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/audio
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/deprecated
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/elfun
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/general
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/geometry
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/gui
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/help
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/image
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/io
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/java
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/legacy
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/linear-algebra
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/miscellaneous
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/ode
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/optimization
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/path
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/pkg
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/plot
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/plot/appearance
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/plot/draw
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/plot/util
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/polynomial
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/prefs
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/profiler
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/set
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/signal
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/sparse
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/specfun
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/special-matrix
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/startup
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/statistics
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/strings
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/testfun
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/m/time
/usr/local/Cellar/octave/5.2.0_4/share/octave/5.2.0/data
/Users/mariajcasas/octave/struct-1.0.16 ( plus the subfolders of this package…)
/Users/mariajcasas/octave/slf4o-0.2.0-SNAPSHOT ( plus the subfolders of this package…)
/Users/mariajcasas/octave/matgeom-1.2.2. ( plus the subfolders of this package…)


These are the packages already installed:

Package Name  | Version        | Installation directory
--------------+------------------------+-----------------------
matgeom *|                     1.2.2 | /Users/mariajcasas/octave/matgeom-1.2.2
       slf4o *| 0.2.0-SNAPSHOT | /Users/mariajcasas/octave/slf4o-0.2.0-SNAPSHOT
      struct *|                    1.0.16 | /Users/mariajcasas/octave/struct-1.0.16


And this is the output of the parallel package installation:

octave:3> pkg install -verbose -forge parallel
mkdir (/var/folders/0r/q6jp7b890bz3cd9tsslgtsm00000gn/T/oct-UyhXQT)
untar (/Users/mariajcasas/Workspace/plants/parallel-3.1.3.tar.gz, /var/folders/0r/q6jp7b890bz3cd9tsslgtsm00000gn/T/oct-UyhXQT)
checking for mkoctfile... /usr/local/Cellar/octave/5.2.0_4/bin/mkoctfile-5.2.0 --verbose
checking for octave-config... /usr/local/Cellar/octave/5.2.0_4/bin/octave-config-5.2.0
checking for a sed that does not truncate output... /usr/bin/sed
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ -std=gnu++11 accepts -g... yes
checking for clang++ -std=gnu++11 option to enable C++11 features... none needed
checking how to run the C++ preprocessor... clang++ -std=gnu++11 -E
checking for gcc... clang
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking gnutls/gnutls.h usability... no
checking gnutls/gnutls.h presence... no
checking for gnutls/gnutls.h... no
configure: WARNING: TLS disabled since gnutls/gnutls.h not found or not compilable
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for socket... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking sys/malloc.h usability... yes
checking sys/malloc.h presence... yes
checking for sys/malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stdio_ext.h usability... no
checking stdio_ext.h presence... no
checking for stdio_ext.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for int32_t... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint32_t... yes
checking for error_at_line... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for memset... yes
checking for mkdir... yes
checking for modf... yes
checking for select... yes
checking for strchr... yes
checking for strdup... yes
checking for uname... yes
checking for getpass... yes
checking octave/interpreter.h usability... yes
checking octave/interpreter.h presence... yes
checking for octave/interpreter.h... yes
checking   octave_execution_exception or octave::execution_exception... octave::execution_exception
checking   file_ops or octave::sys::file_ops... octave::sys::file_ops
checking   octave::application or octave::interpreter... octave::interpreter
checking   symbol_table::assign or octave::interpreter::the_interpreter () -> get_symbol_table ().assign... octave::interpreter::the_interpreter () -> get_symbol_table ().assign
checking   symbol_table::is_global or octave::interpreter::the_interpreter () -> get_current_scope ().is_global... octave::interpreter::the_interpreter () -> get_current_scope ().is_global
checking   oct_mach_info or octave::mach_info...   oct_mach_info
checking   octave_stream_list::get_file_number or octave::interpreter::the_interpreter () -> get_stream_list ().get_file_number... 
checking   octave_stream_list::lookup or octave::interpreter::the_interpreter () -> get_stream_list ().lookup... octave::interpreter::the_interpreter () -> get_stream_list ().lookup
checking   octave_child_list:: or octave::interpreter::the_interpreter () -> get_child_list ().... octave::interpreter::the_interpreter () -> get_child_list ().
checking   octave_call_stack::goto_caller_frame or octave::interpreter::the_interpreter () -> get_call_stack ().goto_caller_frame... octave::interpreter::the_interpreter () -> get_call_stack ().goto_caller_frame
checking   unwind_protect or octave::unwind_protect... octave::unwind_protect
checking   is_empty or isempty... isempty
checking   is_real_type or isreal... isreal
checking   is_vector or isvector... isvector
checking   octave_stream or octave::stream... octave::stream
checking   octave_refcount or octave::refcount... octave::refcount
checking   feval or octave::feval... octave::feval
checking   eval_string or octave::eval_string... octave::eval_string
checking   file_stat or octave::sys::file_stat... octave::sys::file_stat
checking   add_fcn (octave_call_stack::pop) or add_method (octave::interpreter::the_interpreter () -> get_call_stack (), &octave::call_stack::pop)... add_method (octave::interpreter::the_interpreter () -> get_call_stack (), &octave::call_stack::pop)
checking for octave::config::octave_home ()... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
CXX="clang++ -std=gnu++11" CXXFLAGS="-g -O2  " /usr/local/Cellar/octave/5.2.0_4/bin/mkoctfile-5.2.0 --verbose -c pconnect.cc
CXX="clang++ -std=gnu++11" CXXFLAGS="-g -O2  " /usr/local/Cellar/octave/5.2.0_4/bin/mkoctfile-5.2.0 --verbose -c pserver.cc
CXX="clang++ -std=gnu++11" CXXFLAGS="-g -O2  " /usr/local/Cellar/octave/5.2.0_4/bin/mkoctfile-5.2.0 --verbose -c sclose.cc
CXX="clang++ -std=gnu++11" CXXFLAGS="-g -O2  " /usr/local/Cellar/octave/5.2.0_4/bin/mkoctfile-5.2.0 --verbose -c reval.cc
clang++ -std=gnu++11 -c -I/usr/local/opt/qt/include -fPIC -I/usr/local/Cellar/octave/5.2.0_4/include/octave-5.2.0/octave/.. -I/usr/local/Cellar/octave/5.2.0_4/include/octave-5.2.0/octave -I/usr/local/Cellar/octave/5.2.0_4/include  -D_THREAD_SAFE -pthread -g -O2      pconnect.cc -o pconnect.o
clang++ -std=gnu++11 -c -I/usr/local/opt/qt/include -fPIC -I/usr/local/Cellar/octave/5.2.0_4/include/octave-5.2.0/octave/.. -I/usr/local/Cellar/octave/5.2.0_4/include/octave-5.2.0/octave -I/usr/local/Cellar/octave/5.2.0_4/include  -D_THREAD_SAFE -pthread -g -O2      sclose.cc -o sclose.o
clang++ -std=gnu++11 -c -I/usr/local/opt/qt/include -fPIC -I/usr/local/Cellar/octave/5.2.0_4/include/octave-5.2.0/octave/.. -I/usr/local/Cellar/octave/5.2.0_4/include/octave-5.2.0/octave -I/usr/local/Cellar/octave/5.2.0_4/include  -D_THREAD_SAFE -pthread -g -O2      pserver.cc -o pserver.o
clang++ -std=gnu++11 -c -I/usr/local/opt/qt/include -fPIC -I/usr/local/Cellar/octave/5.2.0_4/include/octave-5.2.0/octave/.. -I/usr/local/Cellar/octave/5.2.0_4/include/octave-5.2.0/octave -I/usr/local/Cellar/octave/5.2.0_4/include  -D_THREAD_SAFE -pthread -g -O2      reval.cc -o reval.o
pserver.cc:142:16: warning: 'eval_string' is deprecated [-Wdeprecated-declarations]
      SET_ERR (OCTAVE__EVAL_STRING (s, false, p_err, 0), err);
               ^
./config.h:150:37: note: expanded from macro 'OCTAVE__EVAL_STRING'
#define OCTAVE__EVAL_STRING octave::eval_string
                                    ^
/usr/local/Cellar/octave/5.2.0_4/include/octave-5.2.0/octave/../octave/parse.h:587:3: note: 'eval_string' has been explicitly marked deprecated here
  OCTAVE_DEPRECATED (5, "use 'octave::interpreter::eval_string' instead")
  ^
/usr/local/Cellar/octave/5.2.0_4/include/octave-5.2.0/octave/octave-config.h:73:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
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.2.0_4/include/octave-5.2.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.
make: *** [pconnect.o] Error 1
make: *** Waiting for unfinished jobs....
1 warning and 3 errors generated.
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 190 column 7
    pkg at line 441 column 9


Any clue would be appreciated. I’m stuck here.

Thanks

Maria J


On 14 Apr 2020, at 20:05, Olaf Till <address@hidden> wrote:

On Tue, Apr 14, 2020 at 06:42:46PM +0200, Maria Jose Casas Serrano wrote:
Getting some warnings and errors. See the attached diary file.

All I can see from the attached file is that there was some error,
probably in compiling fsave.cc, but not which error. I can't say why
your pkg() installation doesn't print out the error messages, as it
normally does...

Olaf

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


reply via email to

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