help-octave
[Top][All Lists]
Advanced

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

Re: parallel-4.0.0 on Octave 4.2.2


From: Olaf Till
Subject: Re: parallel-4.0.0 on Octave 4.2.2
Date: Mon, 6 Jul 2020 16:58:21 +0200
User-agent: Mutt/1.10.1 (2018-07-13)

On Mon, Jun 15, 2020 at 02:54:26PM +0300, Evangelos Rozos wrote:
> I am trying to install package in the following system
> 
> GNU Octave Version: 4.2.2
> GNU Octave License: GNU General Public License
> Operating System: Linux 4.15.0-101-generic #102-Ubuntu SMP Mon May 11
> 10:07:26 UTC 2020 x86_64
> 
> using pkg install -verbose -forge parallel.
> 
> The installation fails with
> 
> CXX="g++" CXXFLAGS="-g -O2
> -fdebug-prefix-map=/build/octave-DtqyIg/octave-4.2.2=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated"
> /usr/bin/mkoctfile --verbose -c p-control.cc
> g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
> -I/usr/include/octave-4.2.2/octave/.. -I/usr/include/octave-4.2.2/octave
> -I/usr/include/hdf5/serial -I/usr/include/mpi  -pthread -fopenmp -g -O2
> -fdebug-prefix-map=/build/octave-DtqyIg/octave-4.2.2=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated   
> p-control.cc -o p-control.o
> p-control.cc: In member function ‘octave_value
> octave_parallel::control::get_next_result(octave_value&)’:
> p-control.cc:537:13: error: ‘class octave_value’ has no member named
> ‘isinteger’
>      if (res.isinteger ()
>              ^~~~~~~~~
> Makefile:199: recipe for target 'p-control.o' failed
> make: *** [p-control.o] Error 1
> make: Leaving directory '/tmp/oct-fC0PHc/parallel-4.0.0/src'

Sorry for the long delay... The above is a bug due to an oversight,
normally isinteger() should be replaced by a macro which is configured
according to what is suitable for the present octave version.

I had no running Octave-4.2 for testing when I released the package,
only later versions...

A fix is pushed, but there is no new release yet. What you could do is
to download the package code (mercurial has to be installed):

hg clone http://hg.code.sf.net/p/octave/parallel parallel

, cd into directory 'parallel' and give the shell command 'make dist'
there. Than cd into directory target, where you should find the
tarball 'parallel-4.0.0.tar.gz', which you can install from within
Octave with 'pkg install parallel-4.0.0.tar.gz'.

Olaf

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

Attachment: signature.asc
Description: PGP signature


reply via email to

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